ResourceGroupProps
Properties for defining a ResourceGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dataworks-resourcegroup
Initializer
import ros_cdk_dataworks
ros_cdk_dataworks.ResourceGroupProps(
name: typing.Union[str, IResolvable],
payment_type: typing.Union[str, IResolvable],
vpc_id: typing.Union[str, IResolvable],
v_switch_id: typing.Union[str, IResolvable],
auto_renew_enabled: typing.Union[bool, IResolvable] = None,
payment_duration: typing.Union[typing.Union[int, float], IResolvable] = None,
payment_duration_unit: typing.Union[str, IResolvable] = None,
remark: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
spec: typing.Union[typing.Union[int, float], IResolvable] = None,
tags: typing.List[TagsProperty] = None
)
Properties
| Name | Type | Description |
|---|---|---|
name | typing.Union[str, ros_cdk_core.IResolvable] | 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. |
payment_type | typing.Union[str, ros_cdk_core.IResolvable] | Property paymentType: The type of payment for resource groups, PrePaid represents annual and monthly payments, and PostPaid represents payment by volume. |
vpc_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vpcId: The default bound VPC ID. |
v_switch_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vSwitchId: The default bound switch ID. |
auto_renew_enabled | typing.Union[bool, ros_cdk_core.IResolvable] | Property autoRenewEnabled: Whether to renew automatically. |
payment_duration | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property paymentDuration: Paid time. |
payment_duration_unit | typing.Union[str, ros_cdk_core.IResolvable] | Property paymentDurationUnit: Paid time unit. |
remark | typing.Union[str, ros_cdk_core.IResolvable] | Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: Alibaba Cloud Resource Group ID. |
spec | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid. |
tags | typing.List[TagsProperty] | Property tags: Tags to attach to ResourceGroup. |
nameRequired
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
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.
payment_typeRequired
payment_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property paymentType: The type of payment for resource groups, PrePaid represents annual and monthly payments, and PostPaid represents payment by volume.
vpc_idRequired
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: The default bound VPC ID.
v_switch_idRequired
v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vSwitchId: The default bound switch ID.
auto_renew_enabledOptional
auto_renew_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property autoRenewEnabled: Whether to renew automatically.
payment_durationOptional
payment_duration: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property paymentDuration: Paid time.
Default is 1.
payment_duration_unitOptional
payment_duration_unit: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property paymentDurationUnit: Paid time unit.
Valid values: Month: represents monthly subscription Year: represents annual subscription. Default is Month.
remarkOptional
remark: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Alibaba Cloud Resource Group ID.
specOptional
spec: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid.
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[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.