public class CreateDBInstanceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateDBInstanceRequest.CreateDBInstanceRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
backupId
The ID of the backup set.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
createSampleData
Specifies whether to load a sample dataset after the instance is created.
|
String |
DBInstanceCategory
The edition of the instance.
|
String |
DBInstanceClass
The instance type of the instance.
|
String |
DBInstanceDescription
The description of the instance.
|
String |
DBInstanceGroupCount
The number of compute groups.
|
String |
DBInstanceMode
The resource type of the instance.
|
String |
deployMode |
Boolean |
enableSSL |
String |
encryptionKey
The ID of the encryption key.
|
String |
encryptionType
The encryption type.
|
String |
engine
The database engine of the instance.
|
String |
engineVersion
The version of the database engine.
|
Integer |
idleTime
The wait time for the instance that has no traffic to become idle.
|
String |
instanceNetworkType
The network type of the instance.
|
String |
instanceSpec
The specifications of compute nodes.
|
Integer |
masterCU
The amount of coordinator node resources.
|
String |
masterNodeNum
This parameter is no longer used.
|
Long |
ownerId |
String |
payType
The billing method of the instance.
|
String |
period
The unit of the subscription duration.
|
String |
privateIpAddress
This parameter is no longer used.
|
String |
prodType |
String |
regionId
The ID of the region.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs.
|
String |
securityIPList
The IP address whitelist of the instance.
|
String |
segDiskPerformanceLevel
The performance level of ESSDs.
|
String |
segNodeNum
The number of compute nodes.
|
String |
segStorageType
The disk storage type of the instance.
|
String |
serverlessMode
The type of the Serverless mode.
|
Integer |
serverlessResource
The threshold of computing resources.
|
String |
srcDbInstanceName
The ID of the source instance.
|
String |
standbyVSwitchId |
String |
standbyZoneId |
Long |
storageSize
The storage capacity of the instance.
|
String |
storageType
This parameter is no longer used.
|
List<CreateDBInstanceRequest.CreateDBInstanceRequestTag> |
tag
The list of tags.
|
String |
usedTime
The subscription duration.
|
String |
vectorConfigurationStatus
Specifies whether to enable vector search engine optimization.
|
String |
VPCId
The VPC ID of the instance.
|
String |
vSwitchId
The vSwitch ID of the instance.
|
String |
zoneId
The zone ID of the read-only instance.
|
| 构造器和说明 |
|---|
CreateDBInstanceRequest() |
@NameInMap(value="BackupId") public String backupId
The ID of the backup set.
example:You can call the DescribeDataBackups operation to query the IDs of all backup sets in the instance.
1111111111
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. For more information, see Ensure idempotence.
example:0c593ea1-3bea-11e9-b96b-88**********
@NameInMap(value="CreateSampleData") public Boolean createSampleData
Specifies whether to load a sample dataset after the instance is created. Valid values:
example:If you do not specify this parameter, no sample dataset is loaded.
false
@NameInMap(value="DBInstanceCategory") public String DBInstanceCategory
The edition of the instance. Valid values:
example:This parameter must be specified when you create an instance in elastic storage mode.
HighAvailability
@NameInMap(value="DBInstanceClass") public String DBInstanceClass
The instance type of the instance. For information, see Instance types.
example:This parameter must be specified when you create an instance in reserved storage mode.
gpdb.group.segsdx1
@NameInMap(value="DBInstanceDescription") public String DBInstanceDescription
The description of the instance.
example:test
@NameInMap(value="DBInstanceGroupCount") public String DBInstanceGroupCount
The number of compute groups. Valid values: 2, 4, 8, 12, 16, 24, 32, 64, 96, and 128.
example:This parameter must be specified when you create an instance in reserved storage mode.
2
@NameInMap(value="DBInstanceMode") public String DBInstanceMode
The resource type of the instance. Valid values:
This parameter must be specified.
This parameter is required.
example:StorageElastic
@NameInMap(value="DeployMode") public String deployMode
@NameInMap(value="EnableSSL") public Boolean enableSSL
@NameInMap(value="EncryptionKey") public String encryptionKey
The ID of the encryption key.
example:If EncryptionType is set to CloudDisk, you must specify an encryption key that resides in the same region as the cloud disk that is specified by EncryptionType. Otherwise, leave this parameter empty.
0d2470df-da7b-4786-b981-88888888****
@NameInMap(value="EncryptionType") public String encryptionType
The encryption type. Valid values:
example:Disk encryption cannot be disabled after it is enabled.
CloudDisk
@NameInMap(value="Engine") public String engine
The database engine of the instance. Set the value to gpdb.
This parameter is required.
example:gpdb
@NameInMap(value="EngineVersion") public String engineVersion
The version of the database engine. Valid values:
This parameter is required.
example:6.0
@NameInMap(value="IdleTime") public Integer idleTime
The wait time for the instance that has no traffic to become idle. Minimum value: 60. Default value: 600. Unit: seconds.
example:This parameter must be specified only when you create an instance in automatic Serverless mode.
600
@NameInMap(value="InstanceNetworkType") public String instanceNetworkType
The network type of the instance. Set the value to VPC.
Only the Virtual Private Cloud (VPC) type is supported in Alibaba Cloud public cloud.
If you do not specify this parameter, VPC is used.
VPC
@NameInMap(value="InstanceSpec") public String instanceSpec
The specifications of compute nodes.
Valid values for High-availability Edition instances in elastic storage mode:
Valid values for Basic Edition instances in elastic storage mode:
Valid values for instances in Serverless mode:
example:This parameter must be specified when you create an instance in elastic storage mode or Serverless mode.
2C16G
@NameInMap(value="MasterCU") public Integer masterCU
The amount of coordinator node resources. Valid values:
example:You are charged for coordinator node resources of more than 8 CUs.
8 CU
@NameInMap(value="MasterNodeNum") public String masterNodeNum
This parameter is no longer used.
example:1
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PayType") public String payType
The billing method of the instance. Valid values:
If you do not specify this parameter, Postpaid is used.
You can obtain more cost savings if you create a subscription instance for one year or longer. We recommend that you select the billing method that best suits your needs.
Prepaid
@NameInMap(value="Period") public String period
The unit of the subscription duration. Valid values:
This parameter must be specified when PayType is set to Prepaid.
Month
@NameInMap(value="PrivateIpAddress") public String privateIpAddress
This parameter is no longer used.
example:1.1.1.*
@NameInMap(value="ProdType") public String prodType
@NameInMap(value="RegionId") public String regionId
The ID of the region. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs.
example:rg-bp67acfmxazb4p****
@NameInMap(value="SecurityIPList") public String securityIPList
The IP address whitelist of the instance.
A value of 127.0.0.1 denies access from any external IP address. You can call the ModifySecurityIps operation to modify the IP address whitelist after you create an instance.
example:127.0.0.1
@NameInMap(value="SegDiskPerformanceLevel") public String segDiskPerformanceLevel
The performance level of ESSDs. Valid values:
This parameter takes effect only when SegStorageType is set to cloud_essd.
If you do not specify this parameter, pl1 is used.
pl1
@NameInMap(value="SegNodeNum") public String segNodeNum
The number of compute nodes.
example:This parameter must be specified when you create an instance in elastic storage mode or Serverless mode.
4
@NameInMap(value="SegStorageType") public String segStorageType
The disk storage type of the instance. Only enhanced SSDs (ESSDs) are supported. Set the value to cloud_essd.
example:This parameter must be specified when you create an instance in elastic storage mode.
cloud_essd
@NameInMap(value="ServerlessMode") public String serverlessMode
The type of the Serverless mode. Valid values:
example:This parameter must be specified only when you create an instance in Serverless mode.
Auto
@NameInMap(value="ServerlessResource") public Integer serverlessResource
The threshold of computing resources. Unit: AnalyticDB compute unit (ACU). Valid values: 8 to 32. The value must be in increments of 8 ACUs. Default value: 32.
example:This parameter must be specified only when you create an instance in automatic Serverless mode.
32
@NameInMap(value="SrcDbInstanceName") public String srcDbInstanceName
The ID of the source instance.
example:You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
gp-bp***************
@NameInMap(value="StandbyVSwitchId") public String standbyVSwitchId
@NameInMap(value="StandbyZoneId") public String standbyZoneId
@NameInMap(value="StorageSize") public Long storageSize
The storage capacity of the instance. Unit: GB. Valid values: 50 to 6000.
example:This parameter must be specified when you create an instance in elastic storage mode.
200
@NameInMap(value="StorageType") public String storageType
This parameter is no longer used.
example:null
@NameInMap(value="Tag") public List<CreateDBInstanceRequest.CreateDBInstanceRequestTag> tag
The list of tags.
@NameInMap(value="UsedTime") public String usedTime
The subscription duration.
This parameter must be specified when PayType is set to Prepaid.
1
@NameInMap(value="VPCId") public String VPCId
The VPC ID of the instance.
This parameter must be specified.
The region where the VPC resides must be the same as the region that is specified by RegionId.
vpc-bp*******************
@NameInMap(value="VSwitchId") public String vSwitchId
The vSwitch ID of the instance.
This parameter must be specified.
The zone where the vSwitch resides must be the same as the zone that is specified by ZoneId.
vsw-bp*******************
@NameInMap(value="VectorConfigurationStatus") public String vectorConfigurationStatus
Specifies whether to enable vector search engine optimization. Valid values:
We recommend that you do not enable vector search engine optimization in mainstream analysis, data warehousing, and real-time data warehousing scenarios.
We recommend that you enable vector search engine optimization in AI-generated content (AIGC) and vector retrieval scenarios that require the vector analysis engine.
enabled
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the read-only instance. You can call the DescribeRegions operation to query the most recent zone list.
This parameter is required.
example:cn-hangzhou-i
public static CreateDBInstanceRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateDBInstanceRequest setBackupId(String backupId)
public String getBackupId()
public CreateDBInstanceRequest setClientToken(String clientToken)
public String getClientToken()
public CreateDBInstanceRequest setCreateSampleData(Boolean createSampleData)
public Boolean getCreateSampleData()
public CreateDBInstanceRequest setDBInstanceCategory(String DBInstanceCategory)
public String getDBInstanceCategory()
public CreateDBInstanceRequest setDBInstanceClass(String DBInstanceClass)
public String getDBInstanceClass()
public CreateDBInstanceRequest setDBInstanceDescription(String DBInstanceDescription)
public String getDBInstanceDescription()
public CreateDBInstanceRequest setDBInstanceGroupCount(String DBInstanceGroupCount)
public String getDBInstanceGroupCount()
public CreateDBInstanceRequest setDBInstanceMode(String DBInstanceMode)
public String getDBInstanceMode()
public CreateDBInstanceRequest setDeployMode(String deployMode)
public String getDeployMode()
public CreateDBInstanceRequest setEnableSSL(Boolean enableSSL)
public Boolean getEnableSSL()
public CreateDBInstanceRequest setEncryptionKey(String encryptionKey)
public String getEncryptionKey()
public CreateDBInstanceRequest setEncryptionType(String encryptionType)
public String getEncryptionType()
public CreateDBInstanceRequest setEngine(String engine)
public String getEngine()
public CreateDBInstanceRequest setEngineVersion(String engineVersion)
public String getEngineVersion()
public CreateDBInstanceRequest setIdleTime(Integer idleTime)
public Integer getIdleTime()
public CreateDBInstanceRequest setInstanceNetworkType(String instanceNetworkType)
public String getInstanceNetworkType()
public CreateDBInstanceRequest setInstanceSpec(String instanceSpec)
public String getInstanceSpec()
public CreateDBInstanceRequest setMasterCU(Integer masterCU)
public Integer getMasterCU()
public CreateDBInstanceRequest setMasterNodeNum(String masterNodeNum)
public String getMasterNodeNum()
public CreateDBInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateDBInstanceRequest setPayType(String payType)
public String getPayType()
public CreateDBInstanceRequest setPeriod(String period)
public String getPeriod()
public CreateDBInstanceRequest setPrivateIpAddress(String privateIpAddress)
public String getPrivateIpAddress()
public CreateDBInstanceRequest setProdType(String prodType)
public String getProdType()
public CreateDBInstanceRequest setRegionId(String regionId)
public String getRegionId()
public CreateDBInstanceRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateDBInstanceRequest setSecurityIPList(String securityIPList)
public String getSecurityIPList()
public CreateDBInstanceRequest setSegDiskPerformanceLevel(String segDiskPerformanceLevel)
public String getSegDiskPerformanceLevel()
public CreateDBInstanceRequest setSegNodeNum(String segNodeNum)
public String getSegNodeNum()
public CreateDBInstanceRequest setSegStorageType(String segStorageType)
public String getSegStorageType()
public CreateDBInstanceRequest setServerlessMode(String serverlessMode)
public String getServerlessMode()
public CreateDBInstanceRequest setServerlessResource(Integer serverlessResource)
public Integer getServerlessResource()
public CreateDBInstanceRequest setSrcDbInstanceName(String srcDbInstanceName)
public String getSrcDbInstanceName()
public CreateDBInstanceRequest setStandbyVSwitchId(String standbyVSwitchId)
public String getStandbyVSwitchId()
public CreateDBInstanceRequest setStandbyZoneId(String standbyZoneId)
public String getStandbyZoneId()
public CreateDBInstanceRequest setStorageSize(Long storageSize)
public Long getStorageSize()
public CreateDBInstanceRequest setStorageType(String storageType)
public String getStorageType()
public CreateDBInstanceRequest setTag(List<CreateDBInstanceRequest.CreateDBInstanceRequestTag> tag)
public List<CreateDBInstanceRequest.CreateDBInstanceRequestTag> getTag()
public CreateDBInstanceRequest setUsedTime(String usedTime)
public String getUsedTime()
public CreateDBInstanceRequest setVPCId(String VPCId)
public String getVPCId()
public CreateDBInstanceRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public CreateDBInstanceRequest setVectorConfigurationStatus(String vectorConfigurationStatus)
public String getVectorConfigurationStatus()
public CreateDBInstanceRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.