Show / Hide Table of Contents

Class Domain

Inheritance
System.Object
Resource
CustomResource
Domain
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 Source

Domain(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 Source

DnsServers

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>>
View Source

DomainId

The domain ID.

Declaration
public Output<string> DomainId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.