CreateInstancePoolPlacementConfigurationDetails¶
-
class
oci.core.models.
CreateInstancePoolPlacementConfigurationDetails
(**kwargs)¶ Bases:
object
The location for where an instance pool will place instances.
Methods
__init__
(**kwargs)Initializes a new CreateInstancePoolPlacementConfigurationDetails object with values from keyword arguments. Attributes
availability_domain
[Required] Gets the availability_domain of this CreateInstancePoolPlacementConfigurationDetails. fault_domains
Gets the fault_domains of this CreateInstancePoolPlacementConfigurationDetails. primary_subnet_id
Gets the primary_subnet_id of this CreateInstancePoolPlacementConfigurationDetails. primary_vnic_subnets
Gets the primary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails. secondary_vnic_subnets
Gets the secondary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails. -
__init__
(**kwargs)¶ Initializes a new CreateInstancePoolPlacementConfigurationDetails 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 CreateInstancePoolPlacementConfigurationDetails.
- fault_domains (list[str]) – The value to assign to the fault_domains property of this CreateInstancePoolPlacementConfigurationDetails.
- primary_subnet_id (str) – The value to assign to the primary_subnet_id property of this CreateInstancePoolPlacementConfigurationDetails.
- primary_vnic_subnets (oci.core.models.InstancePoolPlacementPrimarySubnet) – The value to assign to the primary_vnic_subnets property of this CreateInstancePoolPlacementConfigurationDetails.
- secondary_vnic_subnets (list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]) – The value to assign to the secondary_vnic_subnets property of this CreateInstancePoolPlacementConfigurationDetails.
-
availability_domain
¶ [Required] Gets the availability_domain of this CreateInstancePoolPlacementConfigurationDetails. The availability domain to place instances.
Example: Uocm:PHX-AD-1
Returns: The availability_domain of this CreateInstancePoolPlacementConfigurationDetails. Return type: str
-
fault_domains
¶ Gets the fault_domains of this CreateInstancePoolPlacementConfigurationDetails. The fault domains to place instances.
If you don’t provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.
To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.
To get a list of fault domains, use the
list_fault_domains()
operation in the Identity and Access Management Service API.Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
Returns: The fault_domains of this CreateInstancePoolPlacementConfigurationDetails. Return type: list[str]
-
primary_subnet_id
¶ Gets the primary_subnet_id of this CreateInstancePoolPlacementConfigurationDetails. The OCID of the primary subnet in which 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 CreateInstancePoolPlacementConfigurationDetails. Return type: str
-
primary_vnic_subnets
¶ Gets the primary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails.
Returns: The primary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails. Return type: oci.core.models.InstancePoolPlacementPrimarySubnet
-
secondary_vnic_subnets
¶ Gets the secondary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails. The set of secondary VNIC data for instances in the pool.
Returns: The secondary_vnic_subnets of this CreateInstancePoolPlacementConfigurationDetails. Return type: list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]
-