Skip to content

ResourceGroupProps

Properties for defining a ResourceGroup.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Adblake;
new ResourceGroupProps {
    object DbClusterId,
    object Engine,
    object GroupName,
    object GroupType,
    object AutoStopInterval = null,
    object ClusterMode = null,
    object ClusterSizeResource = null,
    object EnableSpot = null,
    object EngineParams = null,
    object MaxClusterCount = null,
    object MaxComputeResource = null,
    object MinClusterCount = null,
    object MinComputeResource = null,
    object Rules = null
};

Properties

Name Type Description
DbClusterId object Property dbClusterId: The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
Engine object Property engine: The database engine.
GroupName object Property groupName: The name of the resource group.
GroupType object Property groupType: The type of the resource group.
AutoStopInterval object Property autoStopInterval: Automatically stop time, the unit is minutes (m).
ClusterMode object Property clusterMode: This parameter is reserved.
ClusterSizeResource object Property clusterSizeResource: A reserved parameter.
EnableSpot object Property enableSpot: Specifies whether to enable the spot instance feature for the resource group.
EngineParams object Property engineParams: Engine configuration.
MaxClusterCount object Property maxClusterCount: A reserved parameter.
MaxComputeResource object Property maxComputeResource: The maximum reserved computing resources.
MinClusterCount object Property minClusterCount: A reserved parameter.
MinComputeResource object Property minComputeResource: The minimum reserved computing resources.
Rules object Property rules: The job resubmission rules.

DbClusterIdRequired

public object DbClusterId { get; set; }
  • Type: object

Property dbClusterId: The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.


EngineRequired

public object Engine { get; set; }
  • Type: object

Property engine: The database engine.

Valid values:

  • AnalyticDB (default): the AnalyticDB for MySQL engine.
  • SparkWarehouse: the SparkWarehouse engine.

GroupNameRequired

public object GroupName { get; set; }
  • Type: object

Property groupName: The name of the resource group.

The name can be up to 255 characters in length. The name must start with a letter or digit. The name can contain letters, digits, hyphens (-), and underscores (_).


GroupTypeRequired

public object GroupType { get; set; }
  • Type: object

Property groupType: The type of the resource group.

Valid values: Interactive Job Note For more information about resource groups, see Resource group overview.


AutoStopIntervalOptional

public object AutoStopInterval { get; set; }
  • Type: object

Property autoStopInterval: Automatically stop time, the unit is minutes (m).


ClusterModeOptional

public object ClusterMode { get; set; }
  • Type: object

Property clusterMode: This parameter is reserved.


ClusterSizeResourceOptional

public object ClusterSizeResource { get; set; }
  • Type: object

Property clusterSizeResource: A reserved parameter.


EnableSpotOptional

public object EnableSpot { get; set; }
  • Type: object

Property enableSpot: Specifies whether to enable the spot instance feature for the resource group.

After you enable the spot instance feature, you are charged for resources at a lower unit price but the resources are probably released. You can enable the spot instance feature only for job resource groups. Valid values: True False


EngineParamsOptional

public object EngineParams { get; set; }
  • Type: object

Property engineParams: Engine configuration.


MaxClusterCountOptional

public object MaxClusterCount { get; set; }
  • Type: object

Property maxClusterCount: A reserved parameter.


MaxComputeResourceOptional

public object MaxComputeResource { get; set; }
  • Type: object

Property maxComputeResource: The maximum reserved computing resources.

If GroupType is set to Interactive, the maximum amount of reserved computing resources refers to the amount of resources that are not allocated in the cluster. Set this parameter to a value in increments of 16ACU. If GroupType is set to Job, the maximum amount of reserved computing resources refers to the amount of resources that are not allocated in the cluster. Set this parameter to a value in increments of 8ACU.


MinClusterCountOptional

public object MinClusterCount { get; set; }
  • Type: object

Property minClusterCount: A reserved parameter.


MinComputeResourceOptional

public object MinComputeResource { get; set; }
  • Type: object

Property minComputeResource: The minimum reserved computing resources.

When GroupType is set to Interactive, set this parameter to 16ACU. When GroupType is set to Job, set this parameter to 0ACU.


RulesOptional

public object Rules { get; set; }
  • Type: object

Property rules: The job resubmission rules.