DelegatedResourceAccessRequestSummary¶
- class oci.delegate_access_control.models.DelegatedResourceAccessRequestSummary(**kwargs)¶
Bases:
objectSummary of Delegated Resource Access Request.
Attributes:
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the resource_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the resource_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the resource_type property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary.
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary.
[Required] Gets the compartment_id of this DelegatedResourceAccessRequestSummary.
Gets the defined_tags of this DelegatedResourceAccessRequestSummary.
[Required] Gets the delegation_control_id of this DelegatedResourceAccessRequestSummary.
Gets the display_name of this DelegatedResourceAccessRequestSummary.
Gets the duration_in_hours of this DelegatedResourceAccessRequestSummary.
Gets the extend_duration_in_hours of this DelegatedResourceAccessRequestSummary.
Gets the freeform_tags of this DelegatedResourceAccessRequestSummary.
[Required] Gets the id of this DelegatedResourceAccessRequestSummary.
Gets the is_auto_approved of this DelegatedResourceAccessRequestSummary.
Gets the lifecycle_state of this DelegatedResourceAccessRequestSummary.
Gets the lifecycle_state_details of this DelegatedResourceAccessRequestSummary.
[Required] Gets the reason_for_request of this DelegatedResourceAccessRequestSummary.
Gets the request_status of this DelegatedResourceAccessRequestSummary.
Gets the requested_action_names of this DelegatedResourceAccessRequestSummary.
Gets the requester_type of this DelegatedResourceAccessRequestSummary.
[Required] Gets the resource_id of this DelegatedResourceAccessRequestSummary.
Gets the resource_name of this DelegatedResourceAccessRequestSummary.
Gets the resource_type of this DelegatedResourceAccessRequestSummary.
Gets the severity of this DelegatedResourceAccessRequestSummary.
Gets the system_tags of this DelegatedResourceAccessRequestSummary.
Gets the ticket_numbers of this DelegatedResourceAccessRequestSummary.
Gets the time_access_requested of this DelegatedResourceAccessRequestSummary.
Gets the time_created of this DelegatedResourceAccessRequestSummary.
Gets the time_updated of this DelegatedResourceAccessRequestSummary.
Methods:
__init__(**kwargs)Initializes a new DelegatedResourceAccessRequestSummary object with values from keyword arguments.
- REQUESTER_TYPE_CUSTOMER = 'CUSTOMER'¶
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary. This constant has a value of “CUSTOMER”
- REQUESTER_TYPE_OPERATOR = 'OPERATOR'¶
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary. This constant has a value of “OPERATOR”
- REQUESTER_TYPE_SYSTEM = 'SYSTEM'¶
A constant which can be used with the requester_type property of a DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. This constant has a value of “COMPLETED”
- REQUEST_STATUS_COMPLETING = 'COMPLETING'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. This constant has a value of “COMPLETING”
- REQUEST_STATUS_CREATED = 'CREATED'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. This constant has a value of “CREATED”
- REQUEST_STATUS_DEPLOYED = 'DEPLOYED'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. This constant has a value of “EXTENDED”
- REQUEST_STATUS_EXTENDING = 'EXTENDING'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. This constant has a value of “PREAPPROVED”
- REQUEST_STATUS_REJECTED = 'REJECTED'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. This constant has a value of “REJECTED”
- REQUEST_STATUS_REVOKED = 'REVOKED'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. This constant has a value of “REVOKING”
- REQUEST_STATUS_UNDEPLOYED = 'UNDEPLOYED'¶
A constant which can be used with the request_status property of a DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary. This constant has a value of “CLOUDVMCLUSTER”
- RESOURCE_TYPE_EXADBVMCLUSTER = 'EXADBVMCLUSTER'¶
A constant which can be used with the resource_type property of a DelegatedResourceAccessRequestSummary. This constant has a value of “EXADBVMCLUSTER”
- RESOURCE_TYPE_VMCLUSTER = 'VMCLUSTER'¶
A constant which can be used with the resource_type property of a DelegatedResourceAccessRequestSummary. This constant has a value of “VMCLUSTER”
- SEVERITY_S1 = 'S1'¶
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary. This constant has a value of “S1”
- SEVERITY_S2 = 'S2'¶
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary. This constant has a value of “S2”
- SEVERITY_S3 = 'S3'¶
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary. This constant has a value of “S3”
- SEVERITY_S4 = 'S4'¶
A constant which can be used with the severity property of a DelegatedResourceAccessRequestSummary. This constant has a value of “S4”
- __init__(**kwargs)¶
Initializes a new DelegatedResourceAccessRequestSummary 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 DelegatedResourceAccessRequestSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DelegatedResourceAccessRequestSummary.
display_name (str) – The value to assign to the display_name property of this DelegatedResourceAccessRequestSummary.
ticket_numbers (list[str]) – The value to assign to the ticket_numbers property of this DelegatedResourceAccessRequestSummary.
reason_for_request (str) – The value to assign to the reason_for_request property of this DelegatedResourceAccessRequestSummary.
time_access_requested (datetime) – The value to assign to the time_access_requested property of this DelegatedResourceAccessRequestSummary.
resource_id (str) – The value to assign to the resource_id property of this DelegatedResourceAccessRequestSummary.
resource_name (str) – The value to assign to the resource_name property of this DelegatedResourceAccessRequestSummary.
resource_type (str) – The value to assign to the resource_type property of this DelegatedResourceAccessRequestSummary. Allowed values for this property are: “VMCLUSTER”, “CLOUDVMCLUSTER”, “EXADBVMCLUSTER”, ‘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 DelegatedResourceAccessRequestSummary.
requester_type (str) – The value to assign to the requester_type property of this DelegatedResourceAccessRequestSummary. 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’.
delegation_control_id (str) – The value to assign to the delegation_control_id property of this DelegatedResourceAccessRequestSummary.
severity (str) – The value to assign to the severity property of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
extend_duration_in_hours (int) – The value to assign to the extend_duration_in_hours property of this DelegatedResourceAccessRequestSummary.
is_auto_approved (bool) – The value to assign to the is_auto_approved property of this DelegatedResourceAccessRequestSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DelegatedResourceAccessRequestSummary.
lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this DelegatedResourceAccessRequestSummary.
request_status (str) – The value to assign to the request_status property of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
time_updated (datetime) – The value to assign to the time_updated property of this DelegatedResourceAccessRequestSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DelegatedResourceAccessRequestSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DelegatedResourceAccessRequestSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DelegatedResourceAccessRequestSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this DelegatedResourceAccessRequestSummary. The OCID of the compartment that contains the Delegated Resource Access Request.
- Returns
The compartment_id of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
dict(str, dict(str, object))
- property delegation_control_id¶
[Required] Gets the delegation_control_id of this DelegatedResourceAccessRequestSummary. The OCID of the Delegation Control governing the target resource.
- Returns
The delegation_control_id of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property display_name¶
Gets the display_name of this DelegatedResourceAccessRequestSummary. Display name. This is generated by the system automatically.
- Returns
The display_name of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property duration_in_hours¶
Gets the duration_in_hours of this DelegatedResourceAccessRequestSummary. Duration in hours for which access is sought on the target resource.
- Returns
The duration_in_hours of this DelegatedResourceAccessRequestSummary.
- Return type
int
- property extend_duration_in_hours¶
Gets the extend_duration_in_hours of this DelegatedResourceAccessRequestSummary. Duration in hours for which extension access is sought on the target resource.
- Returns
The extend_duration_in_hours of this DelegatedResourceAccessRequestSummary.
- Return type
int
- property freeform_tags¶
Gets the freeform_tags of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DelegatedResourceAccessRequestSummary. The OCID of the Delegated Resource Access Request.
- Returns
The id of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property is_auto_approved¶
Gets the is_auto_approved of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
bool
- property lifecycle_state¶
Gets the lifecycle_state of this DelegatedResourceAccessRequestSummary. The current lifecycle state of the Delegated Resource Access Request.
- Returns
The lifecycle_state of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property lifecycle_state_details¶
Gets the lifecycle_state_details of this DelegatedResourceAccessRequestSummary. Description of the current lifecycle state in more detail.
- Returns
The lifecycle_state_details of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property reason_for_request¶
[Required] Gets the reason_for_request of this DelegatedResourceAccessRequestSummary. A short description explaining why this Delegated Resource Access Request is needed by the support operator.
- Returns
The reason_for_request of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property request_status¶
Gets the request_status of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
str
- property requested_action_names¶
Gets the requested_action_names of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
list[str]
- property requester_type¶
Gets the requester_type of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
str
- property resource_id¶
[Required] Gets the resource_id of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
str
- property resource_name¶
Gets the resource_name of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
str
- property resource_type¶
Gets the resource_type of this DelegatedResourceAccessRequestSummary. Resource type for which the associated Delegation Control is applicable to.
Allowed values for this property are: “VMCLUSTER”, “CLOUDVMCLUSTER”, “EXADBVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The resource_type of this DelegatedResourceAccessRequestSummary.
- Return type
str
- property severity¶
Gets the severity of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
dict(str, dict(str, object))
- property ticket_numbers¶
Gets the ticket_numbers of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
list[str]
- property time_access_requested¶
Gets the time_access_requested of this DelegatedResourceAccessRequestSummary. Requested access start time in UTC.
- Returns
The time_access_requested of this DelegatedResourceAccessRequestSummary.
- Return type
datetime
- property time_created¶
Gets the time_created of this DelegatedResourceAccessRequestSummary. Time when the Delegated Resource Access Request was created by the support operator user in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’.
- Returns
The time_created of this DelegatedResourceAccessRequestSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this DelegatedResourceAccessRequestSummary. 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 DelegatedResourceAccessRequestSummary.
- Return type
datetime