akamai.DnsZone
Explore with Pulumi AI
Create 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)
public DnsZone(String name, DnsZoneArgs args)
public DnsZone(String name, DnsZoneArgs args, CustomResourceOptions options)
type: akamai:DnsZone
properties: # The arguments to resource properties.
options: # 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.
- 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.
- name String
- The unique name of the resource.
- args DnsZoneArgs
- The arguments to resource properties.
- options 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
- End
Customer stringId - Group string
- Masters List<string>
- Sign
And boolServe - Sign
And stringServe Algorithm - Target string
- Tsig
Key DnsZone Tsig Key
- Contract string
- Type string
- Zone string
- Comment string
- End
Customer stringId - Group string
- Masters []string
- Sign
And boolServe - Sign
And stringServe Algorithm - Target string
- Tsig
Key DnsZone Tsig Key Args
- contract String
- type String
- zone String
- comment String
- end
Customer StringId - group String
- masters List<String>
- sign
And BooleanServe - sign
And StringServe Algorithm - target String
- tsig
Key DnsZone Tsig Key
- contract string
- type string
- zone string
- comment string
- end
Customer stringId - group string
- masters string[]
- sign
And booleanServe - sign
And stringServe Algorithm - target string
- tsig
Key DnsZone Tsig Key
- contract str
- type str
- zone str
- comment str
- end_
customer_ strid - group str
- masters Sequence[str]
- sign_
and_ boolserve - sign_
and_ strserve_ algorithm - target str
- tsig_
key DnsZone Tsig Key Args
- contract String
- type String
- zone String
- comment String
- end
Customer StringId - group String
- masters List<String>
- sign
And BooleanServe - sign
And StringServe Algorithm - target String
- tsig
Key Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsZone resource produces the following output properties:
- Activation
State string - Alias
Count int - Id string
The provider-assigned unique ID for this managed resource.
- Version
Id string
- Activation
State string - Alias
Count int - Id string
The provider-assigned unique ID for this managed resource.
- Version
Id string
- activation
State String - alias
Count Integer - id String
The provider-assigned unique ID for this managed resource.
- version
Id String
- activation
State string - alias
Count number - id string
The provider-assigned unique ID for this managed resource.
- version
Id string
- activation_
state str - alias_
count int - id str
The provider-assigned unique ID for this managed resource.
- version_
id str
- activation
State String - alias
Count Number - id String
The provider-assigned unique ID for this managed resource.
- version
Id String
Look up 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)
public static DnsZone get(String name, Output<String> id, DnsZoneState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Activation
State string - Alias
Count int - Comment string
- Contract string
- End
Customer stringId - Group string
- Masters List<string>
- Sign
And boolServe - Sign
And stringServe Algorithm - Target string
- Tsig
Key DnsZone Tsig Key - Type string
- Version
Id string - Zone string
- Activation
State string - Alias
Count int - Comment string
- Contract string
- End
Customer stringId - Group string
- Masters []string
- Sign
And boolServe - Sign
And stringServe Algorithm - Target string
- Tsig
Key DnsZone Tsig Key Args - Type string
- Version
Id string - Zone string
- activation
State String - alias
Count Integer - comment String
- contract String
- end
Customer StringId - group String
- masters List<String>
- sign
And BooleanServe - sign
And StringServe Algorithm - target String
- tsig
Key DnsZone Tsig Key - type String
- version
Id String - zone String
- activation
State string - alias
Count number - comment string
- contract string
- end
Customer stringId - group string
- masters string[]
- sign
And booleanServe - sign
And stringServe Algorithm - target string
- tsig
Key DnsZone Tsig Key - type string
- version
Id string - zone string
- activation_
state str - alias_
count int - comment str
- contract str
- end_
customer_ strid - group str
- masters Sequence[str]
- sign_
and_ boolserve - sign_
and_ strserve_ algorithm - target str
- tsig_
key DnsZone Tsig Key Args - type str
- version_
id str - zone str
- activation
State String - alias
Count Number - comment String
- contract String
- end
Customer StringId - group String
- masters List<String>
- sign
And BooleanServe - sign
And StringServe Algorithm - target String
- tsig
Key Property Map - type String
- version
Id String - zone String
Supporting Types
DnsZoneTsigKey, DnsZoneTsigKeyArgs
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.