UpdateInstancePoolPlacementConfigurationDetails¶
-
class
oci.core.models.
UpdateInstancePoolPlacementConfigurationDetails
(**kwargs)¶ Bases:
object
The location for where an instance pool will place instances.
Methods
__init__
(**kwargs)Initializes a new UpdateInstancePoolPlacementConfigurationDetails object with values from keyword arguments. Attributes
availability_domain
[Required] Gets the availability_domain of this UpdateInstancePoolPlacementConfigurationDetails. fault_domains
Gets the fault_domains of this UpdateInstancePoolPlacementConfigurationDetails. primary_subnet_id
Gets the primary_subnet_id of this UpdateInstancePoolPlacementConfigurationDetails. primary_vnic_subnets
Gets the primary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails. secondary_vnic_subnets
Gets the secondary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateInstancePoolPlacementConfigurationDetails 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 UpdateInstancePoolPlacementConfigurationDetails.
- fault_domains (list[str]) – The value to assign to the fault_domains property of this UpdateInstancePoolPlacementConfigurationDetails.
- primary_subnet_id (str) – The value to assign to the primary_subnet_id property of this UpdateInstancePoolPlacementConfigurationDetails.
- primary_vnic_subnets (oci.core.models.InstancePoolPlacementPrimarySubnet) – The value to assign to the primary_vnic_subnets property of this UpdateInstancePoolPlacementConfigurationDetails.
- secondary_vnic_subnets (list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]) – The value to assign to the secondary_vnic_subnets property of this UpdateInstancePoolPlacementConfigurationDetails.
-
availability_domain
¶ [Required] Gets the availability_domain of this UpdateInstancePoolPlacementConfigurationDetails. The availability domain to place instances.
Example: Uocm:PHX-AD-1
Returns: The availability_domain of this UpdateInstancePoolPlacementConfigurationDetails. Return type: str
-
fault_domains
¶ Gets the fault_domains of this UpdateInstancePoolPlacementConfigurationDetails. 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 UpdateInstancePoolPlacementConfigurationDetails. Return type: list[str]
-
primary_subnet_id
¶ Gets the primary_subnet_id of this UpdateInstancePoolPlacementConfigurationDetails. 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 UpdateInstancePoolPlacementConfigurationDetails. Return type: str
-
primary_vnic_subnets
¶ Gets the primary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails.
Returns: The primary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails. Return type: oci.core.models.InstancePoolPlacementPrimarySubnet
-
secondary_vnic_subnets
¶ Gets the secondary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails. The set of secondary VNIC data for instances in the pool.
Returns: The secondary_vnic_subnets of this UpdateInstancePoolPlacementConfigurationDetails. Return type: list[oci.core.models.InstancePoolPlacementSecondaryVnicSubnet]
-