PlacementConfiguration¶
- class oci.container_engine.models.PlacementConfiguration(**kwargs)¶
Bases:
objectThe information of virtual node placement in the virtual node pool.
Methods:
__init__(**kwargs)Initializes a new PlacementConfiguration object with values from keyword arguments.
Attributes:
[Required] Gets the availability_domain of this PlacementConfiguration.
Gets the fault_domain of this PlacementConfiguration.
[Required] Gets the subnet_id of this PlacementConfiguration.
- __init__(**kwargs)¶
Initializes a new PlacementConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
availability_domain (str) – The value to assign to the availability_domain property of this PlacementConfiguration.
fault_domain (list[str]) – The value to assign to the fault_domain property of this PlacementConfiguration.
subnet_id (str) – The value to assign to the subnet_id property of this PlacementConfiguration.
- property availability_domain¶
[Required] Gets the availability_domain of this PlacementConfiguration. The availability domain in which to place virtual nodes. Example: Uocm:PHX-AD-1
- Returns
The availability_domain of this PlacementConfiguration.
- Return type
str
- property fault_domain¶
Gets the fault_domain of this PlacementConfiguration. The fault domain of this virtual node.
- Returns
The fault_domain of this PlacementConfiguration.
- Return type
list[str]
- property subnet_id¶
[Required] Gets the subnet_id of this PlacementConfiguration. The OCID of the subnet in which to place virtual nodes.
- Returns
The subnet_id of this PlacementConfiguration.
- Return type
str