CredentialRotationStatus

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

Bases: object

Information regarding cluster’s credential rotation.

Attributes

STATUS_COMPLETED A constant which can be used with the status property of a CredentialRotationStatus.
STATUS_DETAILS_COMPLETED A constant which can be used with the status_details property of a CredentialRotationStatus.
STATUS_DETAILS_ISSUING_NEW_CREDENTIALS A constant which can be used with the status_details property of a CredentialRotationStatus.
STATUS_DETAILS_NEW_CREDENTIALS_ISSUED A constant which can be used with the status_details property of a CredentialRotationStatus.
STATUS_DETAILS_RETIRING_OLD_CREDENTIALS A constant which can be used with the status_details property of a CredentialRotationStatus.
STATUS_IN_PROGRESS A constant which can be used with the status property of a CredentialRotationStatus.
STATUS_WAITING A constant which can be used with the status property of a CredentialRotationStatus.
status [Required] Gets the status of this CredentialRotationStatus.
status_details [Required] Gets the status_details of this CredentialRotationStatus.
time_auto_completion_scheduled Gets the time_auto_completion_scheduled of this CredentialRotationStatus.

Methods

__init__(**kwargs) Initializes a new CredentialRotationStatus object with values from keyword arguments.
STATUS_COMPLETED = 'COMPLETED'

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

STATUS_DETAILS_COMPLETED = 'COMPLETED'

A constant which can be used with the status_details property of a CredentialRotationStatus. This constant has a value of “COMPLETED”

STATUS_DETAILS_ISSUING_NEW_CREDENTIALS = 'ISSUING_NEW_CREDENTIALS'

A constant which can be used with the status_details property of a CredentialRotationStatus. This constant has a value of “ISSUING_NEW_CREDENTIALS”

STATUS_DETAILS_NEW_CREDENTIALS_ISSUED = 'NEW_CREDENTIALS_ISSUED'

A constant which can be used with the status_details property of a CredentialRotationStatus. This constant has a value of “NEW_CREDENTIALS_ISSUED”

STATUS_DETAILS_RETIRING_OLD_CREDENTIALS = 'RETIRING_OLD_CREDENTIALS'

A constant which can be used with the status_details property of a CredentialRotationStatus. This constant has a value of “RETIRING_OLD_CREDENTIALS”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

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

STATUS_WAITING = 'WAITING'

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

__init__(**kwargs)

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

Parameters:
  • time_auto_completion_scheduled (datetime) – The value to assign to the time_auto_completion_scheduled property of this CredentialRotationStatus.
  • status (str) – The value to assign to the status property of this CredentialRotationStatus. Allowed values for this property are: “IN_PROGRESS”, “WAITING”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status_details (str) – The value to assign to the status_details property of this CredentialRotationStatus. Allowed values for this property are: “ISSUING_NEW_CREDENTIALS”, “NEW_CREDENTIALS_ISSUED”, “RETIRING_OLD_CREDENTIALS”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
status

[Required] Gets the status of this CredentialRotationStatus. Credential rotation status of a kubernetes cluster IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes. WAITING: Waiting for customer to invoke the complete rotation action or the automcatic complete rotation action. COMPLETED: New credentials are functional on kuberentes cluster.

Allowed values for this property are: “IN_PROGRESS”, “WAITING”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this CredentialRotationStatus.
Return type:str
status_details

[Required] Gets the status_details of this CredentialRotationStatus. Details of a kuberenetes cluster credential rotation status: ISSUING_NEW_CREDENTIALS: Credential rotation is in progress. Starting to issue new credentials to kubernetes cluster control plane and worker nodes. NEW_CREDENTIALS_ISSUED: New credentials are added. At this stage cluster has both old and new credentials and is awaiting old credentials retirement. RETIRING_OLD_CREDENTIALS: Retirement of old credentials is in progress. Starting to remove old credentials from kubernetes cluster control plane and worker nodes. COMPLETED: Credential rotation is complete. Old credentials are retired.

Allowed values for this property are: “ISSUING_NEW_CREDENTIALS”, “NEW_CREDENTIALS_ISSUED”, “RETIRING_OLD_CREDENTIALS”, “COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status_details of this CredentialRotationStatus.
Return type:str
time_auto_completion_scheduled

Gets the time_auto_completion_scheduled of this CredentialRotationStatus. The time by which retirement of old credentials should start.

Returns:The time_auto_completion_scheduled of this CredentialRotationStatus.
Return type:datetime