UpdateInstancePool

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 the instance pool.
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.
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.
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 operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the primary subnet to place instances.
  • secondaryVnicSubnets
    Unique Items Required: true
    The set of subnet OCIDs for secondary VNICs 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 operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
Show Source
Nested Schema : secondaryVnicSubnets
Type: array
Unique Items Required: true
The set of subnet OCIDs for secondary VNICs for instances in the pool.
Show Source
Nested Schema : InstancePoolPlacementSecondaryVnicSubnet
Type: object
The secondary VNIC object for the placement configuration for an instance pool.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The display name of the VNIC. This is also use to match against the instance configuration defined secondary VNIC.
  • Minimum Length: 1
    Maximum Length: 255
    The subnet OCID for the 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. Provide this request OCID if you need to contact Oracle about this request.
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.
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 operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the primary subnet to place instances.
  • 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 operation in the Identity and Access Management Service API. Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
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 : InstancePoolPlacementSecondaryVnicSubnet
Type: object
The secondary VNIC object for the placement configuration for an instance pool.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The display name of the VNIC. This is also use to match against the instance configuration defined secondary VNIC.
  • Minimum Length: 1
    Maximum Length: 255
    The subnet OCID for the secondary VNIC.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

409 Response

Conflict
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

412 Response

Precondition Failed
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
Back to Top