WorkRequest¶
-
class
oci.bds.models.WorkRequest(**kwargs)¶ Bases:
objectDescription of the work request status.
Attributes
OPERATION_TYPE_ACTIVATE_IAM_USER_SYNC_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ACTIVATE_METASTORE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ACTIVATE_UPST_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_BLOCK_STORAGEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_CLOUD_SQLA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_KAFKAA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_MASTER_NODESA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_UTILITY_NODESA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ADD_WORKER_NODESA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_AUTOSCALE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_AUTOSCALE_RUNA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_BACKUP_NODESA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CHANGE_COMPARTMENT_FOR_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CHANGE_SHAPEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_API_KEYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_AUTOSCALE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_BACKUP_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_IDENTITY_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_METASTORE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_NODE_REPLACE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_CREATE_RESOURCE_PRINCIPAL_CONFIGURATIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DEACTIVATE_IAM_USER_SYNC_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DEACTIVATE_UPST_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_API_KEYA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_AUTOSCALE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_BACKUP_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_IDENTITY_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_METASTORE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_NODE_BACKUPA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_NODE_REPLACE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_DELETE_RESOURCE_PRINCIPAL_CONFIGURATIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_EXECUTE_BOOTSTRAP_SCRIPTA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_INSTALL_SOFTWARE_UPDATESA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_ODH_SERVICE_CERTIFICATE_UPDATEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_PATCH_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_PATCH_ODHA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_PATCH_OSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REFRESH_CONFIDENTIAL_APPLICATIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REFRESH_RESOURCE_PRINCIPALA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REFRESH_TOKEN_EXCHANGE_KEYTABA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REMOVE_CLOUD_SQLA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REMOVE_KAFKAA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REMOVE_NODEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_REPLACE_NODEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_RESTART_NODEA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_START_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_STOP_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_TEST_METASTORE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_TEST_OBJECT_STORE_CONNECTIONA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_AUTOSCALE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_BACKUP_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_BDSA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_IDENTITY_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_INFRAA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_METASTORE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_NODE_REPLACE_CONFIGA constant which can be used with the operation_type property of a WorkRequest. OPERATION_TYPE_UPDATE_RESOURCE_PRINCIPAL_CONFIGURATIONA constant which can be used with the operation_type property of a WorkRequest. STATUS_ACCEPTEDA constant which can be used with the status property of a WorkRequest. STATUS_CANCELEDA constant which can be used with the status property of a WorkRequest. STATUS_CANCELINGA constant which can be used with the status property of a WorkRequest. STATUS_FAILEDA constant which can be used with the status property of a WorkRequest. STATUS_IN_PROGRESSA constant which can be used with the status property of a WorkRequest. STATUS_SUCCEEDEDA constant which can be used with the status property of a WorkRequest. compartment_id[Required] Gets the compartment_id of this WorkRequest. id[Required] Gets the id of this WorkRequest. operation_type[Required] Gets the operation_type of this WorkRequest. percent_complete[Required] Gets the percent_complete of this WorkRequest. resources[Required] Gets the resources of this WorkRequest. status[Required] Gets the status of this WorkRequest. time_accepted[Required] Gets the time_accepted of this WorkRequest. time_finishedGets the time_finished of this WorkRequest. time_startedGets the time_started of this WorkRequest. Methods
__init__(**kwargs)Initializes a new WorkRequest object with values from keyword arguments. -
OPERATION_TYPE_ACTIVATE_IAM_USER_SYNC_CONFIG= 'ACTIVATE_IAM_USER_SYNC_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ACTIVATE_IAM_USER_SYNC_CONFIG”
-
OPERATION_TYPE_ACTIVATE_METASTORE_CONFIG= 'ACTIVATE_METASTORE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ACTIVATE_METASTORE_CONFIG”
-
OPERATION_TYPE_ACTIVATE_UPST_CONFIG= 'ACTIVATE_UPST_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ACTIVATE_UPST_CONFIG”
-
OPERATION_TYPE_ADD_BLOCK_STORAGE= 'ADD_BLOCK_STORAGE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_BLOCK_STORAGE”
-
OPERATION_TYPE_ADD_CLOUD_SQL= 'ADD_CLOUD_SQL'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_CLOUD_SQL”
-
OPERATION_TYPE_ADD_KAFKA= 'ADD_KAFKA'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_KAFKA”
-
OPERATION_TYPE_ADD_MASTER_NODES= 'ADD_MASTER_NODES'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_MASTER_NODES”
-
OPERATION_TYPE_ADD_UTILITY_NODES= 'ADD_UTILITY_NODES'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_UTILITY_NODES”
-
OPERATION_TYPE_ADD_WORKER_NODES= 'ADD_WORKER_NODES'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ADD_WORKER_NODES”
-
OPERATION_TYPE_AUTOSCALE_CONFIG= 'AUTOSCALE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “AUTOSCALE_CONFIG”
-
OPERATION_TYPE_AUTOSCALE_RUN= 'AUTOSCALE_RUN'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “AUTOSCALE_RUN”
-
OPERATION_TYPE_BACKUP_NODES= 'BACKUP_NODES'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “BACKUP_NODES”
-
OPERATION_TYPE_CHANGE_COMPARTMENT_FOR_BDS= 'CHANGE_COMPARTMENT_FOR_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CHANGE_COMPARTMENT_FOR_BDS”
-
OPERATION_TYPE_CHANGE_SHAPE= 'CHANGE_SHAPE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CHANGE_SHAPE”
-
OPERATION_TYPE_CREATE_API_KEY= 'CREATE_API_KEY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_API_KEY”
-
OPERATION_TYPE_CREATE_AUTOSCALE_CONFIG= 'CREATE_AUTOSCALE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_AUTOSCALE_CONFIG”
-
OPERATION_TYPE_CREATE_BACKUP_CONFIG= 'CREATE_BACKUP_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_BACKUP_CONFIG”
-
OPERATION_TYPE_CREATE_BDS= 'CREATE_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_BDS”
-
OPERATION_TYPE_CREATE_IDENTITY_CONFIG= 'CREATE_IDENTITY_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_IDENTITY_CONFIG”
-
OPERATION_TYPE_CREATE_METASTORE_CONFIG= 'CREATE_METASTORE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_METASTORE_CONFIG”
-
OPERATION_TYPE_CREATE_NODE_REPLACE_CONFIG= 'CREATE_NODE_REPLACE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_NODE_REPLACE_CONFIG”
-
OPERATION_TYPE_CREATE_RESOURCE_PRINCIPAL_CONFIGURATION= 'CREATE_RESOURCE_PRINCIPAL_CONFIGURATION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “CREATE_RESOURCE_PRINCIPAL_CONFIGURATION”
-
OPERATION_TYPE_DEACTIVATE_IAM_USER_SYNC_CONFIG= 'DEACTIVATE_IAM_USER_SYNC_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DEACTIVATE_IAM_USER_SYNC_CONFIG”
-
OPERATION_TYPE_DEACTIVATE_UPST_CONFIG= 'DEACTIVATE_UPST_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DEACTIVATE_UPST_CONFIG”
-
OPERATION_TYPE_DELETE_API_KEY= 'DELETE_API_KEY'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_API_KEY”
-
OPERATION_TYPE_DELETE_AUTOSCALE_CONFIG= 'DELETE_AUTOSCALE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_AUTOSCALE_CONFIG”
-
OPERATION_TYPE_DELETE_BACKUP_CONFIG= 'DELETE_BACKUP_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_BACKUP_CONFIG”
-
OPERATION_TYPE_DELETE_BDS= 'DELETE_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_BDS”
-
OPERATION_TYPE_DELETE_IDENTITY_CONFIG= 'DELETE_IDENTITY_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_IDENTITY_CONFIG”
-
OPERATION_TYPE_DELETE_METASTORE_CONFIG= 'DELETE_METASTORE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_METASTORE_CONFIG”
-
OPERATION_TYPE_DELETE_NODE_BACKUP= 'DELETE_NODE_BACKUP'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_NODE_BACKUP”
-
OPERATION_TYPE_DELETE_NODE_REPLACE_CONFIG= 'DELETE_NODE_REPLACE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_NODE_REPLACE_CONFIG”
-
OPERATION_TYPE_DELETE_RESOURCE_PRINCIPAL_CONFIGURATION= 'DELETE_RESOURCE_PRINCIPAL_CONFIGURATION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “DELETE_RESOURCE_PRINCIPAL_CONFIGURATION”
-
OPERATION_TYPE_EXECUTE_BOOTSTRAP_SCRIPT= 'EXECUTE_BOOTSTRAP_SCRIPT'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “EXECUTE_BOOTSTRAP_SCRIPT”
-
OPERATION_TYPE_INSTALL_SOFTWARE_UPDATES= 'INSTALL_SOFTWARE_UPDATES'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “INSTALL_SOFTWARE_UPDATES”
-
OPERATION_TYPE_ODH_SERVICE_CERTIFICATE_UPDATE= 'ODH_SERVICE_CERTIFICATE_UPDATE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “ODH_SERVICE_CERTIFICATE_UPDATE”
-
OPERATION_TYPE_PATCH_BDS= 'PATCH_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “PATCH_BDS”
-
OPERATION_TYPE_PATCH_ODH= 'PATCH_ODH'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “PATCH_ODH”
-
OPERATION_TYPE_PATCH_OS= 'PATCH_OS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “PATCH_OS”
-
OPERATION_TYPE_REFRESH_CONFIDENTIAL_APPLICATION= 'REFRESH_CONFIDENTIAL_APPLICATION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REFRESH_CONFIDENTIAL_APPLICATION”
-
OPERATION_TYPE_REFRESH_RESOURCE_PRINCIPAL= 'REFRESH_RESOURCE_PRINCIPAL'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REFRESH_RESOURCE_PRINCIPAL”
-
OPERATION_TYPE_REFRESH_TOKEN_EXCHANGE_KEYTAB= 'REFRESH_TOKEN_EXCHANGE_KEYTAB'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REFRESH_TOKEN_EXCHANGE_KEYTAB”
-
OPERATION_TYPE_REMOVE_CLOUD_SQL= 'REMOVE_CLOUD_SQL'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REMOVE_CLOUD_SQL”
-
OPERATION_TYPE_REMOVE_KAFKA= 'REMOVE_KAFKA'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REMOVE_KAFKA”
-
OPERATION_TYPE_REMOVE_NODE= 'REMOVE_NODE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REMOVE_NODE”
-
OPERATION_TYPE_REPLACE_NODE= 'REPLACE_NODE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “REPLACE_NODE”
-
OPERATION_TYPE_RESTART_NODE= 'RESTART_NODE'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “RESTART_NODE”
-
OPERATION_TYPE_START_BDS= 'START_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “START_BDS”
-
OPERATION_TYPE_STOP_BDS= 'STOP_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “STOP_BDS”
-
OPERATION_TYPE_TEST_METASTORE_CONFIG= 'TEST_METASTORE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “TEST_METASTORE_CONFIG”
-
OPERATION_TYPE_TEST_OBJECT_STORE_CONNECTION= 'TEST_OBJECT_STORE_CONNECTION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “TEST_OBJECT_STORE_CONNECTION”
-
OPERATION_TYPE_UPDATE_AUTOSCALE_CONFIG= 'UPDATE_AUTOSCALE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_AUTOSCALE_CONFIG”
-
OPERATION_TYPE_UPDATE_BACKUP_CONFIG= 'UPDATE_BACKUP_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_BACKUP_CONFIG”
-
OPERATION_TYPE_UPDATE_BDS= 'UPDATE_BDS'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_BDS”
-
OPERATION_TYPE_UPDATE_IDENTITY_CONFIG= 'UPDATE_IDENTITY_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_IDENTITY_CONFIG”
-
OPERATION_TYPE_UPDATE_INFRA= 'UPDATE_INFRA'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_INFRA”
-
OPERATION_TYPE_UPDATE_METASTORE_CONFIG= 'UPDATE_METASTORE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_METASTORE_CONFIG”
-
OPERATION_TYPE_UPDATE_NODE_REPLACE_CONFIG= 'UPDATE_NODE_REPLACE_CONFIG'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_NODE_REPLACE_CONFIG”
-
OPERATION_TYPE_UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION= 'UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION'¶ A constant which can be used with the operation_type property of a WorkRequest. This constant has a value of “UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION”
-
STATUS_ACCEPTED= 'ACCEPTED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “ACCEPTED”
-
STATUS_CANCELED= 'CANCELED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELED”
-
STATUS_CANCELING= 'CANCELING'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELING”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “FAILED”
-
STATUS_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “IN_PROGRESS”
-
STATUS_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the status property of a WorkRequest. This constant has a value of “SUCCEEDED”
-
__init__(**kwargs)¶ Initializes a new WorkRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this WorkRequest.
- compartment_id (str) – The value to assign to the compartment_id property of this WorkRequest.
- operation_type (str) – The value to assign to the operation_type property of this WorkRequest. Allowed values for this property are: “CREATE_BDS”, “UPDATE_BDS”, “DELETE_BDS”, “ADD_BLOCK_STORAGE”, “ADD_MASTER_NODES”, “ADD_UTILITY_NODES”, “ADD_WORKER_NODES”, “ADD_CLOUD_SQL”, “REMOVE_CLOUD_SQL”, “CHANGE_COMPARTMENT_FOR_BDS”, “CHANGE_SHAPE”, “UPDATE_INFRA”, “RESTART_NODE”, “REMOVE_NODE”, “CREATE_AUTOSCALE_CONFIG”, “UPDATE_AUTOSCALE_CONFIG”, “DELETE_AUTOSCALE_CONFIG”, “AUTOSCALE_CONFIG”, “AUTOSCALE_RUN”, “CREATE_API_KEY”, “DELETE_API_KEY”, “TEST_OBJECT_STORE_CONNECTION”, “CREATE_METASTORE_CONFIG”, “DELETE_METASTORE_CONFIG”, “UPDATE_METASTORE_CONFIG”, “ACTIVATE_METASTORE_CONFIG”, “TEST_METASTORE_CONFIG”, “PATCH_BDS”, “PATCH_ODH”, “PATCH_OS”, “STOP_BDS”, “START_BDS”, “ADD_KAFKA”, “REMOVE_KAFKA”, “EXECUTE_BOOTSTRAP_SCRIPT”, “ODH_SERVICE_CERTIFICATE_UPDATE”, “CREATE_BACKUP_CONFIG”, “UPDATE_BACKUP_CONFIG”, “DELETE_BACKUP_CONFIG”, “CREATE_NODE_REPLACE_CONFIG”, “UPDATE_NODE_REPLACE_CONFIG”, “DELETE_NODE_REPLACE_CONFIG”, “BACKUP_NODES”, “DELETE_NODE_BACKUP”, “REPLACE_NODE”, “CREATE_RESOURCE_PRINCIPAL_CONFIGURATION”, “DELETE_RESOURCE_PRINCIPAL_CONFIGURATION”, “UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION”, “REFRESH_RESOURCE_PRINCIPAL”, “CREATE_IDENTITY_CONFIG”, “DELETE_IDENTITY_CONFIG”, “UPDATE_IDENTITY_CONFIG”, “ACTIVATE_UPST_CONFIG”, “DEACTIVATE_UPST_CONFIG”, “REFRESH_CONFIDENTIAL_APPLICATION”, “REFRESH_TOKEN_EXCHANGE_KEYTAB”, “ACTIVATE_IAM_USER_SYNC_CONFIG”, “DEACTIVATE_IAM_USER_SYNC_CONFIG”, “INSTALL_SOFTWARE_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status (str) – The value to assign to the status property of this WorkRequest. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resources (list[oci.bds.models.WorkRequestResource]) – The value to assign to the resources property of this WorkRequest.
- percent_complete (float) – The value to assign to the percent_complete property of this WorkRequest.
- time_accepted (datetime) – The value to assign to the time_accepted property of this WorkRequest.
- time_started (datetime) – The value to assign to the time_started property of this WorkRequest.
- time_finished (datetime) – The value to assign to the time_finished property of this WorkRequest.
-
compartment_id¶ [Required] Gets the compartment_id of this WorkRequest. The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
Returns: The compartment_id of this WorkRequest. Return type: str
-
id¶ [Required] Gets the id of this WorkRequest. The ID of the work request.
Returns: The id of this WorkRequest. Return type: str
-
operation_type¶ [Required] Gets the operation_type of this WorkRequest. The type of this work request.
Allowed values for this property are: “CREATE_BDS”, “UPDATE_BDS”, “DELETE_BDS”, “ADD_BLOCK_STORAGE”, “ADD_MASTER_NODES”, “ADD_UTILITY_NODES”, “ADD_WORKER_NODES”, “ADD_CLOUD_SQL”, “REMOVE_CLOUD_SQL”, “CHANGE_COMPARTMENT_FOR_BDS”, “CHANGE_SHAPE”, “UPDATE_INFRA”, “RESTART_NODE”, “REMOVE_NODE”, “CREATE_AUTOSCALE_CONFIG”, “UPDATE_AUTOSCALE_CONFIG”, “DELETE_AUTOSCALE_CONFIG”, “AUTOSCALE_CONFIG”, “AUTOSCALE_RUN”, “CREATE_API_KEY”, “DELETE_API_KEY”, “TEST_OBJECT_STORE_CONNECTION”, “CREATE_METASTORE_CONFIG”, “DELETE_METASTORE_CONFIG”, “UPDATE_METASTORE_CONFIG”, “ACTIVATE_METASTORE_CONFIG”, “TEST_METASTORE_CONFIG”, “PATCH_BDS”, “PATCH_ODH”, “PATCH_OS”, “STOP_BDS”, “START_BDS”, “ADD_KAFKA”, “REMOVE_KAFKA”, “EXECUTE_BOOTSTRAP_SCRIPT”, “ODH_SERVICE_CERTIFICATE_UPDATE”, “CREATE_BACKUP_CONFIG”, “UPDATE_BACKUP_CONFIG”, “DELETE_BACKUP_CONFIG”, “CREATE_NODE_REPLACE_CONFIG”, “UPDATE_NODE_REPLACE_CONFIG”, “DELETE_NODE_REPLACE_CONFIG”, “BACKUP_NODES”, “DELETE_NODE_BACKUP”, “REPLACE_NODE”, “CREATE_RESOURCE_PRINCIPAL_CONFIGURATION”, “DELETE_RESOURCE_PRINCIPAL_CONFIGURATION”, “UPDATE_RESOURCE_PRINCIPAL_CONFIGURATION”, “REFRESH_RESOURCE_PRINCIPAL”, “CREATE_IDENTITY_CONFIG”, “DELETE_IDENTITY_CONFIG”, “UPDATE_IDENTITY_CONFIG”, “ACTIVATE_UPST_CONFIG”, “DEACTIVATE_UPST_CONFIG”, “REFRESH_CONFIDENTIAL_APPLICATION”, “REFRESH_TOKEN_EXCHANGE_KEYTAB”, “ACTIVATE_IAM_USER_SYNC_CONFIG”, “DEACTIVATE_IAM_USER_SYNC_CONFIG”, “INSTALL_SOFTWARE_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this WorkRequest. Return type: str
-
percent_complete¶ [Required] Gets the percent_complete of this WorkRequest. Percentage of this work request completed.
Returns: The percent_complete of this WorkRequest. Return type: float
-
resources¶ [Required] Gets the resources of this WorkRequest. The resources affected by this work request.
Returns: The resources of this WorkRequest. Return type: list[oci.bds.models.WorkRequestResource]
-
status¶ [Required] Gets the status of this WorkRequest. The status of this work request.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this WorkRequest. Return type: str
-
time_accepted¶ [Required] Gets the time_accepted of this WorkRequest. The date and time the request was created, shown as an RFC 3339 formatted datetime string.
Returns: The time_accepted of this WorkRequest. Return type: datetime
-
time_finished¶ Gets the time_finished of this WorkRequest. The time the object was finished, shown as an RFC 3339 formatted datetime string.
Returns: The time_finished of this WorkRequest. Return type: datetime
-
time_started¶ Gets the time_started of this WorkRequest. The time the request was started, shown as an RFC 3339 formatted datetime string.
Returns: The time_started of this WorkRequest. Return type: datetime
-