Class AccessRequestSummary
Summary of access request.
Inherited Members
Namespace: Oci.OperatoraccesscontrolService.Models
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class AccessRequestSummary
Properties
AccessReasonSummary
Declaration
[Required(ErrorMessage = "AccessReasonSummary is required.")]
[JsonProperty(PropertyName = "accessReasonSummary")]
public string AccessReasonSummary { get; set; }
Property Value
Type | Description |
---|---|
string | Comment associated with the access request. |
Remarks
Required
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the access request. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. |
Duration
Declaration
[JsonProperty(PropertyName = "duration")]
public int? Duration { get; set; }
Property Value
Type | Description |
---|---|
int? | Duration in hours for which access is sought on the target resource. |
ExtendDuration
Declaration
[JsonProperty(PropertyName = "extendDuration")]
public int? ExtendDuration { get; set; }
Property Value
Type | Description |
---|---|
int? | Duration in hours for which extension access is sought on the target resource. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the access request. |
Remarks
Required
IsAutoApproved
Declaration
[JsonProperty(PropertyName = "isAutoApproved")]
public bool? IsAutoApproved { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the access request was automatically approved. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | More in detail about the lifeCycleState. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AccessRequestLifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AccessRequestLifecycleStates? | The current state of the AccessRequest. |
RequestId
Declaration
[JsonProperty(PropertyName = "requestId")]
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string | This is a system-generated identifier. |
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource. |
Remarks
Required
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the target resource. |
ResourceType
Declaration
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourceTypes? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
ResourceTypes? | resourceType for which the AccessRequest is applicable |
Severity
Declaration
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AccessRequestSeverities? Severity { get; set; }
Property Value
Type | Description |
---|---|
AccessRequestSeverities? | Priority assigned to the access request by the operator |
SubResourceList
Declaration
[JsonProperty(PropertyName = "subResourceList")]
public List<string> SubResourceList { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The subresources requested for approval. |
TimeOfCreation
Declaration
[JsonProperty(PropertyName = "timeOfCreation")]
public DateTime? TimeOfCreation { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the access request was created by the operator user in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z' |
TimeOfModification
Declaration
[JsonProperty(PropertyName = "timeOfModification")]
public DateTime? TimeOfModification { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the access request was last modified in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z' |
TimeOfUserCreation
Declaration
[JsonProperty(PropertyName = "timeOfUserCreation")]
public DateTime? TimeOfUserCreation { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z' |
TimeRequestedForFutureAccess
Declaration
[JsonProperty(PropertyName = "timeRequestedForFutureAccess")]
public DateTime? TimeRequestedForFutureAccess { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z' |