CreateAccessRequestDetails¶
- class oci.lockbox.models.CreateAccessRequestDetails(**kwargs)¶
Bases:
objectThe configuration details for a new access request. We don’t accept a compartmentId parameter because it is implied to be the same as the lockbox as a subsidiary resource. The requestorId is also based on the caller user info.
Methods:
__init__(**kwargs)Initializes a new CreateAccessRequestDetails object with values from keyword arguments.
Attributes:
[Required] Gets the access_duration of this CreateAccessRequestDetails.
Gets the context of this CreateAccessRequestDetails.
[Required] Gets the description of this CreateAccessRequestDetails.
Gets the display_name of this CreateAccessRequestDetails.
[Required] Gets the lockbox_id of this CreateAccessRequestDetails.
Gets the ticket_number of this CreateAccessRequestDetails.
- __init__(**kwargs)¶
Initializes a new CreateAccessRequestDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
lockbox_id (str) – The value to assign to the lockbox_id property of this CreateAccessRequestDetails.
display_name (str) – The value to assign to the display_name property of this CreateAccessRequestDetails.
description (str) – The value to assign to the description property of this CreateAccessRequestDetails.
context (dict(str, str)) – The value to assign to the context property of this CreateAccessRequestDetails.
access_duration (str) – The value to assign to the access_duration property of this CreateAccessRequestDetails.
ticket_number (str) – The value to assign to the ticket_number property of this CreateAccessRequestDetails.
- property access_duration¶
[Required] Gets the access_duration of this CreateAccessRequestDetails. The maximum amount of time operator has access to associated resources.
- Returns
The access_duration of this CreateAccessRequestDetails.
- Return type
str
- property context¶
Gets the context of this CreateAccessRequestDetails. The context object containing the access request specific details.
- Returns
The context of this CreateAccessRequestDetails.
- Return type
dict(str, str)
- property description¶
[Required] Gets the description of this CreateAccessRequestDetails. The rationale for requesting the access request.
- Returns
The description of this CreateAccessRequestDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateAccessRequestDetails. The name of the access request.
- Returns
The display_name of this CreateAccessRequestDetails.
- Return type
str
- property lockbox_id¶
[Required] Gets the lockbox_id of this CreateAccessRequestDetails. The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
- Returns
The lockbox_id of this CreateAccessRequestDetails.
- Return type
str
- property ticket_number¶
Gets the ticket_number of this CreateAccessRequestDetails. The ticket number raised by external customers Example: 3-37509643121
- Returns
The ticket_number of this CreateAccessRequestDetails.
- Return type
str