Show / Hide Table of Contents

Class AccessRequest

An access request to a customer's resource. An access request is a subsidiary resource of the Lockbox entity.

Inheritance
object
AccessRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LockboxService.Models
Assembly: OCI.DotNetSDK.Lockbox.dll
Syntax
public class AccessRequest

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

ActivityLogs

Declaration
[Required(ErrorMessage = "ActivityLogs is required.")]
[JsonProperty(PropertyName = "activityLogs")]
public List<ActivityLog> ActivityLogs { get; set; }
Property Value
Type Description
List<ActivityLog>

The actions taken by different persona on the access request, e.g. approve/deny/revoke

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 and any other related details..

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The name of the access request.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The unique identifier (OCID) of the access request, which can't be changed after creation.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AccessRequest.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
AccessRequest.LifecycleStateEnum?

Possible access request lifecycle states.

Remarks

Required

LifecycleStateDetails

Declaration
[Required(ErrorMessage = "LifecycleStateDetails is required.")]
[JsonProperty(PropertyName = "lifecycleStateDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AccessRequest.LifecycleStateDetailsEnum? LifecycleStateDetails { get; set; }
Property Value
Type Description
AccessRequest.LifecycleStateDetailsEnum?

Details of access request lifecycle state.

Remarks

Required

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 can't be changed after creation.

Remarks

Required

ReminderCount

Declaration
[Required(ErrorMessage = "ReminderCount is required.")]
[JsonProperty(PropertyName = "reminderCount")]
public int? ReminderCount { get; set; }
Property Value
Type Description
int?

The count of times the access request was reminded.

Remarks

Required

RequestorId

Declaration
[Required(ErrorMessage = "RequestorId is required.")]
[JsonProperty(PropertyName = "requestorId")]
public string RequestorId { get; set; }
Property Value
Type Description
string

The unique identifier of the requestor.

Remarks

Required

RequestorLocation

Declaration
[Required(ErrorMessage = "RequestorLocation is required.")]
[JsonProperty(PropertyName = "requestorLocation")]
public string RequestorLocation { get; set; }
Property Value
Type Description
string

The location of the requestor. Format with be two letters indicatiog operator's country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880 Example: US

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

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the access request was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Remarks

Required

TimeExpired

Declaration
[Required(ErrorMessage = "TimeExpired is required.")]
[JsonProperty(PropertyName = "timeExpired")]
public DateTime? TimeExpired { get; set; }
Property Value
Type Description
DateTime?

The time the access request expired. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Remarks

Required

TimeReminded

Declaration
[Required(ErrorMessage = "TimeReminded is required.")]
[JsonProperty(PropertyName = "timeReminded")]
public DateTime? TimeReminded { get; set; }
Property Value
Type Description
DateTime?

The time the access request was last reminded. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time the access request was last updated. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Remarks

Required

In this article
Back to top