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

cloudflare.getZoneDnssec

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 = cloudflare.getZoneDnssec({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zone_dnssec = cloudflare.get_zone_dnssec(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
    
    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.LookupZoneDnssec(ctx, &cloudflare.LookupZoneDnssecArgs{
    			ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    		}, nil)
    		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 = Cloudflare.GetZoneDnssec.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.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 exampleZoneDnssec = CloudflareFunctions.getZoneDnssec(GetZoneDnssecArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleZoneDnssec:
        fn::invoke:
          function: cloudflare:getZoneDnssec
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    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_dnssec(zone_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetZoneDnssecResult
    def get_zone_dnssec_output(zone_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetZoneDnssecResult]
    func LookupZoneDnssec(ctx *Context, args *LookupZoneDnssecArgs, opts ...InvokeOption) (*LookupZoneDnssecResult, error)
    func LookupZoneDnssecOutput(ctx *Context, args *LookupZoneDnssecOutputArgs, opts ...InvokeOption) LookupZoneDnssecResultOutput

    > Note: This function is named LookupZoneDnssec 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)
    public static Output<GetZoneDnssecResult> getZoneDnssec(GetZoneDnssecArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZoneDnssec:getZoneDnssec
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier.
    ZoneId string
    Identifier.
    zoneId String
    Identifier.
    zoneId string
    Identifier.
    zone_id str
    Identifier.
    zoneId String
    Identifier.

    getZoneDnssec Result

    The following output properties are available:

    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
    Ds string
    Flags double
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyTag double
    KeyType string
    ModifiedOn string
    PublicKey string
    Status string
    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
    Ds string
    Flags float64
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyTag float64
    KeyType string
    ModifiedOn string
    PublicKey string
    Status string
    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
    ds String
    flags Double
    id String
    The provider-assigned unique ID for this managed resource.
    keyTag Double
    keyType String
    modifiedOn String
    publicKey String
    status String
    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
    ds string
    flags number
    id string
    The provider-assigned unique ID for this managed resource.
    keyTag number
    keyType string
    modifiedOn string
    publicKey string
    status string
    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
    ds str
    flags float
    id str
    The provider-assigned unique ID for this managed resource.
    key_tag float
    key_type str
    modified_on str
    public_key str
    status str
    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
    ds String
    flags Number
    id String
    The provider-assigned unique ID for this managed resource.
    keyTag Number
    keyType String
    modifiedOn String
    publicKey String
    status String
    zoneId String
    Identifier.

    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