ClusterNetworkPlacementConfigurationDetails¶
- class oci.core.models.ClusterNetworkPlacementConfigurationDetails(**kwargs)¶
Bases:
objectThe location for where the instance pools in a cluster network will place instances.
Attributes:
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails.
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails.
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails.
[Required] Gets the availability_domain of this ClusterNetworkPlacementConfigurationDetails.
Gets the placement_constraint of this ClusterNetworkPlacementConfigurationDetails.
Gets the primary_subnet_id of this ClusterNetworkPlacementConfigurationDetails.
Gets the primary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails.
Gets the secondary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new ClusterNetworkPlacementConfigurationDetails object with values from keyword arguments.
- PLACEMENT_CONSTRAINT_PACKED_DISTRIBUTION_MULTI_BLOCK = 'PACKED_DISTRIBUTION_MULTI_BLOCK'¶
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails. This constant has a value of “PACKED_DISTRIBUTION_MULTI_BLOCK”
- PLACEMENT_CONSTRAINT_SINGLE_BLOCK = 'SINGLE_BLOCK'¶
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails. This constant has a value of “SINGLE_BLOCK”
- PLACEMENT_CONSTRAINT_SINGLE_TIER = 'SINGLE_TIER'¶
A constant which can be used with the placement_constraint property of a ClusterNetworkPlacementConfigurationDetails. This constant has a value of “SINGLE_TIER”
- __init__(**kwargs)¶
Initializes a new ClusterNetworkPlacementConfigurationDetails 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 ClusterNetworkPlacementConfigurationDetails.
placement_constraint (str) – The value to assign to the placement_constraint property of this ClusterNetworkPlacementConfigurationDetails. Allowed values for this property are: “SINGLE_TIER”, “SINGLE_BLOCK”, “PACKED_DISTRIBUTION_MULTI_BLOCK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
primary_subnet_id (str) – The value to assign to the primary_subnet_id property of this ClusterNetworkPlacementConfigurationDetails.
primary_vnic_subnets (oci.core.models.InstancePoolPlacementPrimarySubnet) – The value to assign to the primary_vnic_subnets property of this ClusterNetworkPlacementConfigurationDetails.
secondary_vnic_subnets (list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]) – The value to assign to the secondary_vnic_subnets property of this ClusterNetworkPlacementConfigurationDetails.
- property availability_domain¶
[Required] Gets the availability_domain of this ClusterNetworkPlacementConfigurationDetails. The availability domain to place instances.
Example: Uocm:PHX-AD-1
- Returns
The availability_domain of this ClusterNetworkPlacementConfigurationDetails.
- Return type
str
- property placement_constraint¶
Gets the placement_constraint of this ClusterNetworkPlacementConfigurationDetails. The placement constraint when reserving hosts.
Allowed values for this property are: “SINGLE_TIER”, “SINGLE_BLOCK”, “PACKED_DISTRIBUTION_MULTI_BLOCK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The placement_constraint of this ClusterNetworkPlacementConfigurationDetails.
- Return type
str
- property primary_subnet_id¶
Gets the primary_subnet_id of this ClusterNetworkPlacementConfigurationDetails. The OCID of the primary subnet to place instances. This field is deprecated. Use primaryVnicSubnets instead to set VNIC data for instances in the pool.
- Returns
The primary_subnet_id of this ClusterNetworkPlacementConfigurationDetails.
- Return type
str
- property primary_vnic_subnets¶
Gets the primary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails.
- Returns
The primary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails.
- Return type
- property secondary_vnic_subnets¶
Gets the secondary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails. The set of secondary VNIC data for instances in the pool.
- Returns
The secondary_vnic_subnets of this ClusterNetworkPlacementConfigurationDetails.
- Return type
list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]