Update an Instance Pool

put

/20160918/instancePools/{instance_pool_id}

Update the specified instance pool. You can change the name of the pool, the size of the pool, the instance configuration that is used to create new instances, the fault domains, VCN, and subnet. Configuration changes do not affect existing instances; configuration changes only affect new instances. New instances will be provisioned using the new instance configuration and placement configuration.

To attach or detach an instance, see AttachInstancePoolInstance and DetachInstancePoolInstance.

To attach load balancers or detach load balancer attachments, see AttachLoadBalancer and DetachLoadBalancer.

Request

Supported Media Types
Path Parameters
Header Parameters
  • For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
  • Minimum Length: 1
    Maximum Length: 64
    A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
Body ()
Update instance pool configuration
Root Schema : UpdateInstancePoolDetails
Type: object
The data to update an instance pool.
Show Source
  • definedTags
    Additional Properties Allowed: additionalProperties
    Defined tags for this resource. Each key is predefined and scoped to a namespace.
  • Minimum Length: 1
    Maximum Length: 255
    A user-friendly name. Does not need to be unique, and it is changeable. Avoid entering confidential information.
  • freeformTags
    Additional Properties Allowed: additionalProperties
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the instance configuration associated with the instance pool.
  • Minimum Length: 0
    Maximum Length: 255
    A user-friendly formatter for the instance pool's instance display names. Instance display names follow the format. The formatter does not retroactively change instance display names. Only future instance display names follow the format.
  • Minimum Length: 0
    Maximum Length: 255
    A user-friendly formatter for the instance pool's instance hostnames. Instance hostnames follow the format. The formatter does not retroactively change instance hostnames. Only future instance hostnames follow the format.
  • placementConfigurations
    The placement configurations for the instance pool. Provide one placement configuration for the AD-1 availability domain.
  • The number of instances that should be in the instance pool. To determine whether capacity is available for a specific shape before you resize an instance pool, use the CreateComputeCapacityReport operation.
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : placementConfigurations
Type: array
The placement configurations for the instance pool. Provide one placement configuration for the AD-1 availability domain.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : UpdateInstancePoolPlacementConfigurationDetails
Type: object
The location for where an instance pool will place instances.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The availability domain to place instances. Example: AD-1
  • faultDomains
    Unique Items Required: true
    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 [ListFaultDomains](#/en/identity/20160918/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
  • instanceAffinityDetails
    Instance affinity details containing the domain and array of instance pool instance count that should reside in that domain. Domain can be a fault domain, building, etc.
  • Minimum Length: 1
    Maximum Length: 255
    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.
  • InstancePoolPlacementPrimarySubnet
    Details about the IPv6 primary subnet.
  • secondaryVnicSubnets
    Unique Items Required: true
    The set of secondary VNIC data for instances in the pool.
Nested Schema : faultDomains
Type: array
Unique Items Required: true
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 [ListFaultDomains](#/en/identity/20160918/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
Show Source
Nested Schema : instanceAffinityDetails
Type: array
Maximum Length: 3
Instance affinity details containing the domain and array of instance pool instance count that should reside in that domain. Domain can be a fault domain, building, etc.
Show Source
Nested Schema : InstancePoolPlacementPrimarySubnet
Type: object
Details about the IPv6 primary subnet.
Match All
Details about the IPv6 primary subnet.
Details about the IPv6 primary subnet.
Show Source
Nested Schema : secondaryVnicSubnets
Type: array
Unique Items Required: true
The set of secondary VNIC data for instances in the pool.
Show Source
Nested Schema : InstancePoolInstanceAffinityDetails
Type: object
Discriminator: type
Affinity details to launch instance pool instances.
Show Source
  • Default Value: FAULT_DOMAIN_AFFINITY
    Allowed Values: [ "FAULT_DOMAIN_AFFINITY" ]
    This specifies the type of instance pool instance affinity supported by OCI.
Nested Schema : InstancePoolPlacementSubnetDetails
Type: object
Base details about the IPv6 subnet.
Show Source
  • ipv6AddressIpv6SubnetCidrPairDetails
    A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
  • Default Value: false
    Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you.
  • Minimum Length: 1
    Maximum Length: 255
    The subnet OCID for the secondary VNIC.
Nested Schema : InstancePoolPlacementPrimarySubnet-allOf[1]
Type: object
Nested Schema : ipv6AddressIpv6SubnetCidrPairDetails
Type: array
A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
Show Source
Nested Schema : InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails
Type: object
Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.
Show Source
  • Minimum Length: 1
    Maximum Length: 45
    Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
Nested Schema : InstancePoolPlacementSecondaryVnicSubnet
Type: object
The secondary VNIC object for the placement configuration for an instance pool.
Match All
The secondary VNIC object for the placement configuration for an instance pool.
The secondary VNIC object for the placement configuration for an instance pool.
Show Source
Nested Schema : InstancePoolPlacementSecondaryVnicSubnet-allOf[1]
Type: object
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.
Back to Top

Response

Supported Media Types

200 Response

The instance pool was updated.
Headers
  • For optimistic concurrency control. See `if-match`.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : InstancePool
Type: object
An instance pool is a set of instances that are managed as a group. For more information about instance pools and instance configurations, see [Working with Instance Configurations](https://docs.oracle.com/en/engineered-systems/private-cloud-appliance/3.0-latest/user/user-usr-instance-configs.html#usr-instconfig-create) and [Working with Instance Pools](https://docs.oracle.com/en/engineered-systems/private-cloud-appliance/3.0-latest/user/user-usr-instance-pools.html#usr-instance-pools).
Show Source
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : loadBalancers
Type: array
The load balancers attached to the instance pool.
Show Source
Nested Schema : placementConfigurations
Type: array
The placement configurations for the instance pool.
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : InstancePoolLoadBalancerAttachment
Type: object
Represents a load balancer that is attached to an instance pool.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The name of the backend set on the load balancer.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the load balancer attachment.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the instance pool of the load balancer attachment.
  • Allowed Values: [ "ATTACHING", "ATTACHED", "DETACHING", "DETACHED" ]
    The status of the interaction between the instance pool and the load balancer.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the load balancer attached to the instance pool.
  • Minimum Value: 0
    Maximum Value: 65535
    The port value used for the backends.
  • Minimum Length: 1
    Maximum Length: 255
    Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
Nested Schema : InstancePoolPlacementConfiguration
Type: object
The location for where an instance pool will place instances.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The availability domain to place instances. Example: AD-1
  • faultDomains
    Unique Items Required: true
    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 [ListFaultDomains](#/en/identity/20160918/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
  • instanceAffinityDetails
    Instance affinity details containing the domain and array of instance pool instance count that should reside in that domain. Domain can be a fault domain, building, etc.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the primary subnet to place instances.
  • InstancePoolPlacementPrimarySubnet
    Details about the IPv6 primary subnet.
  • secondaryVnicSubnets
    Unique Items Required: true
    The set of secondary VNIC data for instances in the pool.
Nested Schema : faultDomains
Type: array
Unique Items Required: true
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 [ListFaultDomains](#/en/identity/20160918/FaultDomain/ListFaultDomains) operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
Show Source
Nested Schema : instanceAffinityDetails
Type: array
Maximum Length: 3
Instance affinity details containing the domain and array of instance pool instance count that should reside in that domain. Domain can be a fault domain, building, etc.
Show Source
Nested Schema : InstancePoolPlacementPrimarySubnet
Type: object
Details about the IPv6 primary subnet.
Match All
Details about the IPv6 primary subnet.
Details about the IPv6 primary subnet.
Show Source
Nested Schema : secondaryVnicSubnets
Type: array
Unique Items Required: true
The set of secondary VNIC data for instances in the pool.
Show Source
Nested Schema : InstancePoolInstanceAffinityDetails
Type: object
Discriminator: type
Affinity details to launch instance pool instances.
Show Source
  • Default Value: FAULT_DOMAIN_AFFINITY
    Allowed Values: [ "FAULT_DOMAIN_AFFINITY" ]
    This specifies the type of instance pool instance affinity supported by OCI.
Nested Schema : InstancePoolPlacementSubnetDetails
Type: object
Base details about the IPv6 subnet.
Show Source
  • ipv6AddressIpv6SubnetCidrPairDetails
    A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
  • Default Value: false
    Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you.
  • Minimum Length: 1
    Maximum Length: 255
    The subnet OCID for the secondary VNIC.
Nested Schema : InstancePoolPlacementPrimarySubnet-allOf[1]
Type: object
Nested Schema : ipv6AddressIpv6SubnetCidrPairDetails
Type: array
A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and OCI will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.
Show Source
Nested Schema : InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails
Type: object
Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.
Show Source
  • Minimum Length: 1
    Maximum Length: 45
    Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
Nested Schema : InstancePoolPlacementSecondaryVnicSubnet
Type: object
The secondary VNIC object for the placement configuration for an instance pool.
Match All
The secondary VNIC object for the placement configuration for an instance pool.
The secondary VNIC object for the placement configuration for an instance pool.
Show Source
Nested Schema : InstancePoolPlacementSecondaryVnicSubnet-allOf[1]
Type: object
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

409 Response

Conflict
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

412 Response

Precondition Failed
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.
Back to Top