Skip to content

DomainProps

Properties for defining a Domain.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdns"
&alicloudroscdkdns.DomainProps {
    DomainName: interface{},
    GroupId: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkdns.RosDomain.TagsProperty,
}

Properties

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

DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: Domain name.


GroupIdOptional

GroupId interface{}
  • Type: interface{}

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

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group id.


TagsOptional

Tags *[]TagsProperty

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.