published on Tuesday, May 19, 2026 by edge-center
published on Tuesday, May 19, 2026 by edge-center
Create DnsSecondaryZone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsSecondaryZone(name: string, args: DnsSecondaryZoneArgs, opts?: CustomResourceOptions);@overload
def DnsSecondaryZone(resource_name: str,
args: DnsSecondaryZoneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DnsSecondaryZone(resource_name: str,
opts: Optional[ResourceOptions] = None,
master: Optional[str] = None,
dns_secondary_zone_id: Optional[str] = None,
name: Optional[str] = None,
tsig_key: Optional[str] = None,
tsig_name: Optional[str] = None)func NewDnsSecondaryZone(ctx *Context, name string, args DnsSecondaryZoneArgs, opts ...ResourceOption) (*DnsSecondaryZone, error)public DnsSecondaryZone(string name, DnsSecondaryZoneArgs args, CustomResourceOptions? opts = null)
public DnsSecondaryZone(String name, DnsSecondaryZoneArgs args)
public DnsSecondaryZone(String name, DnsSecondaryZoneArgs args, CustomResourceOptions options)
type: edgecenter:DnsSecondaryZone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "edgecenter_dnssecondaryzone" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DnsSecondaryZoneArgs
- 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 DnsSecondaryZoneArgs
- 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 DnsSecondaryZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsSecondaryZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsSecondaryZoneArgs
- 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 dnsSecondaryZoneResource = new Edgecenter.DnsSecondaryZone("dnsSecondaryZoneResource", new()
{
Master = "string",
DnsSecondaryZoneId = "string",
Name = "string",
TsigKey = "string",
TsigName = "string",
});
example, err := edgecenter.NewDnsSecondaryZone(ctx, "dnsSecondaryZoneResource", &edgecenter.DnsSecondaryZoneArgs{
Master: pulumi.String("string"),
DnsSecondaryZoneId: pulumi.String("string"),
Name: pulumi.String("string"),
TsigKey: pulumi.String("string"),
TsigName: pulumi.String("string"),
})
resource "edgecenter_dnssecondaryzone" "dnsSecondaryZoneResource" {
master = "string"
dns_secondary_zone_id = "string"
name = "string"
tsig_key = "string"
tsig_name = "string"
}
var dnsSecondaryZoneResource = new DnsSecondaryZone("dnsSecondaryZoneResource", DnsSecondaryZoneArgs.builder()
.master("string")
.dnsSecondaryZoneId("string")
.name("string")
.tsigKey("string")
.tsigName("string")
.build());
dns_secondary_zone_resource = edgecenter.DnsSecondaryZone("dnsSecondaryZoneResource",
master="string",
dns_secondary_zone_id="string",
name="string",
tsig_key="string",
tsig_name="string")
const dnsSecondaryZoneResource = new edgecenter.DnsSecondaryZone("dnsSecondaryZoneResource", {
master: "string",
dnsSecondaryZoneId: "string",
name: "string",
tsigKey: "string",
tsigName: "string",
});
type: edgecenter:DnsSecondaryZone
properties:
dnsSecondaryZoneId: string
master: string
name: string
tsigKey: string
tsigName: string
DnsSecondaryZone 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 DnsSecondaryZone resource accepts the following input properties:
- Master string
- IP address of the primary DNS server for the secondary zone.
- Dns
Secondary stringZone Id - Name string
- A name of DNS Secondary Zone resource.
- Tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- Tsig
Name string - TSIG key name in the format: keyName.zoneName
- Master string
- IP address of the primary DNS server for the secondary zone.
- Dns
Secondary stringZone Id - Name string
- A name of DNS Secondary Zone resource.
- Tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- Tsig
Name string - TSIG key name in the format: keyName.zoneName
- master string
- IP address of the primary DNS server for the secondary zone.
- dns_
secondary_ stringzone_ id - name string
- A name of DNS Secondary Zone resource.
- tsig_
key string - Base64 encoded TSIG key value for secure zone transfer.
- tsig_
name string - TSIG key name in the format: keyName.zoneName
- master String
- IP address of the primary DNS server for the secondary zone.
- dns
Secondary StringZone Id - name String
- A name of DNS Secondary Zone resource.
- tsig
Key String - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name String - TSIG key name in the format: keyName.zoneName
- master string
- IP address of the primary DNS server for the secondary zone.
- dns
Secondary stringZone Id - name string
- A name of DNS Secondary Zone resource.
- tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name string - TSIG key name in the format: keyName.zoneName
- master str
- IP address of the primary DNS server for the secondary zone.
- dns_
secondary_ strzone_ id - name str
- A name of DNS Secondary Zone resource.
- tsig_
key str - Base64 encoded TSIG key value for secure zone transfer.
- tsig_
name str - TSIG key name in the format: keyName.zoneName
- master String
- IP address of the primary DNS server for the secondary zone.
- dns
Secondary StringZone Id - name String
- A name of DNS Secondary Zone resource.
- tsig
Key String - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name String - TSIG key name in the format: keyName.zoneName
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsSecondaryZone resource produces the following output properties:
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - Timestamp of the last update of the secondary zone.
- zone_
id number - Unique identifier of the secondary zone.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - Timestamp of the last update of the secondary zone.
- zone_
id float - Unique identifier of the secondary zone.
Look up Existing DnsSecondaryZone Resource
Get an existing DnsSecondaryZone 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?: DnsSecondaryZoneState, opts?: CustomResourceOptions): DnsSecondaryZone@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dns_secondary_zone_id: Optional[str] = None,
master: Optional[str] = None,
name: Optional[str] = None,
tsig_key: Optional[str] = None,
tsig_name: Optional[str] = None,
updated_at: Optional[str] = None,
zone_id: Optional[float] = None) -> DnsSecondaryZonefunc GetDnsSecondaryZone(ctx *Context, name string, id IDInput, state *DnsSecondaryZoneState, opts ...ResourceOption) (*DnsSecondaryZone, error)public static DnsSecondaryZone Get(string name, Input<string> id, DnsSecondaryZoneState? state, CustomResourceOptions? opts = null)public static DnsSecondaryZone get(String name, Output<String> id, DnsSecondaryZoneState state, CustomResourceOptions options)resources: _: type: edgecenter:DnsSecondaryZone get: id: ${id}import {
to = edgecenter_dnssecondaryzone.example
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.
- Dns
Secondary stringZone Id - Master string
- IP address of the primary DNS server for the secondary zone.
- Name string
- A name of DNS Secondary Zone resource.
- Tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- Tsig
Name string - TSIG key name in the format: keyName.zoneName
- Updated
At string - Timestamp of the last update of the secondary zone.
- Zone
Id double - Unique identifier of the secondary zone.
- Dns
Secondary stringZone Id - Master string
- IP address of the primary DNS server for the secondary zone.
- Name string
- A name of DNS Secondary Zone resource.
- Tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- Tsig
Name string - TSIG key name in the format: keyName.zoneName
- Updated
At string - Timestamp of the last update of the secondary zone.
- Zone
Id float64 - Unique identifier of the secondary zone.
- dns_
secondary_ stringzone_ id - master string
- IP address of the primary DNS server for the secondary zone.
- name string
- A name of DNS Secondary Zone resource.
- tsig_
key string - Base64 encoded TSIG key value for secure zone transfer.
- tsig_
name string - TSIG key name in the format: keyName.zoneName
- updated_
at string - Timestamp of the last update of the secondary zone.
- zone_
id number - Unique identifier of the secondary zone.
- dns
Secondary StringZone Id - master String
- IP address of the primary DNS server for the secondary zone.
- name String
- A name of DNS Secondary Zone resource.
- tsig
Key String - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name String - TSIG key name in the format: keyName.zoneName
- updated
At String - Timestamp of the last update of the secondary zone.
- zone
Id Double - Unique identifier of the secondary zone.
- dns
Secondary stringZone Id - master string
- IP address of the primary DNS server for the secondary zone.
- name string
- A name of DNS Secondary Zone resource.
- tsig
Key string - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name string - TSIG key name in the format: keyName.zoneName
- updated
At string - Timestamp of the last update of the secondary zone.
- zone
Id number - Unique identifier of the secondary zone.
- dns_
secondary_ strzone_ id - master str
- IP address of the primary DNS server for the secondary zone.
- name str
- A name of DNS Secondary Zone resource.
- tsig_
key str - Base64 encoded TSIG key value for secure zone transfer.
- tsig_
name str - TSIG key name in the format: keyName.zoneName
- updated_
at str - Timestamp of the last update of the secondary zone.
- zone_
id float - Unique identifier of the secondary zone.
- dns
Secondary StringZone Id - master String
- IP address of the primary DNS server for the secondary zone.
- name String
- A name of DNS Secondary Zone resource.
- tsig
Key String - Base64 encoded TSIG key value for secure zone transfer.
- tsig
Name String - TSIG key name in the format: keyName.zoneName
- updated
At String - Timestamp of the last update of the secondary zone.
- zone
Id Number - Unique identifier of the secondary zone.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenterTerraform Provider.
published on Tuesday, May 19, 2026 by edge-center