Skip to content

ResourceGroupProps

Properties for defining a ResourceGroup.

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

Initializer

import com.aliyun.ros.cdk.dataworks.ResourceGroupProps;
ResourceGroupProps.builder()
    .name(java.lang.String)
    .name(IResolvable)
    .paymentType(java.lang.String)
    .paymentType(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .autoRenewEnabled(java.lang.Boolean)
//  .autoRenewEnabled(IResolvable)
//  .paymentDuration(java.lang.Number)
//  .paymentDuration(IResolvable)
//  .paymentDurationUnit(java.lang.String)
//  .paymentDurationUnit(IResolvable)
//  .remark(java.lang.String)
//  .remark(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .spec(java.lang.Number)
//  .spec(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
name java.lang.String OR com.aliyun.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 java.lang.String OR com.aliyun.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 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The default bound VPC ID.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The default bound switch ID.
autoRenewEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewEnabled: Whether to renew automatically.
paymentDuration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property paymentDuration: Paid time.
paymentDurationUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentDurationUnit: Paid time unit.
remark java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property remark: Remarks for creating a common resource group can contain letters, Chinese, numbers, underscores (_), up to 128 characters.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Alibaba Cloud Resource Group ID.
spec java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property spec: Resource group specifications, unit CU, required when the resource group payment mode is PrePaid.
tags java.util.List<TagsProperty> Property tags: Tags to attach to ResourceGroup.

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getPaymentType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The default bound VPC ID.


vSwitchIdRequired

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The default bound switch ID.


autoRenewEnabledOptional

public java.lang.Object getAutoRenewEnabled();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenewEnabled: Whether to renew automatically.


paymentDurationOptional

public java.lang.Object getPaymentDuration();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property paymentDuration: Paid time.

Default is 1.


paymentDurationUnitOptional

public java.lang.Object getPaymentDurationUnit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property paymentDurationUnit: Paid time unit.

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


remarkOptional

public java.lang.Object getRemark();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Alibaba Cloud Resource Group ID.


specOptional

public java.lang.Object getSpec();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


tagsOptional

public java.util.List<TagsProperty> getTags();

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.