Class DnsDomain
Inherited Members
Namespace: Pulumi.AliCloud.Dns
Assembly: Pulumi.AliCloud.dll
Syntax
public class DnsDomain : CustomResource
Constructors
View SourceDnsDomain(String, DnsDomainArgs, CustomResourceOptions)
Create a DnsDomain resource with the given unique name, arguments, and options.
Declaration
public DnsDomain(string name, DnsDomainArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DnsDomainArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDnsServers
Declaration
public Output<ImmutableArray<string>> DnsServers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
DomainId
The domain ID.
Declaration
public Output<string> DomainId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DomainName
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.
Declaration
public Output<string> DomainName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupId
Id of the group in which the domain will add. If not supplied, then use default group.
Declaration
public Output<string> GroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Lang
User language.
Declaration
public Output<string> Lang { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Remark
Remarks information for your domain name.
Declaration
public Output<string> Remark { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupId
The Id of resource group which the dns domain belongs.
Declaration
public Output<string> ResourceGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
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.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, DnsDomainState, CustomResourceOptions)
Get an existing DnsDomain resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DnsDomain Get(string name, Input<string> id, DnsDomainState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DnsDomainState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DnsDomain |