DelegatedResourceAccessRequest

class oci.delegate_access_control.models.DelegatedResourceAccessRequest(**kwargs)

Bases: object

A support operator raises Delegated Resource Access Request when they need access to any infrastructure resource governed by Delegation Control. The Delegated Resource Access Request identifies the target resource and the set of Service Provider Actions. Delegated Resource Access Request handling depends upon the Delegation Control that governs the target resource, and the set of Service Provider Actions listed for approval in the Delegated Resource Access Request. If all of the Service Provider Actions listed in the Delegated Resource Access Request are in the pre-approved list in the Delegation Control that governs the target resource, then the Delegated Resource Access Request is automatically approved. If not, then the Delegated Resource Access Request requires explicit approval from the approver group specified by the Delegation Control governing the target resource.

You can approve or reject a Delegated Resource Access Request. You can also revoke the approval of an already approved Delegated Resource Access Request. While creating a Delegated Resource Access Request, the support operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration. A support operator can also request for an extension. The approval for such an extension is processed the same way the original Delegated Resource Access Request was processed.

Attributes

AUDIT_TYPES_COMMAND_AUDIT A constant which can be used with the audit_types property of a DelegatedResourceAccessRequest.
AUDIT_TYPES_COMMAND_KEYSTROKE_AUDIT A constant which can be used with the audit_types property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_ACCEPTED A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_CANCELED A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_CANCELING A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
LIFECYCLE_STATE_WAITING A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest.
PROVIDED_SERVICE_TYPES_ASSISTED_PATCHING A constant which can be used with the provided_service_types property of a DelegatedResourceAccessRequest.
PROVIDED_SERVICE_TYPES_TROUBLESHOOTING A constant which can be used with the provided_service_types property of a DelegatedResourceAccessRequest.
REQUESTER_TYPE_CUSTOMER A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest.
REQUESTER_TYPE_OPERATOR A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest.
REQUESTER_TYPE_SYSTEM A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_APPROVAL_WAITING A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_APPROVED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_APPROVED_FOR_FUTURE A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_CLOSE_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_COMPLETED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_COMPLETING A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_CREATED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_DEPLOYED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_DEPLOY_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXPIRED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXPIRY_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXTENDED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXTENDING A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXTENSION_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_EXTENSION_REJECTED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_OPERATOR_ASSIGNMENT_WAITING A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_PREAPPROVED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_REJECTED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_REVOKED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_REVOKE_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_REVOKING A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_UNDEPLOYED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
REQUEST_STATUS_UNDEPLOY_FAILED A constant which can be used with the request_status property of a DelegatedResourceAccessRequest.
RESOURCE_TYPE_CLOUDVMCLUSTER A constant which can be used with the resource_type property of a DelegatedResourceAccessRequest.
RESOURCE_TYPE_VMCLUSTER A constant which can be used with the resource_type property of a DelegatedResourceAccessRequest.
SEVERITY_S1 A constant which can be used with the severity property of a DelegatedResourceAccessRequest.
SEVERITY_S2 A constant which can be used with the severity property of a DelegatedResourceAccessRequest.
SEVERITY_S3 A constant which can be used with the severity property of a DelegatedResourceAccessRequest.
SEVERITY_S4 A constant which can be used with the severity property of a DelegatedResourceAccessRequest.
approval_info Gets the approval_info of this DelegatedResourceAccessRequest.
audit_types Gets the audit_types of this DelegatedResourceAccessRequest.
closure_comment Gets the closure_comment of this DelegatedResourceAccessRequest.
compartment_id [Required] Gets the compartment_id of this DelegatedResourceAccessRequest.
database_name_list Gets the database_name_list of this DelegatedResourceAccessRequest.
defined_tags Gets the defined_tags of this DelegatedResourceAccessRequest.
delegation_control_id Gets the delegation_control_id of this DelegatedResourceAccessRequest.
delegation_subscription_ids Gets the delegation_subscription_ids of this DelegatedResourceAccessRequest.
description [Required] Gets the description of this DelegatedResourceAccessRequest.
display_name Gets the display_name of this DelegatedResourceAccessRequest.
duration_in_hours Gets the duration_in_hours of this DelegatedResourceAccessRequest.
extend_duration_in_hours Gets the extend_duration_in_hours of this DelegatedResourceAccessRequest.
freeform_tags Gets the freeform_tags of this DelegatedResourceAccessRequest.
id [Required] Gets the id of this DelegatedResourceAccessRequest.
is_auto_approved Gets the is_auto_approved of this DelegatedResourceAccessRequest.
is_pending_more_info Gets the is_pending_more_info of this DelegatedResourceAccessRequest.
lifecycle_state Gets the lifecycle_state of this DelegatedResourceAccessRequest.
lifecycle_state_details Gets the lifecycle_state_details of this DelegatedResourceAccessRequest.
num_extension_approvals Gets the num_extension_approvals of this DelegatedResourceAccessRequest.
num_initial_approvals Gets the num_initial_approvals of this DelegatedResourceAccessRequest.
provided_service_types Gets the provided_service_types of this DelegatedResourceAccessRequest.
reason_for_request [Required] Gets the reason_for_request of this DelegatedResourceAccessRequest.
request_status Gets the request_status of this DelegatedResourceAccessRequest.
requested_action_names Gets the requested_action_names of this DelegatedResourceAccessRequest.
requester_type Gets the requester_type of this DelegatedResourceAccessRequest.
resource_id [Required] Gets the resource_id of this DelegatedResourceAccessRequest.
resource_name Gets the resource_name of this DelegatedResourceAccessRequest.
resource_type Gets the resource_type of this DelegatedResourceAccessRequest.
severity Gets the severity of this DelegatedResourceAccessRequest.
system_tags Gets the system_tags of this DelegatedResourceAccessRequest.
ticket_numbers Gets the ticket_numbers of this DelegatedResourceAccessRequest.
time_access_requested Gets the time_access_requested of this DelegatedResourceAccessRequest.
time_created Gets the time_created of this DelegatedResourceAccessRequest.
time_updated Gets the time_updated of this DelegatedResourceAccessRequest.

Methods

__init__(**kwargs) Initializes a new DelegatedResourceAccessRequest object with values from keyword arguments.
AUDIT_TYPES_COMMAND_AUDIT = 'COMMAND_AUDIT'

A constant which can be used with the audit_types property of a DelegatedResourceAccessRequest. This constant has a value of “COMMAND_AUDIT”

AUDIT_TYPES_COMMAND_KEYSTROKE_AUDIT = 'COMMAND_KEYSTROKE_AUDIT'

A constant which can be used with the audit_types property of a DelegatedResourceAccessRequest. This constant has a value of “COMMAND_KEYSTROKE_AUDIT”

LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “CANCELING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a DelegatedResourceAccessRequest. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_WAITING = 'WAITING'

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

PROVIDED_SERVICE_TYPES_ASSISTED_PATCHING = 'ASSISTED_PATCHING'

A constant which can be used with the provided_service_types property of a DelegatedResourceAccessRequest. This constant has a value of “ASSISTED_PATCHING”

PROVIDED_SERVICE_TYPES_TROUBLESHOOTING = 'TROUBLESHOOTING'

A constant which can be used with the provided_service_types property of a DelegatedResourceAccessRequest. This constant has a value of “TROUBLESHOOTING”

REQUESTER_TYPE_CUSTOMER = 'CUSTOMER'

A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest. This constant has a value of “CUSTOMER”

REQUESTER_TYPE_OPERATOR = 'OPERATOR'

A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest. This constant has a value of “OPERATOR”

REQUESTER_TYPE_SYSTEM = 'SYSTEM'

A constant which can be used with the requester_type property of a DelegatedResourceAccessRequest. This constant has a value of “SYSTEM”

REQUEST_STATUS_APPROVAL_WAITING = 'APPROVAL_WAITING'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “APPROVAL_WAITING”

REQUEST_STATUS_APPROVED = 'APPROVED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “APPROVED”

REQUEST_STATUS_APPROVED_FOR_FUTURE = 'APPROVED_FOR_FUTURE'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “APPROVED_FOR_FUTURE”

REQUEST_STATUS_CLOSE_FAILED = 'CLOSE_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “CLOSE_FAILED”

REQUEST_STATUS_COMPLETED = 'COMPLETED'

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

REQUEST_STATUS_COMPLETING = 'COMPLETING'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “COMPLETING”

REQUEST_STATUS_CREATED = 'CREATED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “CREATED”

REQUEST_STATUS_DEPLOYED = 'DEPLOYED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “DEPLOYED”

REQUEST_STATUS_DEPLOY_FAILED = 'DEPLOY_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “DEPLOY_FAILED”

REQUEST_STATUS_EXPIRED = 'EXPIRED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXPIRED”

REQUEST_STATUS_EXPIRY_FAILED = 'EXPIRY_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXPIRY_FAILED”

REQUEST_STATUS_EXTENDED = 'EXTENDED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXTENDED”

REQUEST_STATUS_EXTENDING = 'EXTENDING'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXTENDING”

REQUEST_STATUS_EXTENSION_FAILED = 'EXTENSION_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXTENSION_FAILED”

REQUEST_STATUS_EXTENSION_REJECTED = 'EXTENSION_REJECTED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “EXTENSION_REJECTED”

REQUEST_STATUS_OPERATOR_ASSIGNMENT_WAITING = 'OPERATOR_ASSIGNMENT_WAITING'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “OPERATOR_ASSIGNMENT_WAITING”

REQUEST_STATUS_PREAPPROVED = 'PREAPPROVED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “PREAPPROVED”

REQUEST_STATUS_REJECTED = 'REJECTED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “REJECTED”

REQUEST_STATUS_REVOKED = 'REVOKED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “REVOKED”

REQUEST_STATUS_REVOKE_FAILED = 'REVOKE_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “REVOKE_FAILED”

REQUEST_STATUS_REVOKING = 'REVOKING'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “REVOKING”

REQUEST_STATUS_UNDEPLOYED = 'UNDEPLOYED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “UNDEPLOYED”

REQUEST_STATUS_UNDEPLOY_FAILED = 'UNDEPLOY_FAILED'

A constant which can be used with the request_status property of a DelegatedResourceAccessRequest. This constant has a value of “UNDEPLOY_FAILED”

RESOURCE_TYPE_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

A constant which can be used with the resource_type property of a DelegatedResourceAccessRequest. This constant has a value of “CLOUDVMCLUSTER”

RESOURCE_TYPE_VMCLUSTER = 'VMCLUSTER'

A constant which can be used with the resource_type property of a DelegatedResourceAccessRequest. This constant has a value of “VMCLUSTER”

SEVERITY_S1 = 'S1'

A constant which can be used with the severity property of a DelegatedResourceAccessRequest. This constant has a value of “S1”

SEVERITY_S2 = 'S2'

A constant which can be used with the severity property of a DelegatedResourceAccessRequest. This constant has a value of “S2”

SEVERITY_S3 = 'S3'

A constant which can be used with the severity property of a DelegatedResourceAccessRequest. This constant has a value of “S3”

SEVERITY_S4 = 'S4'

A constant which can be used with the severity property of a DelegatedResourceAccessRequest. This constant has a value of “S4”

__init__(**kwargs)

Initializes a new DelegatedResourceAccessRequest 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 DelegatedResourceAccessRequest.
  • compartment_id (str) – The value to assign to the compartment_id property of this DelegatedResourceAccessRequest.
  • display_name (str) – The value to assign to the display_name property of this DelegatedResourceAccessRequest.
  • ticket_numbers (list[str]) – The value to assign to the ticket_numbers property of this DelegatedResourceAccessRequest.
  • reason_for_request (str) – The value to assign to the reason_for_request property of this DelegatedResourceAccessRequest.
  • description (str) – The value to assign to the description property of this DelegatedResourceAccessRequest.
  • time_access_requested (datetime) – The value to assign to the time_access_requested property of this DelegatedResourceAccessRequest.
  • resource_id (str) – The value to assign to the resource_id property of this DelegatedResourceAccessRequest.
  • resource_name (str) – The value to assign to the resource_name property of this DelegatedResourceAccessRequest.
  • resource_type (str) – The value to assign to the resource_type property of this DelegatedResourceAccessRequest. Allowed values for this property are: “VMCLUSTER”, “CLOUDVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • requester_type (str) – The value to assign to the requester_type property of this DelegatedResourceAccessRequest. Allowed values for this property are: “OPERATOR”, “CUSTOMER”, “SYSTEM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • requested_action_names (list[str]) – The value to assign to the requested_action_names property of this DelegatedResourceAccessRequest.
  • database_name_list (list[str]) – The value to assign to the database_name_list property of this DelegatedResourceAccessRequest.
  • provided_service_types (list[str]) – The value to assign to the provided_service_types property of this DelegatedResourceAccessRequest. Allowed values for items in this list are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • delegation_subscription_ids (list[str]) – The value to assign to the delegation_subscription_ids property of this DelegatedResourceAccessRequest.
  • severity (str) – The value to assign to the severity property of this DelegatedResourceAccessRequest. Allowed values for this property are: “S1”, “S2”, “S3”, “S4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • duration_in_hours (int) – The value to assign to the duration_in_hours property of this DelegatedResourceAccessRequest.
  • extend_duration_in_hours (int) – The value to assign to the extend_duration_in_hours property of this DelegatedResourceAccessRequest.
  • is_auto_approved (bool) – The value to assign to the is_auto_approved property of this DelegatedResourceAccessRequest.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DelegatedResourceAccessRequest. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this DelegatedResourceAccessRequest.
  • request_status (str) – The value to assign to the request_status property of this DelegatedResourceAccessRequest. Allowed values for this property are: “CREATED”, “APPROVAL_WAITING”, “OPERATOR_ASSIGNMENT_WAITING”, “PREAPPROVED”, “APPROVED”, “APPROVED_FOR_FUTURE”, “REJECTED”, “DEPLOYED”, “DEPLOY_FAILED”, “UNDEPLOYED”, “UNDEPLOY_FAILED”, “CLOSE_FAILED”, “REVOKE_FAILED”, “EXPIRY_FAILED”, “REVOKING”, “REVOKED”, “EXTENDING”, “EXTENDED”, “EXTENSION_REJECTED”, “EXTENSION_FAILED”, “COMPLETING”, “COMPLETED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this DelegatedResourceAccessRequest.
  • time_updated (datetime) – The value to assign to the time_updated property of this DelegatedResourceAccessRequest.
  • num_initial_approvals (int) – The value to assign to the num_initial_approvals property of this DelegatedResourceAccessRequest.
  • num_extension_approvals (int) – The value to assign to the num_extension_approvals property of this DelegatedResourceAccessRequest.
  • approval_info (list[oci.delegate_access_control.models.DelegatedResourceAccessRequestApprovalDetails]) – The value to assign to the approval_info property of this DelegatedResourceAccessRequest.
  • closure_comment (str) – The value to assign to the closure_comment property of this DelegatedResourceAccessRequest.
  • delegation_control_id (str) – The value to assign to the delegation_control_id property of this DelegatedResourceAccessRequest.
  • audit_types (list[str]) – The value to assign to the audit_types property of this DelegatedResourceAccessRequest. Allowed values for items in this list are: “COMMAND_AUDIT”, “COMMAND_KEYSTROKE_AUDIT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_pending_more_info (bool) – The value to assign to the is_pending_more_info property of this DelegatedResourceAccessRequest.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DelegatedResourceAccessRequest.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DelegatedResourceAccessRequest.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DelegatedResourceAccessRequest.
approval_info

Gets the approval_info of this DelegatedResourceAccessRequest. In case of single approval, this will have only one item. Else, a list of approvals.

Returns:The approval_info of this DelegatedResourceAccessRequest.
Return type:list[oci.delegate_access_control.models.DelegatedResourceAccessRequestApprovalDetails]
audit_types

Gets the audit_types of this DelegatedResourceAccessRequest. Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged.

Allowed values for items in this list are: “COMMAND_AUDIT”, “COMMAND_KEYSTROKE_AUDIT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The audit_types of this DelegatedResourceAccessRequest.
Return type:list[str]
closure_comment

Gets the closure_comment of this DelegatedResourceAccessRequest. The comment entered by the support operator while closing the request.

Returns:The closure_comment of this DelegatedResourceAccessRequest.
Return type:str
compartment_id

[Required] Gets the compartment_id of this DelegatedResourceAccessRequest. The OCID of the compartment that contains the Delegated Resource Access Request.

Returns:The compartment_id of this DelegatedResourceAccessRequest.
Return type:str
database_name_list

Gets the database_name_list of this DelegatedResourceAccessRequest. List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed.

Returns:The database_name_list of this DelegatedResourceAccessRequest.
Return type:list[str]
defined_tags

Gets the defined_tags of this DelegatedResourceAccessRequest. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this DelegatedResourceAccessRequest.
Return type:dict(str, dict(str, object))
delegation_control_id

Gets the delegation_control_id of this DelegatedResourceAccessRequest. The OCID of the Delegation Control governing the target resource.

Returns:The delegation_control_id of this DelegatedResourceAccessRequest.
Return type:str
delegation_subscription_ids

Gets the delegation_subscription_ids of this DelegatedResourceAccessRequest. List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.

Returns:The delegation_subscription_ids of this DelegatedResourceAccessRequest.
Return type:list[str]
description

[Required] Gets the description of this DelegatedResourceAccessRequest. Detailed description of this Delegated Resource Access Request.

Returns:The description of this DelegatedResourceAccessRequest.
Return type:str
display_name

Gets the display_name of this DelegatedResourceAccessRequest. Display name. This is generated by the system automatically.

Returns:The display_name of this DelegatedResourceAccessRequest.
Return type:str
duration_in_hours

Gets the duration_in_hours of this DelegatedResourceAccessRequest. Duration in hours for which access is sought on the target resource.

Returns:The duration_in_hours of this DelegatedResourceAccessRequest.
Return type:int
extend_duration_in_hours

Gets the extend_duration_in_hours of this DelegatedResourceAccessRequest. Duration in hours for which extension access is sought on the target resource.

Returns:The extend_duration_in_hours of this DelegatedResourceAccessRequest.
Return type:int
freeform_tags

Gets the freeform_tags of this DelegatedResourceAccessRequest. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this DelegatedResourceAccessRequest.
Return type:dict(str, str)
id

[Required] Gets the id of this DelegatedResourceAccessRequest. The OCID of the Delegated Resource Access Request.

Returns:The id of this DelegatedResourceAccessRequest.
Return type:str
is_auto_approved

Gets the is_auto_approved of this DelegatedResourceAccessRequest. Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.

Returns:The is_auto_approved of this DelegatedResourceAccessRequest.
Return type:bool
is_pending_more_info

Gets the is_pending_more_info of this DelegatedResourceAccessRequest. Indicates if the delegated resource access request is waiting on more information from the operator

Returns:The is_pending_more_info of this DelegatedResourceAccessRequest.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this DelegatedResourceAccessRequest. The current lifecycle state of the Delegated Resource Access Request.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DelegatedResourceAccessRequest.
Return type:str
lifecycle_state_details

Gets the lifecycle_state_details of this DelegatedResourceAccessRequest. Description of the current lifecycle state in more detail.

Returns:The lifecycle_state_details of this DelegatedResourceAccessRequest.
Return type:str
num_extension_approvals

Gets the num_extension_approvals of this DelegatedResourceAccessRequest. Number of extension approvals that have been obtained so far.

Returns:The num_extension_approvals of this DelegatedResourceAccessRequest.
Return type:int
num_initial_approvals

Gets the num_initial_approvals of this DelegatedResourceAccessRequest. Number of initial approvals that have been obtained so far.

Returns:The num_initial_approvals of this DelegatedResourceAccessRequest.
Return type:int
provided_service_types

Gets the provided_service_types of this DelegatedResourceAccessRequest. List of Service Provider Service Types being provided by the support operator user.

Allowed values for items in this list are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The provided_service_types of this DelegatedResourceAccessRequest.
Return type:list[str]
reason_for_request

[Required] Gets the reason_for_request of this DelegatedResourceAccessRequest. A short description explaining why this Delegated Resource Access Request is needed by the support operator.

Returns:The reason_for_request of this DelegatedResourceAccessRequest.
Return type:str
request_status

Gets the request_status of this DelegatedResourceAccessRequest. The current status of the Delegated Resource Access Request.

Allowed values for this property are: “CREATED”, “APPROVAL_WAITING”, “OPERATOR_ASSIGNMENT_WAITING”, “PREAPPROVED”, “APPROVED”, “APPROVED_FOR_FUTURE”, “REJECTED”, “DEPLOYED”, “DEPLOY_FAILED”, “UNDEPLOYED”, “UNDEPLOY_FAILED”, “CLOSE_FAILED”, “REVOKE_FAILED”, “EXPIRY_FAILED”, “REVOKING”, “REVOKED”, “EXTENDING”, “EXTENDED”, “EXTENSION_REJECTED”, “EXTENSION_FAILED”, “COMPLETING”, “COMPLETED”, “EXPIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The request_status of this DelegatedResourceAccessRequest.
Return type:str
requested_action_names

Gets the requested_action_names of this DelegatedResourceAccessRequest. List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API.

Returns:The requested_action_names of this DelegatedResourceAccessRequest.
Return type:list[str]
requester_type

Gets the requester_type of this DelegatedResourceAccessRequest. Requester type

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

Returns:The requester_type of this DelegatedResourceAccessRequest.
Return type:str
resource_id

[Required] Gets the resource_id of this DelegatedResourceAccessRequest. The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.

Returns:The resource_id of this DelegatedResourceAccessRequest.
Return type:str
resource_name

Gets the resource_name of this DelegatedResourceAccessRequest. The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.

Returns:The resource_name of this DelegatedResourceAccessRequest.
Return type:str
resource_type

Gets the resource_type of this DelegatedResourceAccessRequest. Resource type for which the associated Delegation Control is applicable to.

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

Returns:The resource_type of this DelegatedResourceAccessRequest.
Return type:str
severity

Gets the severity of this DelegatedResourceAccessRequest. Priority assigned to the Delegated Resource Access Request by the support operator

Allowed values for this property are: “S1”, “S2”, “S3”, “S4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The severity of this DelegatedResourceAccessRequest.
Return type:str
system_tags

Gets the system_tags of this DelegatedResourceAccessRequest. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DelegatedResourceAccessRequest.
Return type:dict(str, dict(str, object))
ticket_numbers

Gets the ticket_numbers of this DelegatedResourceAccessRequest. A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.

Returns:The ticket_numbers of this DelegatedResourceAccessRequest.
Return type:list[str]
time_access_requested

Gets the time_access_requested of this DelegatedResourceAccessRequest. Requested access start time in UTC.

Returns:The time_access_requested of this DelegatedResourceAccessRequest.
Return type:datetime
time_created

Gets the time_created of this DelegatedResourceAccessRequest. Time when the Delegated Resource Access Request was created in `RFC 3339`__timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.

Returns:The time_created of this DelegatedResourceAccessRequest.
Return type:datetime
time_updated

Gets the time_updated of this DelegatedResourceAccessRequest. Time when the Delegated Resource Access Request was last modified in `RFC 3339`__timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.

Returns:The time_updated of this DelegatedResourceAccessRequest.
Return type:datetime