PublicApiEndpointDecommissionStatus

class oci.container_engine.models.PublicApiEndpointDecommissionStatus(**kwargs)

Bases: object

Information regarding a cluster’s public api endpoint decommission.

Attributes:

STATUS_DECOMMISSIONED

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_DECOMMISSION_FAILED

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_FINALIZED

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_IN_PROGRESS

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_PENDING

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_ROLLBACK_FAILED

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

STATUS_ROLLING_BACK

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus.

status

[Required] Gets the status of this PublicApiEndpointDecommissionStatus.

time_decommission_rollback_deadline

[Required] Gets the time_decommission_rollback_deadline of this PublicApiEndpointDecommissionStatus.

Methods:

__init__(**kwargs)

Initializes a new PublicApiEndpointDecommissionStatus object with values from keyword arguments.

STATUS_DECOMMISSIONED = 'DECOMMISSIONED'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “DECOMMISSIONED”

STATUS_DECOMMISSION_FAILED = 'DECOMMISSION_FAILED'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “DECOMMISSION_FAILED”

STATUS_FINALIZED = 'FINALIZED'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “FINALIZED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “IN_PROGRESS”

STATUS_PENDING = 'PENDING'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “PENDING”

STATUS_ROLLBACK_FAILED = 'ROLLBACK_FAILED'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “ROLLBACK_FAILED”

STATUS_ROLLING_BACK = 'ROLLING_BACK'

A constant which can be used with the status property of a PublicApiEndpointDecommissionStatus. This constant has a value of “ROLLING_BACK”

__init__(**kwargs)

Initializes a new PublicApiEndpointDecommissionStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • time_decommission_rollback_deadline (datetime) – The value to assign to the time_decommission_rollback_deadline property of this PublicApiEndpointDecommissionStatus.

  • status (str) – The value to assign to the status property of this PublicApiEndpointDecommissionStatus. Allowed values for this property are: “PENDING”, “IN_PROGRESS”, “ROLLING_BACK”, “DECOMMISSIONED”, “FINALIZED”, “DECOMMISSION_FAILED”, “ROLLBACK_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property status

[Required] Gets the status of this PublicApiEndpointDecommissionStatus. The current public api endpoint decommission status of the cluster.

Allowed values for this property are: “PENDING”, “IN_PROGRESS”, “ROLLING_BACK”, “DECOMMISSIONED”, “FINALIZED”, “DECOMMISSION_FAILED”, “ROLLBACK_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this PublicApiEndpointDecommissionStatus.

Return type

str

property time_decommission_rollback_deadline

[Required] Gets the time_decommission_rollback_deadline of this PublicApiEndpointDecommissionStatus. The date and time of rollback deadline for public api endpoint decommission. Once the date is passed, rollback is not able to be launched.

Returns

The time_decommission_rollback_deadline of this PublicApiEndpointDecommissionStatus.

Return type

datetime