Show / Hide Table of Contents

Class ListAccessRequestsRequest

Inheritance
object
ListAccessRequestsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OperatoraccesscontrolService.Requests
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class ListAccessRequestsRequest : IOciRequest
Examples

Click here to see an example of how to use ListAccessRequests request.

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The ID of the compartment in which to list resources.

Remarks

Required

LifecycleState

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public AccessRequestLifecycleStates? LifecycleState { get; set; }
Property Value
Type Description
AccessRequestLifecycleStates?

A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.

Limit

Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type Description
int?

The maximum number of items to return.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request ID for tracing.

Page

Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type Description
string

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

ResourceName

Declaration
[HttpConverter(TargetEnum.Query, "resourceName")]
public string ResourceName { get; set; }
Property Value
Type Description
string

A filter to return only resources that match the given ResourceName.

ResourceType

Declaration
[HttpConverter(TargetEnum.Query, "resourceType")]
public string ResourceType { get; set; }
Property Value
Type Description
string

A filter to return only lists of resources that match the entire given service type.

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListAccessRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListAccessRequestsRequest.SortByEnum?

The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.

SortOrder

Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrders? SortOrder { get; set; }
Property Value
Type Description
SortOrders?

The sort order to use, either 'asc' or 'desc'.

TimeEnd

Declaration
[HttpConverter(TargetEnum.Query, "timeEnd")]
public DateTime? TimeEnd { get; set; }
Property Value
Type Description
DateTime?

Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.

TimeStart

Declaration
[HttpConverter(TargetEnum.Query, "timeStart")]
public DateTime? TimeStart { get; set; }
Property Value
Type Description
DateTime?

Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.

Implements

IOciRequest
In this article
Back to top