Zone
Create a Zone Resource
new Zone(name: string, args?: ZoneArgs, opts?: CustomResourceOptions);def Zone(resource_name, opts=None, lang=None, name=None, proxy_pattern=None, remark=None, resource_group_id=None, user_client_ip=None, __props__=None);public Zone(string name, ZoneArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZoneArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Zone Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Zone resource accepts the following input properties:
- Lang string
The language. Valid values: “zh”, “en”, “jp”.
- Name string
The name of the Private Zone.
- Proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- Remark string
The remark of the Private Zone.
- Resource
Group stringId The Id of resource group which the Private Zone belongs.
- User
Client stringIp The IP address of the client.
- Lang string
The language. Valid values: “zh”, “en”, “jp”.
- Name string
The name of the Private Zone.
- Proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- Remark string
The remark of the Private Zone.
- Resource
Group stringId The Id of resource group which the Private Zone belongs.
- User
Client stringIp The IP address of the client.
- lang string
The language. Valid values: “zh”, “en”, “jp”.
- name string
The name of the Private Zone.
- proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- remark string
The remark of the Private Zone.
- resource
Group stringId The Id of resource group which the Private Zone belongs.
- user
Client stringIp The IP address of the client.
- lang str
The language. Valid values: “zh”, “en”, “jp”.
- name str
The name of the Private Zone.
- proxy_
pattern str The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- remark str
The remark of the Private Zone.
- resource_
group_ strid The Id of resource group which the Private Zone belongs.
- user_
client_ strip The IP address of the client.
Outputs
All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:
- Creation
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ptr bool - Record
Count int The count of the Private Zone Record.
- Update
Time string
- Creation
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ptr bool - Record
Count int The count of the Private Zone Record.
- Update
Time string
- creation
Time string - id string
- The provider-assigned unique ID for this managed resource.
- is
Ptr boolean - record
Count number The count of the Private Zone Record.
- update
Time string
- creation_
time str - id str
- The provider-assigned unique ID for this managed resource.
- is_
ptr bool - record_
count float The count of the Private Zone Record.
- update_
time str
Look up an Existing Zone Resource
Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zonestatic get(resource_name, id, opts=None, creation_time=None, is_ptr=None, lang=None, name=None, proxy_pattern=None, record_count=None, remark=None, resource_group_id=None, update_time=None, user_client_ip=None, __props__=None);public static Zone Get(string name, Input<string> id, ZoneState? 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:
- Creation
Time string - Is
Ptr bool - Lang string
The language. Valid values: “zh”, “en”, “jp”.
- Name string
The name of the Private Zone.
- Proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- Record
Count int The count of the Private Zone Record.
- Remark string
The remark of the Private Zone.
- Resource
Group stringId The Id of resource group which the Private Zone belongs.
- Update
Time string - User
Client stringIp The IP address of the client.
- Creation
Time string - Is
Ptr bool - Lang string
The language. Valid values: “zh”, “en”, “jp”.
- Name string
The name of the Private Zone.
- Proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- Record
Count int The count of the Private Zone Record.
- Remark string
The remark of the Private Zone.
- Resource
Group stringId The Id of resource group which the Private Zone belongs.
- Update
Time string - User
Client stringIp The IP address of the client.
- creation
Time string - is
Ptr boolean - lang string
The language. Valid values: “zh”, “en”, “jp”.
- name string
The name of the Private Zone.
- proxy
Pattern string The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- record
Count number The count of the Private Zone Record.
- remark string
The remark of the Private Zone.
- resource
Group stringId The Id of resource group which the Private Zone belongs.
- update
Time string - user
Client stringIp The IP address of the client.
- creation_
time str - is_
ptr bool - lang str
The language. Valid values: “zh”, “en”, “jp”.
- name str
The name of the Private Zone.
- proxy_
pattern str The recursive DNS proxy. Valid values: - ZONE: indicates that the recursive DNS proxy is disabled. - RECORD: indicates that the recursive DNS proxy is enabled.
- record_
count float The count of the Private Zone Record.
- remark str
The remark of the Private Zone.
- resource_
group_ strid The Id of resource group which the Private Zone belongs.
- update_
time str - user_
client_ strip The IP address of the client.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.