InstancePoolLaunchOverridePolicy¶
- class oci.core.models.InstancePoolLaunchOverridePolicy(**kwargs)¶
Bases:
objectOptional pool-level launch override policy for future instance launches.
The policy is evaluated only after placement is resolved for a launch. In V1, provide between 1 and 3 availability domain-scoped statements and no more than one statement for the same availability domain.
For a matched availability domain, request order defines the canonical override candidate sequence. Preferred-candidate reuse may try one current option once as a fast path. If that fast path misses, canonical evaluation restarts from option 1. During canonical evaluation, the worker advances to the next option only for out-of-host-capacity, LimitExceeded, and QuotaExceeded, and only after same-option retries are exhausted. Other failures are terminal for that launch attempt.
When used on create, omitting overridePolicy preserves the existing base-plus-placement behavior. When used on update, omitting overridePolicy leaves the stored policy unchanged, a non-null value replaces the stored policy, and null clears it. Read surfaces omit overridePolicy when no policy is stored on the pool.
Methods:
__init__(**kwargs)Initializes a new InstancePoolLaunchOverridePolicy object with values from keyword arguments.
Attributes:
[Required] Gets the override_statements of this InstancePoolLaunchOverridePolicy.
- __init__(**kwargs)¶
Initializes a new InstancePoolLaunchOverridePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
override_statements (list[oci.core.models.InstancePoolLaunchOverrideStatement]) – The value to assign to the override_statements property of this InstancePoolLaunchOverridePolicy.
- property override_statements¶
[Required] Gets the override_statements of this InstancePoolLaunchOverridePolicy. The ordered set of availability domain-scoped override statements for this policy.
- Returns
The override_statements of this InstancePoolLaunchOverridePolicy.
- Return type