DnsZone

Create a DnsZone Resource

new DnsZone(name: string, args: DnsZoneArgs, opts?: CustomResourceOptions);
@overload
def DnsZone(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            contract: Optional[str] = None,
            end_customer_id: Optional[str] = None,
            group: Optional[str] = None,
            masters: Optional[Sequence[str]] = None,
            sign_and_serve: Optional[bool] = None,
            sign_and_serve_algorithm: Optional[str] = None,
            target: Optional[str] = None,
            tsig_key: Optional[DnsZoneTsigKeyArgs] = None,
            type: Optional[str] = None,
            zone: Optional[str] = None)
@overload
def DnsZone(resource_name: str,
            args: DnsZoneArgs,
            opts: Optional[ResourceOptions] = None)
func NewDnsZone(ctx *Context, name string, args DnsZoneArgs, opts ...ResourceOption) (*DnsZone, error)
public DnsZone(string name, DnsZoneArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DnsZoneArgs
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 DnsZoneArgs
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 DnsZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DnsZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DnsZone Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DnsZone resource accepts the following input properties:

Contract string
Type string
Zone string
Comment string
EndCustomerId string
Group string
Masters List<string>
SignAndServe bool
SignAndServeAlgorithm string
Target string
TsigKey DnsZoneTsigKeyArgs

Outputs

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

ActivationState string
AliasCount int
Id string
The provider-assigned unique ID for this managed resource.
VersionId string
ActivationState string
AliasCount int
Id string
The provider-assigned unique ID for this managed resource.
VersionId string
activationState string
aliasCount number
id string
The provider-assigned unique ID for this managed resource.
versionId string
activation_state str
alias_count int
id str
The provider-assigned unique ID for this managed resource.
version_id str

Look up an Existing DnsZone Resource

Get an existing DnsZone 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?: DnsZoneState, opts?: CustomResourceOptions): DnsZone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        activation_state: Optional[str] = None,
        alias_count: Optional[int] = None,
        comment: Optional[str] = None,
        contract: Optional[str] = None,
        end_customer_id: Optional[str] = None,
        group: Optional[str] = None,
        masters: Optional[Sequence[str]] = None,
        sign_and_serve: Optional[bool] = None,
        sign_and_serve_algorithm: Optional[str] = None,
        target: Optional[str] = None,
        tsig_key: Optional[DnsZoneTsigKeyArgs] = None,
        type: Optional[str] = None,
        version_id: Optional[str] = None,
        zone: Optional[str] = None) -> DnsZone
func GetDnsZone(ctx *Context, name string, id IDInput, state *DnsZoneState, opts ...ResourceOption) (*DnsZone, error)
public static DnsZone Get(string name, Input<string> id, DnsZoneState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Supporting Types

DnsZoneTsigKey

Algorithm string
Name string
Secret string
Algorithm string
Name string
Secret string
algorithm string
name string
secret string

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.