public class ZoneInfo extends AbstractModel
Constructor and Description |
---|
ZoneInfo() |
ZoneInfo(ZoneInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getSpecId()
Get ID of specification purchasable in this AZ, which, together with the returned value of the `DescribeProductConfig` API, can be used to find out the specifications currently purchasable in the AZ
|
String |
getVersion()
Get Information of database versions purchasable under the current AZ and specification.
|
String |
getZone()
Get AZ ID in the format of ap-guangzhou-1 (i.e., Guangzhou Zone 1)
|
Long |
getZoneId()
Get Numeric ID of AZ
|
String |
getZoneName()
Get AZ name
|
void |
setSpecId(Long SpecId)
Set ID of specification purchasable in this AZ, which, together with the returned value of the `DescribeProductConfig` API, can be used to find out the specifications currently purchasable in the AZ
|
void |
setVersion(String Version)
Set Information of database versions purchasable under the current AZ and specification.
|
void |
setZone(String Zone)
Set AZ ID in the format of ap-guangzhou-1 (i.e., Guangzhou Zone 1)
|
void |
setZoneId(Long ZoneId)
Set Numeric ID of AZ
|
void |
setZoneName(String ZoneName)
Set AZ name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ZoneInfo()
public ZoneInfo(ZoneInfo source)
public String getZone()
public void setZone(String Zone)
Zone
- AZ ID in the format of ap-guangzhou-1 (i.e., Guangzhou Zone 1)public String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- AZ namepublic Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- Numeric ID of AZpublic Long getSpecId()
public void setSpecId(Long SpecId)
SpecId
- ID of specification purchasable in this AZ, which, together with the returned value of the `DescribeProductConfig` API, can be used to find out the specifications currently purchasable in the AZpublic String getVersion()
public void setVersion(String Version)
Version
- Information of database versions purchasable under the current AZ and specification. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise)Copyright © 2023. All rights reserved.