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

ZoneDnssec

Provides a Cloudflare Zone DNSSEC resource.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleZone = new Cloudflare.Zone("exampleZone", new Cloudflare.ZoneArgs
        {
            Zone = "example.com",
        });
        var exampleZoneDnssec = new Cloudflare.ZoneDnssec("exampleZoneDnssec", new Cloudflare.ZoneDnssecArgs
        {
            ZoneId = exampleZone.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 {
        exampleZone, err := cloudflare.NewZone(ctx, "exampleZone", &cloudflare.ZoneArgs{
            Zone: pulumi.String("example.com"),
        })
        if err != nil {
            return err
        }
        _, err = cloudflare.NewZoneDnssec(ctx, "exampleZoneDnssec", &cloudflare.ZoneDnssecArgs{
            ZoneId: exampleZone.ID(),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_cloudflare as cloudflare

example_zone = cloudflare.Zone("exampleZone", zone="example.com")
example_zone_dnssec = cloudflare.ZoneDnssec("exampleZoneDnssec", zone_id=example_zone.id)
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleZone = new cloudflare.Zone("exampleZone", {zone: "example.com"});
const exampleZoneDnssec = new cloudflare.ZoneDnssec("exampleZoneDnssec", {zoneId: exampleZone.id});

Create a ZoneDnssec Resource

new ZoneDnssec(name: string, args: ZoneDnssecArgs, opts?: CustomResourceOptions);
def ZoneDnssec(resource_name: str, opts: Optional[ResourceOptions] = None, modified_on: Optional[str] = None, zone_id: Optional[str] = None)
func NewZoneDnssec(ctx *Context, name string, args ZoneDnssecArgs, opts ...ResourceOption) (*ZoneDnssec, error)
public ZoneDnssec(string name, ZoneDnssecArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ZoneDnssecArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ZoneDnssecArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ZoneDnssecArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ZoneDnssec Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ZoneDnssec resource accepts the following input properties:

ZoneId string

The zone id for the zone.

ModifiedOn string

Zone DNSSEC updated time.

ZoneId string

The zone id for the zone.

ModifiedOn string

Zone DNSSEC updated time.

zoneId string

The zone id for the zone.

modifiedOn string

Zone DNSSEC updated time.

zone_id str

The zone id for the zone.

modified_on str

Zone DNSSEC updated time.

Outputs

All input properties are implicitly available as output properties. Additionally, the ZoneDnssec resource produces the following output properties:

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.

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.

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.

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.

Look up an Existing ZoneDnssec Resource

Get an existing ZoneDnssec resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ZoneDnssecState, opts?: CustomResourceOptions): ZoneDnssec
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, algorithm: Optional[str] = None, digest: Optional[str] = None, digest_algorithm: Optional[str] = None, digest_type: Optional[str] = None, ds: Optional[str] = None, flags: Optional[int] = None, key_tag: Optional[int] = None, key_type: Optional[str] = None, modified_on: Optional[str] = None, public_key: Optional[str] = None, status: Optional[str] = None, zone_id: Optional[str] = None) -> ZoneDnssec
func GetZoneDnssec(ctx *Context, name string, id IDInput, state *ZoneDnssecState, opts ...ResourceOption) (*ZoneDnssec, error)
public static ZoneDnssec Get(string name, Input<string> id, ZoneDnssecState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

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.

KeyTag int

Key Tag for the Zone DNSSEC.

KeyType string

Key type used for Zone DNSSEC.

ModifiedOn string

Zone DNSSEC updated time.

PublicKey string

Public Key for the Zone DNSSEC.

Status string

The status of the Zone DNSSEC.

ZoneId string

The zone id for the zone.

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.

KeyTag int

Key Tag for the Zone DNSSEC.

KeyType string

Key type used for Zone DNSSEC.

ModifiedOn string

Zone DNSSEC updated time.

PublicKey string

Public Key for the Zone DNSSEC.

Status string

The status of the Zone DNSSEC.

ZoneId string

The zone id for the zone.

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.

keyTag number

Key Tag for the Zone DNSSEC.

keyType string

Key type used for Zone DNSSEC.

modifiedOn string

Zone DNSSEC updated time.

publicKey string

Public Key for the Zone DNSSEC.

status string

The status of the Zone DNSSEC.

zoneId string

The zone id for the zone.

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.

key_tag int

Key Tag for the Zone DNSSEC.

key_type str

Key type used for Zone DNSSEC.

modified_on str

Zone DNSSEC updated time.

public_key str

Public Key for the Zone DNSSEC.

status str

The status of the Zone DNSSEC.

zone_id str

The zone id for the zone.

Import

Zone DNSSEC resource can be imported using a zone ID, e.g.

 $ pulumi import cloudflare:index/zoneDnssec:ZoneDnssec example d41d8cd98f00b204e9800998ecf8427e

where* d41d8cd98f00b204e9800998ecf8427e - zone ID, as returned from API

Package Details

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