Class CreateAccessRequestDetails
The 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.
Inherited Members
Namespace: Oci.LockboxService.Models
Assembly: OCI.DotNetSDK.Lockbox.dll
Syntax
public class CreateAccessRequestDetails
Properties
AccessDuration
Declaration
[Required(ErrorMessage = "AccessDuration is required.")]
[JsonProperty(PropertyName = "accessDuration")]
public string AccessDuration { get; set; }
Property Value
Type | Description |
---|---|
string | The maximum amount of time operator has access to associated resources. |
Remarks
Required
Context
Declaration
[JsonProperty(PropertyName = "context")]
public Dictionary<string, string> Context { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | The context object containing the access request specific details. |
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The rationale for requesting the access request. |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the access request. |
LockboxId
Declaration
[Required(ErrorMessage = "LockboxId is required.")]
[JsonProperty(PropertyName = "lockboxId")]
public string LockboxId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable. |
Remarks
Required
TicketNumber
Declaration
[JsonProperty(PropertyName = "ticketNumber")]
public string TicketNumber { get; set; }
Property Value
Type | Description |
---|---|
string | The ticket number raised by external customers Example: 3-37509643121 |