public class CreateDBResourceGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
DBInstanceId
The instance ID.
|
Long |
ownerId |
String |
resourceGroupConfig
The configurations of the resource group.
|
String |
resourceGroupName
The name of the resource group.
|
| 构造器和说明 |
|---|
CreateDBResourceGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateDBResourceGroupRequest |
build(Map<String,?> map) |
String |
getDBInstanceId() |
Long |
getOwnerId() |
String |
getResourceGroupConfig() |
String |
getResourceGroupName() |
CreateDBResourceGroupRequest |
setDBInstanceId(String DBInstanceId) |
CreateDBResourceGroupRequest |
setOwnerId(Long ownerId) |
CreateDBResourceGroupRequest |
setResourceGroupConfig(String resourceGroupConfig) |
CreateDBResourceGroupRequest |
setResourceGroupName(String resourceGroupName) |
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
This parameter is required.
example:gp-xxxxxxxxx
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceGroupConfig") public String resourceGroupConfig
The configurations of the resource group.
CpuRateLimit: the percentage of CPU resources that are available for the resource group. Unit: %.
MemoryLimit: the percentage of memory resources that are available for the resource group. Unit: %.
MemorySharedQuota: the percentage of memory resources shared among transactions that are submitted to the resource group. Unit: %. Default value: 80.
MemorySpillRatio: the memory spill ratio for memory-intensive transactions. When the memory that is used by memory-intensive transactions reaches this value, data is spilled to disks. Unit: %. Default value: 0.
Concurrency: the maximum number of concurrent transactions or parallel queries that are allowed for a resource group. Default value: 20.
This parameter is required.
example:{"CpuRateLimit":"10","MemoryLimit":"12","MemorySharedQuota":"20","MemorySpillRatio":"75","Concurrency":"3"}
@NameInMap(value="ResourceGroupName") public String resourceGroupName
The name of the resource group.
This parameter is required.
example:testgroup
public static CreateDBResourceGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateDBResourceGroupRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public CreateDBResourceGroupRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDBResourceGroupRequest setResourceGroupConfig(String resourceGroupConfig)
public String getResourceGroupConfig()
public CreateDBResourceGroupRequest setResourceGroupName(String resourceGroupName)
public String getResourceGroupName()
Copyright © 2024. All rights reserved.