public class ZoneResourceConfiguration extends AbstractModel
header, skipSign
Constructor and Description |
---|
ZoneResourceConfiguration() |
ZoneResourceConfiguration(ZoneResourceConfiguration 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 |
---|---|
AllNodeResourceSpec |
getAllNodeResourceSpec()
Get The specs of all nodes.
|
Placement |
getPlacement()
Get The instance location.
|
VirtualPrivateCloud |
getVirtualPrivateCloud()
Get The VPC configuration information.
|
String |
getZoneTag()
Get Leave ZoneTag empty in the case of a single availability zone.
|
void |
setAllNodeResourceSpec(AllNodeResourceSpec AllNodeResourceSpec)
Set The specs of all nodes.
|
void |
setPlacement(Placement Placement)
Set The instance location.
|
void |
setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
Set The VPC configuration information.
|
void |
setZoneTag(String ZoneTag)
Set Leave ZoneTag empty in the case of a single availability zone.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ZoneResourceConfiguration()
public ZoneResourceConfiguration(ZoneResourceConfiguration source)
public VirtualPrivateCloud getVirtualPrivateCloud()
public void setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
VirtualPrivateCloud
- The VPC configuration information. This parameter is used to specify the VPC ID, subnet ID and other information.
Note: This field may return null, indicating that no valid values can be obtained.public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- The instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.
Note: This field may return null, indicating that no valid values can be obtained.public AllNodeResourceSpec getAllNodeResourceSpec()
public void setAllNodeResourceSpec(AllNodeResourceSpec AllNodeResourceSpec)
AllNodeResourceSpec
- The specs of all nodes.
Note: This field may return null, indicating that no valid values can be obtained.public String getZoneTag()
public void setZoneTag(String ZoneTag)
ZoneTag
- Leave ZoneTag empty in the case of a single availability zone. In the case of a dual-AZ deployment, select master for the first availability zone's ZoneTag and standby for the second. In the case of a three-AZ deployment, select master for the first availability zone's ZoneTag, standby for the second, and third-party for the third. Valid values.
Copyright © 2025. All rights reserved.