1. Packages
  2. Cloudflare
  3. API Docs
  4. getZoneDnssec
Cloudflare v5.33.1 published on Wednesday, Jun 26, 2024 by Pulumi

cloudflare.getZoneDnssec

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.33.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Use this data source to look up Zone DNSSEC settings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const example = cloudflare.getZoneDnssec({
        zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.get_zone_dnssec(zone_id="0da42c8d2132a9ddaf714f9e7c920711")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v5/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: "0da42c8d2132a9ddaf714f9e7c920711",
    		}, 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 example = Cloudflare.GetZoneDnssec.Invoke(new()
        {
            ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
        });
    
    });
    
    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 example = CloudflareFunctions.getZoneDnssec(GetZoneDnssecArgs.builder()
                .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: cloudflare:getZoneDnssec
          Arguments:
            zoneId: 0da42c8d2132a9ddaf714f9e7c920711
    

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudflare:index/getZoneDnssec:getZoneDnssec
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    The zone identifier to target for the resource.
    ZoneId string
    The zone identifier to target for the resource.
    zoneId String
    The zone identifier to target for the resource.
    zoneId string
    The zone identifier to target for the resource.
    zone_id str
    The zone identifier to target for the resource.
    zoneId String
    The zone identifier to target for the resource.

    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
    The zone identifier to target for the resource.
    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
    The zone identifier to target for the resource.
    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 Integer
    Zone DNSSEC flags.
    id String
    The provider-assigned unique ID for this managed resource.
    keyTag Integer
    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
    The zone identifier to target for the resource.
    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
    The zone identifier to target for the resource.
    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
    The zone identifier to target for the resource.
    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
    The zone identifier to target for the resource.

    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 v5.33.1 published on Wednesday, Jun 26, 2024 by Pulumi