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);
func NewZone(ctx *Context, name string, args *ZoneArgs, opts ...ResourceOption) (*Zone, error)
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.

ProxyPattern 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.

ResourceGroupId string

The Id of resource group which the Private Zone belongs.

UserClientIp string

The IP address of the client.

Lang string

The language. Valid values: “zh”, “en”, “jp”.

Name string

The name of the Private Zone.

ProxyPattern 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.

ResourceGroupId string

The Id of resource group which the Private Zone belongs.

UserClientIp string

The IP address of the client.

lang string

The language. Valid values: “zh”, “en”, “jp”.

name string

The name of the Private Zone.

proxyPattern 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.

resourceGroupId string

The Id of resource group which the Private Zone belongs.

userClientIp string

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_id str

The Id of resource group which the Private Zone belongs.

user_client_ip str

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:

CreationTime string
Id string
The provider-assigned unique ID for this managed resource.
IsPtr bool
RecordCount int

The count of the Private Zone Record.

UpdateTime string
CreationTime string
Id string
The provider-assigned unique ID for this managed resource.
IsPtr bool
RecordCount int

The count of the Private Zone Record.

UpdateTime string
creationTime string
id string
The provider-assigned unique ID for this managed resource.
isPtr boolean
recordCount number

The count of the Private Zone Record.

updateTime 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): Zone
static 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);
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
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:

CreationTime string
IsPtr bool
Lang string

The language. Valid values: “zh”, “en”, “jp”.

Name string

The name of the Private Zone.

ProxyPattern 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.

RecordCount int

The count of the Private Zone Record.

Remark string

The remark of the Private Zone.

ResourceGroupId string

The Id of resource group which the Private Zone belongs.

UpdateTime string
UserClientIp string

The IP address of the client.

CreationTime string
IsPtr bool
Lang string

The language. Valid values: “zh”, “en”, “jp”.

Name string

The name of the Private Zone.

ProxyPattern 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.

RecordCount int

The count of the Private Zone Record.

Remark string

The remark of the Private Zone.

ResourceGroupId string

The Id of resource group which the Private Zone belongs.

UpdateTime string
UserClientIp string

The IP address of the client.

creationTime string
isPtr boolean
lang string

The language. Valid values: “zh”, “en”, “jp”.

name string

The name of the Private Zone.

proxyPattern 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.

recordCount number

The count of the Private Zone Record.

remark string

The remark of the Private Zone.

resourceGroupId string

The Id of resource group which the Private Zone belongs.

updateTime string
userClientIp string

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_id str

The Id of resource group which the Private Zone belongs.

update_time str
user_client_ip str

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 alicloud Terraform Provider.