DnsDomain

Create a DnsDomain Resource

def DnsDomain(resource_name, opts=None, domain_name=None, group_id=None, lang=None, remark=None, resource_group_id=None, tags=None, __props__=None);
func NewDnsDomain(ctx *Context, name string, args DnsDomainArgs, opts ...ResourceOption) (*DnsDomain, error)
public DnsDomain(string name, DnsDomainArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DnsDomainArgs
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 DnsDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DnsDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DnsDomain Resource Properties

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

Inputs

The DnsDomain resource accepts the following input properties:

DomainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

GroupId string

Id of the group in which the domain will add. If not supplied, then use default group.

Lang string

User language.

Remark string

Remarks information for your domain name.

ResourceGroupId string

The Id of resource group which the dns domain belongs.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

DomainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

GroupId string

Id of the group in which the domain will add. If not supplied, then use default group.

Lang string

User language.

Remark string

Remarks information for your domain name.

ResourceGroupId string

The Id of resource group which the dns domain belongs.

Tags map[string]interface{}

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

domainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

groupId string

Id of the group in which the domain will add. If not supplied, then use default group.

lang string

User language.

remark string

Remarks information for your domain name.

resourceGroupId string

The Id of resource group which the dns domain belongs.

tags {[key: string]: any}

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

domain_name str

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

group_id str

Id of the group in which the domain will add. If not supplied, then use default group.

lang str

User language.

remark str

Remarks information for your domain name.

resource_group_id str

The Id of resource group which the dns domain belongs.

tags Dict[str, Any]

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

Outputs

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

DnsServers List<string>
DomainId string

The domain ID.

Id string
The provider-assigned unique ID for this managed resource.
DnsServers []string
DomainId string

The domain ID.

Id string
The provider-assigned unique ID for this managed resource.
dnsServers string[]
domainId string

The domain ID.

id string
The provider-assigned unique ID for this managed resource.
dns_servers List[str]
domain_id str

The domain ID.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing DnsDomain Resource

Get an existing DnsDomain 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?: DnsDomainState, opts?: CustomResourceOptions): DnsDomain
static get(resource_name, id, opts=None, dns_servers=None, domain_id=None, domain_name=None, group_id=None, lang=None, remark=None, resource_group_id=None, tags=None, __props__=None);
func GetDnsDomain(ctx *Context, name string, id IDInput, state *DnsDomainState, opts ...ResourceOption) (*DnsDomain, error)
public static DnsDomain Get(string name, Input<string> id, DnsDomainState? 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:

DnsServers List<string>
DomainId string

The domain ID.

DomainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

GroupId string

Id of the group in which the domain will add. If not supplied, then use default group.

Lang string

User language.

Remark string

Remarks information for your domain name.

ResourceGroupId string

The Id of resource group which the dns domain belongs.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

DnsServers []string
DomainId string

The domain ID.

DomainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

GroupId string

Id of the group in which the domain will add. If not supplied, then use default group.

Lang string

User language.

Remark string

Remarks information for your domain name.

ResourceGroupId string

The Id of resource group which the dns domain belongs.

Tags map[string]interface{}

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

dnsServers string[]
domainId string

The domain ID.

domainName string

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

groupId string

Id of the group in which the domain will add. If not supplied, then use default group.

lang string

User language.

remark string

Remarks information for your domain name.

resourceGroupId string

The Id of resource group which the dns domain belongs.

tags {[key: string]: any}

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

dns_servers List[str]
domain_id str

The domain ID.

domain_name str

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or “-”, and must not begin or end with “-”, and “-” must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

group_id str

Id of the group in which the domain will add. If not supplied, then use default group.

lang str

User language.

remark str

Remarks information for your domain name.

resource_group_id str

The Id of resource group which the dns domain belongs.

tags Dict[str, Any]

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“, “http://“, or “https://“. It can be a null string.

Package Details

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