1. Packages
  2. Packages
  3. Edgecenter Provider
  4. API Docs
  5. DnsSecondaryZone
Viewing docs for edgecenter 0.12.7
published on Tuesday, May 19, 2026 by edge-center
Viewing docs for edgecenter 0.12.7
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.
    DnsSecondaryZoneId string
    Name string
    A name of DNS Secondary Zone resource.
    TsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    TsigName string
    TSIG key name in the format: keyName.zoneName
    Master string
    IP address of the primary DNS server for the secondary zone.
    DnsSecondaryZoneId string
    Name string
    A name of DNS Secondary Zone resource.
    TsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    TsigName string
    TSIG key name in the format: keyName.zoneName
    master string
    IP address of the primary DNS server for the secondary zone.
    dns_secondary_zone_id string
    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.
    dnsSecondaryZoneId String
    name String
    A name of DNS Secondary Zone resource.
    tsigKey String
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName String
    TSIG key name in the format: keyName.zoneName
    master string
    IP address of the primary DNS server for the secondary zone.
    dnsSecondaryZoneId string
    name string
    A name of DNS Secondary Zone resource.
    tsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName string
    TSIG key name in the format: keyName.zoneName
    master str
    IP address of the primary DNS server for the secondary zone.
    dns_secondary_zone_id str
    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.
    dnsSecondaryZoneId String
    name String
    A name of DNS Secondary Zone resource.
    tsigKey String
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName 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.
    UpdatedAt string
    Timestamp of the last update of the secondary zone.
    ZoneId double
    Unique identifier of the secondary zone.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Timestamp of the last update of the secondary zone.
    ZoneId float64
    Unique identifier of the secondary zone.
    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 String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Timestamp of the last update of the secondary zone.
    zoneId Double
    Unique identifier of the secondary zone.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Timestamp of the last update of the secondary zone.
    zoneId 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.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Timestamp of the last update of the secondary zone.
    zoneId Number
    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) -> DnsSecondaryZone
    func 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.
    The following state arguments are supported:
    DnsSecondaryZoneId string
    Master string
    IP address of the primary DNS server for the secondary zone.
    Name string
    A name of DNS Secondary Zone resource.
    TsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    TsigName string
    TSIG key name in the format: keyName.zoneName
    UpdatedAt string
    Timestamp of the last update of the secondary zone.
    ZoneId double
    Unique identifier of the secondary zone.
    DnsSecondaryZoneId string
    Master string
    IP address of the primary DNS server for the secondary zone.
    Name string
    A name of DNS Secondary Zone resource.
    TsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    TsigName string
    TSIG key name in the format: keyName.zoneName
    UpdatedAt string
    Timestamp of the last update of the secondary zone.
    ZoneId float64
    Unique identifier of the secondary zone.
    dns_secondary_zone_id string
    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.
    dnsSecondaryZoneId String
    master String
    IP address of the primary DNS server for the secondary zone.
    name String
    A name of DNS Secondary Zone resource.
    tsigKey String
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName String
    TSIG key name in the format: keyName.zoneName
    updatedAt String
    Timestamp of the last update of the secondary zone.
    zoneId Double
    Unique identifier of the secondary zone.
    dnsSecondaryZoneId string
    master string
    IP address of the primary DNS server for the secondary zone.
    name string
    A name of DNS Secondary Zone resource.
    tsigKey string
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName string
    TSIG key name in the format: keyName.zoneName
    updatedAt string
    Timestamp of the last update of the secondary zone.
    zoneId number
    Unique identifier of the secondary zone.
    dns_secondary_zone_id str
    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.
    dnsSecondaryZoneId String
    master String
    IP address of the primary DNS server for the secondary zone.
    name String
    A name of DNS Secondary Zone resource.
    tsigKey String
    Base64 encoded TSIG key value for secure zone transfer.
    tsigName String
    TSIG key name in the format: keyName.zoneName
    updatedAt String
    Timestamp of the last update of the secondary zone.
    zoneId 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 edgecenter Terraform Provider.
    Viewing docs for edgecenter 0.12.7
    published on Tuesday, May 19, 2026 by edge-center

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial