Skip to content

ResourceGroupProps

Properties for defining a ResourceGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dataworks-resourcegroup

Initializer

import { ResourceGroupProps } from '@alicloud/ros-cdk-dataworks'
const resourceGroupProps: ResourceGroupProps = { ... }

Properties

Name Type Description
name string | @alicloud/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.
paymentType string | @alicloud/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.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The default bound VPC ID.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: The default bound switch ID.
autoRenewEnabled boolean | @alicloud/ros-cdk-core.IResolvable Property autoRenewEnabled: Whether to renew automatically.
paymentDuration number | @alicloud/ros-cdk-core.IResolvable Property paymentDuration: Paid time.
paymentDurationUnit string | @alicloud/ros-cdk-core.IResolvable Property paymentDurationUnit: Paid time unit.
remark string | @alicloud/ros-cdk-core.IResolvable Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Alibaba Cloud Resource Group ID.
spec number | @alicloud/ros-cdk-core.IResolvable 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

public readonly name: string | IResolvable;
  • Type: string | @alicloud/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.


paymentTypeRequired

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/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.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: The default bound VPC ID.


vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: The default bound switch ID.


autoRenewEnabledOptional

public readonly autoRenewEnabled: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property autoRenewEnabled: Whether to renew automatically.


paymentDurationOptional

public readonly paymentDuration: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property paymentDuration: Paid time.

Default is 1.


paymentDurationUnitOptional

public readonly paymentDurationUnit: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentDurationUnit: Paid time unit.

Valid values: Month: represents monthly subscription Year: represents annual subscription. Default is Month.


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: Alibaba Cloud Resource Group ID.


specOptional

public readonly spec: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid.


tagsOptional

public readonly tags: 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.