cloudflare.ZoneDnssec
Explore with Pulumi AI
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:
- Zone
Id string - Identifier.
- Dnssec
Multi boolSigner - 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 string
- Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
- Zone
Id string - Identifier.
- Dnssec
Multi boolSigner - 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 string
- Status of DNSSEC, based on user-desired state and presence of necessary records. Available values: "active", "disabled".
- zone
Id String - Identifier.
- dnssec
Multi BooleanSigner - 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 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 string - Identifier.
- dnssec
Multi booleanSigner - 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 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_ boolsigner - 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".
- zone
Id String - Identifier.
- dnssec
Multi BooleanSigner - 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 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.
- Digest
Algorithm string - Type of digest algorithm.
- Digest
Type 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.
- Key
Tag double - Code for key tag.
- Key
Type string - Algorithm key type.
- Modified
On string - When DNSSEC was last modified.
- Public
Key string - Public key for DS record.
- Algorithm string
- Algorithm key code.
- Digest string
- Digest hash.
- Digest
Algorithm string - Type of digest algorithm.
- Digest
Type 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.
- Key
Tag float64 - Code for key tag.
- Key
Type string - Algorithm key type.
- Modified
On string - When DNSSEC was last modified.
- Public
Key string - Public key for DS record.
- algorithm String
- Algorithm key code.
- digest String
- Digest hash.
- digest
Algorithm String - Type of digest algorithm.
- digest
Type 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.
- key
Tag Double - Code for key tag.
- key
Type String - Algorithm key type.
- modified
On String - When DNSSEC was last modified.
- public
Key String - Public key for DS record.
- algorithm string
- Algorithm key code.
- digest string
- Digest hash.
- digest
Algorithm string - Type of digest algorithm.
- digest
Type 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.
- key
Tag number - Code for key tag.
- key
Type string - Algorithm key type.
- modified
On string - When DNSSEC was last modified.
- public
Key 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.
- digest
Algorithm String - Type of digest algorithm.
- digest
Type 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.
- key
Tag Number - Code for key tag.
- key
Type String - Algorithm key type.
- modified
On String - When DNSSEC was last modified.
- public
Key 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.
- Algorithm string
- Algorithm key code.
- Digest string
- Digest hash.
- Digest
Algorithm string - Type of digest algorithm.
- Digest
Type string - Coded type for digest algorithm.
- Dnssec
Multi boolSigner - 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 string
- Full DS record.
- Flags double
- Flag for DNSSEC record.
- Key
Tag double - Code for key tag.
- Key
Type string - Algorithm key type.
- Modified
On string - When DNSSEC was last modified.
- Public
Key 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".
- Zone
Id string - Identifier.
- Algorithm string
- Algorithm key code.
- Digest string
- Digest hash.
- Digest
Algorithm string - Type of digest algorithm.
- Digest
Type string - Coded type for digest algorithm.
- Dnssec
Multi boolSigner - 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 string
- Full DS record.
- Flags float64
- Flag for DNSSEC record.
- Key
Tag float64 - Code for key tag.
- Key
Type string - Algorithm key type.
- Modified
On string - When DNSSEC was last modified.
- Public
Key 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".
- Zone
Id string - Identifier.
- algorithm String
- Algorithm key code.
- digest String
- Digest hash.
- digest
Algorithm String - Type of digest algorithm.
- digest
Type String - Coded type for digest algorithm.
- dnssec
Multi BooleanSigner - 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 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.
- key
Tag Double - Code for key tag.
- key
Type String - Algorithm key type.
- modified
On String - When DNSSEC was last modified.
- public
Key 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".
- zone
Id String - Identifier.
- algorithm string
- Algorithm key code.
- digest string
- Digest hash.
- digest
Algorithm string - Type of digest algorithm.
- digest
Type string - Coded type for digest algorithm.
- dnssec
Multi booleanSigner - 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 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.
- key
Tag number - Code for key tag.
- key
Type string - Algorithm key type.
- modified
On string - When DNSSEC was last modified.
- public
Key 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".
- zone
Id 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_ boolsigner - 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.
- digest
Algorithm String - Type of digest algorithm.
- digest
Type String - Coded type for digest algorithm.
- dnssec
Multi BooleanSigner - 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 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.
- key
Tag Number - Code for key tag.
- key
Type String - Algorithm key type.
- modified
On String - When DNSSEC was last modified.
- public
Key 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".
- zone
Id 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.