ClusterMetadata¶
- class oci.container_engine.models.ClusterMetadata(**kwargs)¶
Bases:
objectThe properties that define meta data for a cluster.
Methods:
__init__(**kwargs)Initializes a new ClusterMetadata object with values from keyword arguments.
Attributes:
Gets the created_by_user_id of this ClusterMetadata.
Gets the created_by_work_request_id of this ClusterMetadata.
Gets the deleted_by_user_id of this ClusterMetadata.
Gets the deleted_by_work_request_id of this ClusterMetadata.
Gets the time_created of this ClusterMetadata.
Gets the time_credential_expiration of this ClusterMetadata.
Gets the time_deleted of this ClusterMetadata.
Gets the time_updated of this ClusterMetadata.
Gets the updated_by_user_id of this ClusterMetadata.
Gets the updated_by_work_request_id of this ClusterMetadata.
- __init__(**kwargs)¶
Initializes a new ClusterMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_created (datetime) – The value to assign to the time_created property of this ClusterMetadata.
created_by_user_id (str) – The value to assign to the created_by_user_id property of this ClusterMetadata.
created_by_work_request_id (str) – The value to assign to the created_by_work_request_id property of this ClusterMetadata.
time_deleted (datetime) – The value to assign to the time_deleted property of this ClusterMetadata.
deleted_by_user_id (str) – The value to assign to the deleted_by_user_id property of this ClusterMetadata.
deleted_by_work_request_id (str) – The value to assign to the deleted_by_work_request_id property of this ClusterMetadata.
time_updated (datetime) – The value to assign to the time_updated property of this ClusterMetadata.
updated_by_user_id (str) – The value to assign to the updated_by_user_id property of this ClusterMetadata.
updated_by_work_request_id (str) – The value to assign to the updated_by_work_request_id property of this ClusterMetadata.
time_credential_expiration (datetime) – The value to assign to the time_credential_expiration property of this ClusterMetadata.
- property created_by_user_id¶
Gets the created_by_user_id of this ClusterMetadata. The user who created the cluster.
- Returns
The created_by_user_id of this ClusterMetadata.
- Return type
str
- property created_by_work_request_id¶
Gets the created_by_work_request_id of this ClusterMetadata. The OCID of the work request which created the cluster.
- Returns
The created_by_work_request_id of this ClusterMetadata.
- Return type
str
- property deleted_by_user_id¶
Gets the deleted_by_user_id of this ClusterMetadata. The user who deleted the cluster.
- Returns
The deleted_by_user_id of this ClusterMetadata.
- Return type
str
- property deleted_by_work_request_id¶
Gets the deleted_by_work_request_id of this ClusterMetadata. The OCID of the work request which deleted the cluster.
- Returns
The deleted_by_work_request_id of this ClusterMetadata.
- Return type
str
- property time_created¶
Gets the time_created of this ClusterMetadata. The time the cluster was created.
- Returns
The time_created of this ClusterMetadata.
- Return type
datetime
- property time_credential_expiration¶
Gets the time_credential_expiration of this ClusterMetadata. The time until which the cluster credential is valid.
- Returns
The time_credential_expiration of this ClusterMetadata.
- Return type
datetime
- property time_deleted¶
Gets the time_deleted of this ClusterMetadata. The time the cluster was deleted.
- Returns
The time_deleted of this ClusterMetadata.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this ClusterMetadata. The time the cluster was updated.
- Returns
The time_updated of this ClusterMetadata.
- Return type
datetime
- property updated_by_user_id¶
Gets the updated_by_user_id of this ClusterMetadata. The user who updated the cluster.
- Returns
The updated_by_user_id of this ClusterMetadata.
- Return type
str
- property updated_by_work_request_id¶
Gets the updated_by_work_request_id of this ClusterMetadata. The OCID of the work request which updated the cluster.
- Returns
The updated_by_work_request_id of this ClusterMetadata.
- Return type
str