Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domain

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dns;
new DomainProps {
    object DomainName,
    object GroupId = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
DomainName object Property domainName: Domain name.
GroupId object Property groupId: The ID of the domain name group.
ResourceGroupId object Property resourceGroupId: Resource group id.
Tags TagsProperty[] Property tags: Tags to attach to instance.

DomainNameRequired

public object DomainName { get; set; }
  • Type: object

Property domainName: Domain name.


GroupIdOptional

public object GroupId { get; set; }
  • Type: object

Property groupId: The ID of the domain name group.

If you do not specify this parameter, pass an empty string, or pass defaultGroup, the domain name is added to the default group. You can call the AddDomainGroup operation to obtain the group ID.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group id.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.