Show / Hide Table of Contents

Class InstancePoolRefresh

An instance pool refresh is an asynchronous operation that replaces eligible instances in an instance pool with instances launched from the pool's target instance configuration.

Inheritance
object
InstancePoolRefresh
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class InstancePoolRefresh

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment containing the instance pool.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the instance pool refresh.

Remarks

Required

InstancePoolId

Declaration
[Required(ErrorMessage = "InstancePoolId is required.")]
[JsonProperty(PropertyName = "instancePoolId")]
public string InstancePoolId { get; set; }
Property Value
Type Description
string

The OCID of the instance pool.

Remarks

Required

IsFullRefresh

Declaration
[JsonProperty(PropertyName = "isFullRefresh")]
public bool? IsFullRefresh { get; set; }
Property Value
Type Description
bool?

Whether the refresh can select instances that already match the target instance configuration.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InstancePoolRefresh.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
InstancePoolRefresh.LifecycleStateEnum?

The current state of the instance pool refresh.

Remarks

Required

MaxHealthyPercent

Declaration
[JsonProperty(PropertyName = "maxHealthyPercent")]
public int? MaxHealthyPercent { get; set; }
Property Value
Type Description
int?

The maximum healthy percentage requested for launch-before-terminate capacity.

PercentComplete

Declaration
[JsonProperty(PropertyName = "percentComplete")]
public int? PercentComplete { get; set; }
Property Value
Type Description
int?

The percentage of the refresh that is complete.

RefreshBatchSize

Declaration
[JsonProperty(PropertyName = "refreshBatchSize")]
public int? RefreshBatchSize { get; set; }
Property Value
Type Description
int?

The maximum number of instances refreshed in a batch.

RemainingMemberCount

Declaration
[JsonProperty(PropertyName = "remainingMemberCount")]
public int? RemainingMemberCount { get; set; }
Property Value
Type Description
int?

The number of instances remaining to be refreshed.

SkippedMemberCount

Declaration
[JsonProperty(PropertyName = "skippedMemberCount")]
public int? SkippedMemberCount { get; set; }
Property Value
Type Description
int?

The number of instances skipped by the refresh.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { "orcl-cloud": { "free-tier-retained": "true" } }

TargetInstanceConfigurationId

Declaration
[Required(ErrorMessage = "TargetInstanceConfigurationId is required.")]
[JsonProperty(PropertyName = "targetInstanceConfigurationId")]
public string TargetInstanceConfigurationId { get; set; }
Property Value
Type Description
string

The OCID of the instance configuration captured from the instance pool when the refresh started.

Remarks

Required

TimeCompleted

Declaration
[JsonProperty(PropertyName = "timeCompleted")]
public DateTime? TimeCompleted { get; set; }
Property Value
Type Description
DateTime?

The date and time the instance pool refresh reached a terminal state, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the instance pool refresh was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Remarks

Required

TotalMemberCount

Declaration
[JsonProperty(PropertyName = "totalMemberCount")]
public int? TotalMemberCount { get; set; }
Property Value
Type Description
int?

The total number of instances selected for this refresh.

WarmupSeconds

Declaration
[JsonProperty(PropertyName = "warmupSeconds")]
public int? WarmupSeconds { get; set; }
Property Value
Type Description
int?

The requested warmup duration in seconds.

In this article
Back to top