ResourceGroupProps
Properties for defining a ResourceGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dataworks-resourcegroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdataworks"
&alicloudroscdkdataworks.ResourceGroupProps {
Name: interface{},
PaymentType: interface{},
VpcId: interface{},
VSwitchId: interface{},
AutoRenewEnabled: interface{},
PaymentDuration: interface{},
PaymentDurationUnit: interface{},
Remark: interface{},
ResourceGroupId: interface{},
Spec: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkdataworks.RosResourceGroup.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
Name | interface{} | Property name: The name of a common resource group that creates a common resource group must start with a letter and can contain letters, numbers, underscores (_), up to 128 characters. |
PaymentType | interface{} | Property paymentType: The type of payment for resource groups, PrePaid represents annual and monthly payments, and PostPaid represents payment by volume. |
VpcId | interface{} | Property vpcId: The default bound VPC ID. |
VSwitchId | interface{} | Property vSwitchId: The default bound switch ID. |
AutoRenewEnabled | interface{} | Property autoRenewEnabled: Whether to renew automatically. |
PaymentDuration | interface{} | Property paymentDuration: Paid time. |
PaymentDurationUnit | interface{} | Property paymentDurationUnit: Paid time unit. |
Remark | interface{} | Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters. |
ResourceGroupId | interface{} | Property resourceGroupId: Alibaba Cloud Resource Group ID. |
Spec | interface{} | Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid. |
Tags | *[]TagsProperty | Property tags: Tags to attach to ResourceGroup. |
NameRequired
Name interface{}
- Type: interface{}
Property name: The name of a common resource group that creates a common resource group must start with a letter and can contain letters, numbers, underscores (_), up to 128 characters.
PaymentTypeRequired
PaymentType interface{}
- Type: interface{}
Property paymentType: The type of payment for resource groups, PrePaid represents annual and monthly payments, and PostPaid represents payment by volume.
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The default bound VPC ID.
VSwitchIdRequired
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The default bound switch ID.
AutoRenewEnabledOptional
AutoRenewEnabled interface{}
- Type: interface{}
Property autoRenewEnabled: Whether to renew automatically.
PaymentDurationOptional
PaymentDuration interface{}
- Type: interface{}
Property paymentDuration: Paid time.
Default is 1.
PaymentDurationUnitOptional
PaymentDurationUnit interface{}
- Type: interface{}
Property paymentDurationUnit: Paid time unit.
Valid values: Month: represents monthly subscription Year: represents annual subscription. Default is Month.
RemarkOptional
Remark interface{}
- Type: interface{}
Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Alibaba Cloud Resource Group ID.
SpecOptional
Spec interface{}
- Type: interface{}
Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to ResourceGroup.
Max support 20 tags to add during create ResourceGroup. Each tag with two properties Key and Value, and Key is required.