Class UpdateInstancePoolDetails
The data to update an instance pool.
If overridePolicy is omitted, the stored launch override policy remains unchanged.
A non-null overridePolicy replaces the stored policy as a whole, and null
clears it for future launches.
Inheritance
UpdateInstancePoolDetails
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class UpdateInstancePoolDetails
Properties
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type |
Description |
| string |
A user-friendly name. Does not have to be unique, and it's changeable.
Avoid entering confidential information.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type |
Description |
| Dictionary<string, string> |
Free-form tags for this resource. Each tag is a simple key-value pair with no
predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
|
InstanceConfigurationId
Declaration
[JsonProperty(PropertyName = "instanceConfigurationId")]
public string InstanceConfigurationId { get; set; }
Property Value
| Type |
Description |
| string |
The OCID of the instance configuration associated with the
instance pool.
|
Declaration
[JsonProperty(PropertyName = "instanceDisplayNameFormatter")]
public string InstanceDisplayNameFormatter { get; set; }
Property Value
| Type |
Description |
| string |
A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format.
The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
|
Declaration
[JsonProperty(PropertyName = "instanceHostnameFormatter")]
public string InstanceHostnameFormatter { get; set; }
Property Value
| Type |
Description |
| string |
A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format.
The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
|
LifecycleManagement
Declaration
[JsonProperty(PropertyName = "lifecycleManagement")]
public InstancePoolLifecycleManagementDetails LifecycleManagement { get; set; }
Property Value
OverridePolicy
Declaration
[JsonProperty(PropertyName = "overridePolicy")]
public InstancePoolLaunchOverridePolicy OverridePolicy { get; set; }
Property Value
PlacementConfigurations
Declaration
[JsonProperty(PropertyName = "placementConfigurations")]
public List<UpdateInstancePoolPlacementConfigurationDetails> PlacementConfigurations { get; set; }
Property Value
| Type |
Description |
| List<UpdateInstancePoolPlacementConfigurationDetails> |
The placement configurations for the instance pool. Provide one placement configuration for
each availability domain.
To use the instance pool with a regional subnet, provide a placement configuration for
each availability domain, and include the regional subnet in each placement
configuration.
|
Size
Declaration
[JsonProperty(PropertyName = "size")]
public int? Size { get; set; }
Property Value
| Type |
Description |
| int? |
The number of instances that should be in the instance pool.
For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
To determine whether capacity is available for a specific shape before you resize an instance pool,
use the {@link #createComputeCapacityReport(CreateComputeCapacityReportRequest) createComputeCapacityReport}
operation.
|