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.

compute_cluster_id

Gets the compute_cluster_id 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.

  • compute_cluster_id (str) – The value to assign to the compute_cluster_id 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.

property 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

property compute_cluster_id

Gets the compute_cluster_id of this CreateInstancePoolPlacementConfigurationDetails. The OCID of the compute cluster that the instance will be created in.

Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked.

Returns

The compute_cluster_id of this CreateInstancePoolPlacementConfigurationDetails.

Return type

str

property 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]

property 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

property 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

property 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]