OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud
ovh.Domain.getZoneDNSSec
Explore with Pulumi AI
Use this data source to retrieve information about a domain zone DNSSEC status.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const dnssec = ovh.Domain.getZoneDNSSec({
zoneName: "mysite.ovh",
});
import pulumi
import pulumi_ovh as ovh
dnssec = ovh.Domain.get_zone_dns_sec(zone_name="mysite.ovh")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/go/ovh/Domain"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Domain.GetZoneDNSSec(ctx, &domain.GetZoneDNSSecArgs{
ZoneName: "mysite.ovh",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var dnssec = Ovh.Domain.GetZoneDNSSec.Invoke(new()
{
ZoneName = "mysite.ovh",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Domain.DomainFunctions;
import com.pulumi.ovh.Domain.inputs.GetZoneDNSSecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var dnssec = DomainFunctions.getZoneDNSSec(GetZoneDNSSecArgs.builder()
.zoneName("mysite.ovh")
.build());
}
}
variables:
dnssec:
fn::invoke:
Function: ovh:Domain:getZoneDNSSec
Arguments:
zoneName: mysite.ovh
Using getZoneDNSSec
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZoneDNSSec(args: GetZoneDNSSecArgs, opts?: InvokeOptions): Promise<GetZoneDNSSecResult>
function getZoneDNSSecOutput(args: GetZoneDNSSecOutputArgs, opts?: InvokeOptions): Output<GetZoneDNSSecResult>
def get_zone_dns_sec(zone_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZoneDNSSecResult
def get_zone_dns_sec_output(zone_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZoneDNSSecResult]
func GetZoneDNSSec(ctx *Context, args *GetZoneDNSSecArgs, opts ...InvokeOption) (*GetZoneDNSSecResult, error)
func GetZoneDNSSecOutput(ctx *Context, args *GetZoneDNSSecOutputArgs, opts ...InvokeOption) GetZoneDNSSecResultOutput
> Note: This function is named GetZoneDNSSec
in the Go SDK.
public static class GetZoneDNSSec
{
public static Task<GetZoneDNSSecResult> InvokeAsync(GetZoneDNSSecArgs args, InvokeOptions? opts = null)
public static Output<GetZoneDNSSecResult> Invoke(GetZoneDNSSecInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZoneDNSSecResult> getZoneDNSSec(GetZoneDNSSecArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ovh:Domain/getZoneDNSSec:getZoneDNSSec
arguments:
# arguments dictionary
The following arguments are supported:
- Zone
Name string - The name of the domain zone
- Zone
Name string - The name of the domain zone
- zone
Name String - The name of the domain zone
- zone
Name string - The name of the domain zone
- zone_
name str - The name of the domain zone
- zone
Name String - The name of the domain zone
getZoneDNSSec Result
The following output properties are available:
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.