Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getZoneDnssec

Use this data source to look up [Zone][1] DNSSEC settings.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Cloudflare.GetZoneDnssec.InvokeAsync(new Cloudflare.GetZoneDnssecArgs
        {
            ZoneId = "<zone_id>",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-cloudflare/sdk/v2/go/cloudflare"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := cloudflare.LookupZoneDnssec(ctx, &cloudflare.LookupZoneDnssecArgs{
            ZoneId: "<zone_id>",
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_cloudflare as cloudflare

example = cloudflare.get_zone_dnssec(zone_id="<zone_id>")
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const example = pulumi.output(cloudflare.getZoneDnssec({
    zoneId: "<zone_id>",
}, { async: true }));

Using getZoneDnssec

function getZoneDnssec(args: GetZoneDnssecArgs, opts?: InvokeOptions): Promise<GetZoneDnssecResult>
def get_zone_dnssec(zone_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetZoneDnssecResult
func LookupZoneDnssec(ctx *Context, args *LookupZoneDnssecArgs, opts ...InvokeOption) (*LookupZoneDnssecResult, error)

Note: This function is named LookupZoneDnssec in the Go SDK.

public static class GetZoneDnssec {
    public static Task<GetZoneDnssecResult> InvokeAsync(GetZoneDnssecArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ZoneId string

The zone id for the zone.

ZoneId string

The zone id for the zone.

zoneId string

The zone id for the zone.

zone_id str

The zone id for the zone.

getZoneDnssec Result

The following output properties are available:

Algorithm string

Zone DNSSEC algorithm.

Digest string

Zone DNSSEC digest.

DigestAlgorithm string

Digest algorithm use for Zone DNSSEC.

DigestType string

Digest Type for Zone DNSSEC.

Ds string

DS for the Zone DNSSEC.

Flags int

Zone DNSSEC flags.

Id string

The provider-assigned unique ID for this managed resource.

KeyTag int

Key Tag for the Zone DNSSEC.

KeyType string

Key type used for Zone DNSSEC.

PublicKey string

Public Key for the Zone DNSSEC.

Status string

The status of the Zone DNSSEC.

ZoneId string
Algorithm string

Zone DNSSEC algorithm.

Digest string

Zone DNSSEC digest.

DigestAlgorithm string

Digest algorithm use for Zone DNSSEC.

DigestType string

Digest Type for Zone DNSSEC.

Ds string

DS for the Zone DNSSEC.

Flags int

Zone DNSSEC flags.

Id string

The provider-assigned unique ID for this managed resource.

KeyTag int

Key Tag for the Zone DNSSEC.

KeyType string

Key type used for Zone DNSSEC.

PublicKey string

Public Key for the Zone DNSSEC.

Status string

The status of the Zone DNSSEC.

ZoneId string
algorithm string

Zone DNSSEC algorithm.

digest string

Zone DNSSEC digest.

digestAlgorithm string

Digest algorithm use for Zone DNSSEC.

digestType string

Digest Type for Zone DNSSEC.

ds string

DS for the Zone DNSSEC.

flags number

Zone DNSSEC flags.

id string

The provider-assigned unique ID for this managed resource.

keyTag number

Key Tag for the Zone DNSSEC.

keyType string

Key type used for Zone DNSSEC.

publicKey string

Public Key for the Zone DNSSEC.

status string

The status of the Zone DNSSEC.

zoneId string
algorithm str

Zone DNSSEC algorithm.

digest str

Zone DNSSEC digest.

digest_algorithm str

Digest algorithm use for Zone DNSSEC.

digest_type str

Digest Type for Zone DNSSEC.

ds str

DS for the Zone DNSSEC.

flags int

Zone DNSSEC flags.

id str

The provider-assigned unique ID for this managed resource.

key_tag int

Key Tag for the Zone DNSSEC.

key_type str

Key type used for Zone DNSSEC.

public_key str

Public Key for the Zone DNSSEC.

status str

The status of the Zone DNSSEC.

zone_id str

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.