Cloudflare v5.33.1 published on Wednesday, Jun 26, 2024 by Pulumi
cloudflare.getZoneDnssec
Explore with Pulumi AI
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:
- Zone
Id string - The zone identifier to target for the resource.
- Zone
Id string - The zone identifier to target for the resource.
- zone
Id String - The zone identifier to target for the resource.
- zone
Id string - The zone identifier to target for the resource.
- zone_
id str - The zone identifier to target for the resource.
- zone
Id 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.
- 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 - The zone identifier to target for the resource.
- 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 - The zone identifier to target for the resource.
- 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 Integer
- Zone DNSSEC flags.
- id String
- The provider-assigned unique ID for this managed resource.
- key
Tag Integer - 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 - The zone identifier to target for the resource.
- 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 - 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.
- 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 - 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.