1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZoneDnssec
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.ZoneDnssec

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZoneDnssec = new cloudflare.ZoneDnssec("example_zone_dnssec", {
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        dnssecMultiSigner: false,
        dnssecPresigned: true,
        status: "active",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zone_dnssec = cloudflare.ZoneDnssec("example_zone_dnssec",
        zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        dnssec_multi_signer=False,
        dnssec_presigned=True,
        status="active")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewZoneDnssec(ctx, "example_zone_dnssec", &cloudflare.ZoneDnssecArgs{
    			ZoneId:            pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			DnssecMultiSigner: pulumi.Bool(false),
    			DnssecPresigned:   pulumi.Bool(true),
    			Status:            pulumi.String("active"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleZoneDnssec = new Cloudflare.ZoneDnssec("example_zone_dnssec", new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            DnssecMultiSigner = false,
            DnssecPresigned = true,
            Status = "active",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.ZoneDnssec;
    import com.pulumi.cloudflare.ZoneDnssecArgs;
    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) {
            var exampleZoneDnssec = new ZoneDnssec("exampleZoneDnssec", ZoneDnssecArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .dnssecMultiSigner(false)
                .dnssecPresigned(true)
                .status("active")
                .build());
    
        }
    }
    
    resources:
      exampleZoneDnssec:
        type: cloudflare:ZoneDnssec
        name: example_zone_dnssec
        properties:
          zoneId: 023e105f4ecef8ad9ca31a8372d0c353
          dnssecMultiSigner: false
          dnssecPresigned: true
          status: active
    

    Create ZoneDnssec Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZoneDnssec(name: string, args: ZoneDnssecArgs, opts?: CustomResourceOptions);
    @overload
    def ZoneDnssec(resource_name: str,
                   args: ZoneDnssecArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZoneDnssec(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   zone_id: Optional[str] = None,
                   dnssec_multi_signer: Optional[bool] = None,
                   dnssec_presigned: Optional[bool] = None,
                   status: Optional[str] = None)
    func NewZoneDnssec(ctx *Context, name string, args ZoneDnssecArgs, opts ...ResourceOption) (*ZoneDnssec, error)
    public ZoneDnssec(string name, ZoneDnssecArgs args, CustomResourceOptions? opts = null)
    public ZoneDnssec(String name, ZoneDnssecArgs args)
    public ZoneDnssec(String name, ZoneDnssecArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZoneDnssec
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.
    args ZoneDnssecArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control 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.
    name String
    The unique name of the resource.
    args ZoneDnssecArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zoneDnssecResource = new Cloudflare.ZoneDnssec("zoneDnssecResource", new()
    {
        ZoneId = "string",
        DnssecMultiSigner = false,
        DnssecPresigned = false,
        Status = "string",
    });
    
    example, err := cloudflare.NewZoneDnssec(ctx, "zoneDnssecResource", &cloudflare.ZoneDnssecArgs{
    	ZoneId:            pulumi.String("string"),
    	DnssecMultiSigner: pulumi.Bool(false),
    	DnssecPresigned:   pulumi.Bool(false),
    	Status:            pulumi.String("string"),
    })
    
    var zoneDnssecResource = new ZoneDnssec("zoneDnssecResource", ZoneDnssecArgs.builder()
        .zoneId("string")
        .dnssecMultiSigner(false)
        .dnssecPresigned(false)
        .status("string")
        .build());
    
    zone_dnssec_resource = cloudflare.ZoneDnssec("zoneDnssecResource",
        zone_id="string",
        dnssec_multi_signer=False,
        dnssec_presigned=False,
        status="string")
    
    const zoneDnssecResource = new cloudflare.ZoneDnssec("zoneDnssecResource", {
        zoneId: "string",
        dnssecMultiSigner: false,
        dnssecPresigned: false,
        status: "string",
    });
    
    type: cloudflare:ZoneDnssec
    properties:
        dnssecMultiSigner: false
        dnssecPresigned: false
        status: string
        zoneId: string
    

    ZoneDnssec Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZoneDnssec resource accepts the following input properties:

    ZoneId string
    Identifier.
    DnssecMultiSigner bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    DnssecPresigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    Status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    ZoneId string
    Identifier.
    DnssecMultiSigner bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    DnssecPresigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    Status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId String
    Identifier.
    dnssecMultiSigner Boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned Boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    status String
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId string
    Identifier.
    dnssecMultiSigner boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zone_id str
    Identifier.
    dnssec_multi_signer bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssec_presigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    status str
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId String
    Identifier.
    dnssecMultiSigner Boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned Boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    status String
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".

    Outputs

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

    Algorithm string
    Algorithm key code.
    Digest string
    Digest hash.
    DigestAlgorithm string
    Type of digest algorithm.
    DigestType string
    Coded type for digest algorithm.
    Ds string
    Full DS record.
    Flags double
    Flag for DNSSEC record.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyTag double
    Code for key tag.
    KeyType string
    Algorithm key type.
    ModifiedOn string
    When DNSSEC was last modified.
    PublicKey string
    Public key for DS record.
    Algorithm string
    Algorithm key code.
    Digest string
    Digest hash.
    DigestAlgorithm string
    Type of digest algorithm.
    DigestType string
    Coded type for digest algorithm.
    Ds string
    Full DS record.
    Flags float64
    Flag for DNSSEC record.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyTag float64
    Code for key tag.
    KeyType string
    Algorithm key type.
    ModifiedOn string
    When DNSSEC was last modified.
    PublicKey string
    Public key for DS record.
    algorithm String
    Algorithm key code.
    digest String
    Digest hash.
    digestAlgorithm String
    Type of digest algorithm.
    digestType String
    Coded type for digest algorithm.
    ds String
    Full DS record.
    flags Double
    Flag for DNSSEC record.
    id String
    The provider-assigned unique ID for this managed resource.
    keyTag Double
    Code for key tag.
    keyType String
    Algorithm key type.
    modifiedOn String
    When DNSSEC was last modified.
    publicKey String
    Public key for DS record.
    algorithm string
    Algorithm key code.
    digest string
    Digest hash.
    digestAlgorithm string
    Type of digest algorithm.
    digestType string
    Coded type for digest algorithm.
    ds string
    Full DS record.
    flags number
    Flag for DNSSEC record.
    id string
    The provider-assigned unique ID for this managed resource.
    keyTag number
    Code for key tag.
    keyType string
    Algorithm key type.
    modifiedOn string
    When DNSSEC was last modified.
    publicKey string
    Public key for DS record.
    algorithm str
    Algorithm key code.
    digest str
    Digest hash.
    digest_algorithm str
    Type of digest algorithm.
    digest_type str
    Coded type for digest algorithm.
    ds str
    Full DS record.
    flags float
    Flag for DNSSEC record.
    id str
    The provider-assigned unique ID for this managed resource.
    key_tag float
    Code for key tag.
    key_type str
    Algorithm key type.
    modified_on str
    When DNSSEC was last modified.
    public_key str
    Public key for DS record.
    algorithm String
    Algorithm key code.
    digest String
    Digest hash.
    digestAlgorithm String
    Type of digest algorithm.
    digestType String
    Coded type for digest algorithm.
    ds String
    Full DS record.
    flags Number
    Flag for DNSSEC record.
    id String
    The provider-assigned unique ID for this managed resource.
    keyTag Number
    Code for key tag.
    keyType String
    Algorithm key type.
    modifiedOn String
    When DNSSEC was last modified.
    publicKey String
    Public key for DS record.

    Look up 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,
            dnssec_multi_signer: Optional[bool] = None,
            dnssec_presigned: Optional[bool] = None,
            ds: Optional[str] = None,
            flags: Optional[float] = None,
            key_tag: Optional[float] = 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)
    public static ZoneDnssec get(String name, Output<String> id, ZoneDnssecState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ZoneDnssec    get:      id: ${id}
    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.
    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
    Algorithm key code.
    Digest string
    Digest hash.
    DigestAlgorithm string
    Type of digest algorithm.
    DigestType string
    Coded type for digest algorithm.
    DnssecMultiSigner bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    DnssecPresigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    Ds string
    Full DS record.
    Flags double
    Flag for DNSSEC record.
    KeyTag double
    Code for key tag.
    KeyType string
    Algorithm key type.
    ModifiedOn string
    When DNSSEC was last modified.
    PublicKey string
    Public key for DS record.
    Status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    ZoneId string
    Identifier.
    Algorithm string
    Algorithm key code.
    Digest string
    Digest hash.
    DigestAlgorithm string
    Type of digest algorithm.
    DigestType string
    Coded type for digest algorithm.
    DnssecMultiSigner bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    DnssecPresigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    Ds string
    Full DS record.
    Flags float64
    Flag for DNSSEC record.
    KeyTag float64
    Code for key tag.
    KeyType string
    Algorithm key type.
    ModifiedOn string
    When DNSSEC was last modified.
    PublicKey string
    Public key for DS record.
    Status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    ZoneId string
    Identifier.
    algorithm String
    Algorithm key code.
    digest String
    Digest hash.
    digestAlgorithm String
    Type of digest algorithm.
    digestType String
    Coded type for digest algorithm.
    dnssecMultiSigner Boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned Boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    ds String
    Full DS record.
    flags Double
    Flag for DNSSEC record.
    keyTag Double
    Code for key tag.
    keyType String
    Algorithm key type.
    modifiedOn String
    When DNSSEC was last modified.
    publicKey String
    Public key for DS record.
    status String
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId String
    Identifier.
    algorithm string
    Algorithm key code.
    digest string
    Digest hash.
    digestAlgorithm string
    Type of digest algorithm.
    digestType string
    Coded type for digest algorithm.
    dnssecMultiSigner boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    ds string
    Full DS record.
    flags number
    Flag for DNSSEC record.
    keyTag number
    Code for key tag.
    keyType string
    Algorithm key type.
    modifiedOn string
    When DNSSEC was last modified.
    publicKey string
    Public key for DS record.
    status string
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId string
    Identifier.
    algorithm str
    Algorithm key code.
    digest str
    Digest hash.
    digest_algorithm str
    Type of digest algorithm.
    digest_type str
    Coded type for digest algorithm.
    dnssec_multi_signer bool
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssec_presigned bool
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    ds str
    Full DS record.
    flags float
    Flag for DNSSEC record.
    key_tag float
    Code for key tag.
    key_type str
    Algorithm key type.
    modified_on str
    When DNSSEC was last modified.
    public_key str
    Public key for DS record.
    status str
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zone_id str
    Identifier.
    algorithm String
    Algorithm key code.
    digest String
    Digest hash.
    digestAlgorithm String
    Type of digest algorithm.
    digestType String
    Coded type for digest algorithm.
    dnssecMultiSigner Boolean
    If true, multi-signer DNSSEC is enabled on the zone, allowing multiple providers to serve a DNSSEC-signed zone at the same time. This is required for DNSKEY records (except those automatically generated by Cloudflare) to be added to the zone.
    dnssecPresigned Boolean
    If true, allows Cloudflare to transfer in a DNSSEC-signed zone including signatures from an external provider, without requiring Cloudflare to sign any records on the fly. Note that this feature has some limitations. See Cloudflare as Secondary for details.
    ds String
    Full DS record.
    flags Number
    Flag for DNSSEC record.
    keyTag Number
    Code for key tag.
    keyType String
    Algorithm key type.
    modifiedOn String
    When DNSSEC was last modified.
    publicKey String
    Public key for DS record.
    status String
    Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
    zoneId String
    Identifier.

    Import

    $ pulumi import cloudflare:index/zoneDnssec:ZoneDnssec example '<zone_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi