InstancePoolPlacementConfiguration

class oci.core.models.InstancePoolPlacementConfiguration(**kwargs)

Bases: object

The location for where an instance pool will place instances.

Methods

__init__(**kwargs) Initializes a new InstancePoolPlacementConfiguration object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this InstancePoolPlacementConfiguration.
fault_domains Gets the fault_domains of this InstancePoolPlacementConfiguration.
primary_subnet_id Gets the primary_subnet_id of this InstancePoolPlacementConfiguration.
primary_vnic_subnets Gets the primary_vnic_subnets of this InstancePoolPlacementConfiguration.
secondary_vnic_subnets Gets the secondary_vnic_subnets of this InstancePoolPlacementConfiguration.
__init__(**kwargs)

Initializes a new InstancePoolPlacementConfiguration 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 InstancePoolPlacementConfiguration.
  • primary_subnet_id (str) – The value to assign to the primary_subnet_id property of this InstancePoolPlacementConfiguration.
  • fault_domains (list[str]) – The value to assign to the fault_domains property of this InstancePoolPlacementConfiguration.
  • primary_vnic_subnets (oci.core.models.InstancePoolPlacementPrimarySubnet) – The value to assign to the primary_vnic_subnets property of this InstancePoolPlacementConfiguration.
  • secondary_vnic_subnets (list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]) – The value to assign to the secondary_vnic_subnets property of this InstancePoolPlacementConfiguration.
availability_domain

[Required] Gets the availability_domain of this InstancePoolPlacementConfiguration. The availability domain to place instances.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this InstancePoolPlacementConfiguration.
Return type:str
fault_domains

Gets the fault_domains of this InstancePoolPlacementConfiguration. 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 InstancePoolPlacementConfiguration.
Return type:list[str]
primary_subnet_id

Gets the primary_subnet_id of this InstancePoolPlacementConfiguration. 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 InstancePoolPlacementConfiguration.
Return type:str
primary_vnic_subnets

Gets the primary_vnic_subnets of this InstancePoolPlacementConfiguration.

Returns:The primary_vnic_subnets of this InstancePoolPlacementConfiguration.
Return type:oci.core.models.InstancePoolPlacementPrimarySubnet
secondary_vnic_subnets

Gets the secondary_vnic_subnets of this InstancePoolPlacementConfiguration. The set of secondary VNIC data for instances in the pool.

Returns:The secondary_vnic_subnets of this InstancePoolPlacementConfiguration.
Return type:list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]