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:
- Zone
Id string The zone id for the zone.
- Zone
Id string The zone id for the zone.
- zone
Id 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.
- Digest
Algorithm string Digest algorithm use for Zone DNSSEC.
- Digest
Type 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.
- Key
Tag int Key Tag for the Zone DNSSEC.
- Key
Type string Key type used for Zone DNSSEC.
- Public
Key string Public Key for the Zone DNSSEC.
- Status string
The status of the Zone DNSSEC.
- Zone
Id string
- Algorithm string
Zone DNSSEC algorithm.
- Digest string
Zone DNSSEC digest.
- Digest
Algorithm string Digest algorithm use for Zone DNSSEC.
- Digest
Type 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.
- Key
Tag int Key Tag for the Zone DNSSEC.
- Key
Type string Key type used for Zone DNSSEC.
- Public
Key string Public Key for the Zone DNSSEC.
- Status string
The status of the Zone DNSSEC.
- Zone
Id string
- algorithm string
Zone DNSSEC algorithm.
- digest string
Zone DNSSEC digest.
- digest
Algorithm string Digest algorithm use for Zone DNSSEC.
- digest
Type 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.
- key
Tag number Key Tag for the Zone DNSSEC.
- key
Type string Key type used for Zone DNSSEC.
- public
Key string Public Key for the Zone DNSSEC.
- status string
The status of the Zone DNSSEC.
- zone
Id 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.