Class Domain
Inherited Members
Namespace: Pulumi.AliCloud.Dns
Assembly: Pulumi.AliCloud.dll
Syntax
[Obsolete("This resource has been deprecated in favour of DnsDomain")]
public class Domain : CustomResource
Constructors
View SourceDomain(String, DomainArgs, CustomResourceOptions)
Create a Domain resource with the given unique name, arguments, and options.
Declaration
public Domain(string name, DomainArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DomainArgs | 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
A list of the dns server name.
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> |
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> |
Name
Name of the domain. This name without suffix can have a string of 1 to 63 characters, 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> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupId
The Id of resource group which the dns belongs.
Declaration
public Output<string> ResourceGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DomainState, CustomResourceOptions)
Get an existing Domain resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Domain Get(string name, Input<string> id, DomainState 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. |
| DomainState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Domain |