1. Packages
  2. Azure Native
  3. API Docs
  4. dns
  5. DnssecConfig
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.dns.DnssecConfig

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Represents the DNSSEC configuration.

Uses Azure REST API version 2023-07-01-preview.

Example Usage

Create DnssecConfig

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var dnssecConfig = new AzureNative.Dns.DnssecConfig("dnssecConfig", new()
    {
        ResourceGroupName = "rg1",
        ZoneName = "zone1",
    });

});
Copy
package main

import (
	dns "github.com/pulumi/pulumi-azure-native-sdk/dns/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewDnssecConfig(ctx, "dnssecConfig", &dns.DnssecConfigArgs{
			ResourceGroupName: pulumi.String("rg1"),
			ZoneName:          pulumi.String("zone1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dns.DnssecConfig;
import com.pulumi.azurenative.dns.DnssecConfigArgs;
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 dnssecConfig = new DnssecConfig("dnssecConfig", DnssecConfigArgs.builder()
            .resourceGroupName("rg1")
            .zoneName("zone1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const dnssecConfig = new azure_native.dns.DnssecConfig("dnssecConfig", {
    resourceGroupName: "rg1",
    zoneName: "zone1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dnssec_config = azure_native.dns.DnssecConfig("dnssecConfig",
    resource_group_name="rg1",
    zone_name="zone1")
Copy
resources:
  dnssecConfig:
    type: azure-native:dns:DnssecConfig
    properties:
      resourceGroupName: rg1
      zoneName: zone1
Copy

Create DnssecConfig Resource

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

Constructor syntax

new DnssecConfig(name: string, args: DnssecConfigArgs, opts?: CustomResourceOptions);
@overload
def DnssecConfig(resource_name: str,
                 args: DnssecConfigArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def DnssecConfig(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 resource_group_name: Optional[str] = None,
                 zone_name: Optional[str] = None)
func NewDnssecConfig(ctx *Context, name string, args DnssecConfigArgs, opts ...ResourceOption) (*DnssecConfig, error)
public DnssecConfig(string name, DnssecConfigArgs args, CustomResourceOptions? opts = null)
public DnssecConfig(String name, DnssecConfigArgs args)
public DnssecConfig(String name, DnssecConfigArgs args, CustomResourceOptions options)
type: azure-native:dns:DnssecConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DnssecConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DnssecConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DnssecConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DnssecConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DnssecConfigArgs
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 dnssecConfigResource = new AzureNative.Dns.DnssecConfig("dnssecConfigResource", new()
{
    ResourceGroupName = "string",
    ZoneName = "string",
});
Copy
example, err := dns.NewDnssecConfig(ctx, "dnssecConfigResource", &dns.DnssecConfigArgs{
	ResourceGroupName: pulumi.String("string"),
	ZoneName:          pulumi.String("string"),
})
Copy
var dnssecConfigResource = new DnssecConfig("dnssecConfigResource", DnssecConfigArgs.builder()
    .resourceGroupName("string")
    .zoneName("string")
    .build());
Copy
dnssec_config_resource = azure_native.dns.DnssecConfig("dnssecConfigResource",
    resource_group_name="string",
    zone_name="string")
Copy
const dnssecConfigResource = new azure_native.dns.DnssecConfig("dnssecConfigResource", {
    resourceGroupName: "string",
    zoneName: "string",
});
Copy
type: azure-native:dns:DnssecConfig
properties:
    resourceGroupName: string
    zoneName: string
Copy

DnssecConfig 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 DnssecConfig resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ZoneName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DNS zone (without a terminating dot).
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ZoneName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DNS zone (without a terminating dot).
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
zoneName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DNS zone (without a terminating dot).
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
zoneName
This property is required.
Changes to this property will trigger replacement.
string
The name of the DNS zone (without a terminating dot).
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
zone_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the DNS zone (without a terminating dot).
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
zoneName
This property is required.
Changes to this property will trigger replacement.
String
The name of the DNS zone (without a terminating dot).

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the DNSSEC configuration.
ProvisioningState string
Provisioning State of the DNSSEC configuration.
SigningKeys List<Pulumi.AzureNative.Dns.Outputs.SigningKeyResponse>
The list of signing keys.
SystemData Pulumi.AzureNative.Dns.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the DNSSEC configuration.
Etag string
The etag of the DNSSEC configuration.
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the DNSSEC configuration.
ProvisioningState string
Provisioning State of the DNSSEC configuration.
SigningKeys []SigningKeyResponse
The list of signing keys.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the DNSSEC configuration.
Etag string
The etag of the DNSSEC configuration.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the DNSSEC configuration.
provisioningState String
Provisioning State of the DNSSEC configuration.
signingKeys List<SigningKeyResponse>
The list of signing keys.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
The type of the DNSSEC configuration.
etag String
The etag of the DNSSEC configuration.
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the DNSSEC configuration.
provisioningState string
Provisioning State of the DNSSEC configuration.
signingKeys SigningKeyResponse[]
The list of signing keys.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
The type of the DNSSEC configuration.
etag string
The etag of the DNSSEC configuration.
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the DNSSEC configuration.
provisioning_state str
Provisioning State of the DNSSEC configuration.
signing_keys Sequence[SigningKeyResponse]
The list of signing keys.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
The type of the DNSSEC configuration.
etag str
The etag of the DNSSEC configuration.
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the DNSSEC configuration.
provisioningState String
Provisioning State of the DNSSEC configuration.
signingKeys List<Property Map>
The list of signing keys.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
The type of the DNSSEC configuration.
etag String
The etag of the DNSSEC configuration.

Supporting Types

DelegationSignerInfoResponse
, DelegationSignerInfoResponseArgs

DigestAlgorithmType This property is required. int
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
DigestValue This property is required. string
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
Record This property is required. string
The record represents a delegation signer (DS) record.
DigestAlgorithmType This property is required. int
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
DigestValue This property is required. string
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
Record This property is required. string
The record represents a delegation signer (DS) record.
digestAlgorithmType This property is required. Integer
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
digestValue This property is required. String
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
record This property is required. String
The record represents a delegation signer (DS) record.
digestAlgorithmType This property is required. number
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
digestValue This property is required. string
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
record This property is required. string
The record represents a delegation signer (DS) record.
digest_algorithm_type This property is required. int
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
digest_value This property is required. str
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
record This property is required. str
The record represents a delegation signer (DS) record.
digestAlgorithmType This property is required. Number
The digest algorithm type represents the standard digest algorithm number used to construct the digest. See: https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
digestValue This property is required. String
The digest value is a cryptographic hash value of the referenced DNSKEY Resource Record.
record This property is required. String
The record represents a delegation signer (DS) record.

SigningKeyResponse
, SigningKeyResponseArgs

DelegationSignerInfo This property is required. List<Pulumi.AzureNative.Dns.Inputs.DelegationSignerInfoResponse>
The delegation signer information.
Flags This property is required. int
The flags specifies how the key is used.
KeyTag This property is required. int
The key tag value of the DNSKEY Resource Record.
Protocol This property is required. int
The protocol value. The value is always 3.
PublicKey This property is required. string
The public key, represented as a Base64 encoding.
SecurityAlgorithmType This property is required. int
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
DelegationSignerInfo This property is required. []DelegationSignerInfoResponse
The delegation signer information.
Flags This property is required. int
The flags specifies how the key is used.
KeyTag This property is required. int
The key tag value of the DNSKEY Resource Record.
Protocol This property is required. int
The protocol value. The value is always 3.
PublicKey This property is required. string
The public key, represented as a Base64 encoding.
SecurityAlgorithmType This property is required. int
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
delegationSignerInfo This property is required. List<DelegationSignerInfoResponse>
The delegation signer information.
flags This property is required. Integer
The flags specifies how the key is used.
keyTag This property is required. Integer
The key tag value of the DNSKEY Resource Record.
protocol This property is required. Integer
The protocol value. The value is always 3.
publicKey This property is required. String
The public key, represented as a Base64 encoding.
securityAlgorithmType This property is required. Integer
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
delegationSignerInfo This property is required. DelegationSignerInfoResponse[]
The delegation signer information.
flags This property is required. number
The flags specifies how the key is used.
keyTag This property is required. number
The key tag value of the DNSKEY Resource Record.
protocol This property is required. number
The protocol value. The value is always 3.
publicKey This property is required. string
The public key, represented as a Base64 encoding.
securityAlgorithmType This property is required. number
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
delegation_signer_info This property is required. Sequence[DelegationSignerInfoResponse]
The delegation signer information.
flags This property is required. int
The flags specifies how the key is used.
key_tag This property is required. int
The key tag value of the DNSKEY Resource Record.
protocol This property is required. int
The protocol value. The value is always 3.
public_key This property is required. str
The public key, represented as a Base64 encoding.
security_algorithm_type This property is required. int
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml
delegationSignerInfo This property is required. List<Property Map>
The delegation signer information.
flags This property is required. Number
The flags specifies how the key is used.
keyTag This property is required. Number
The key tag value of the DNSKEY Resource Record.
protocol This property is required. Number
The protocol value. The value is always 3.
publicKey This property is required. String
The public key, represented as a Base64 encoding.
securityAlgorithmType This property is required. Number
The security algorithm type represents the standard security algorithm number of the DNSKEY Resource Record. See: https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:dns:DnssecConfig default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi