Class AccessRequestsClient
Service client instance for AccessRequests.
Implements
Inherited Members
Namespace: Oci.OperatoraccesscontrolService
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class AccessRequestsClient : RegionalClientBase, IDisposable
Constructors
AccessRequestsClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public AccessRequestsClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
Type | Name | Description |
---|---|---|
IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public AccessRequestsPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
AccessRequestsPaginators |
Waiters
Declaration
public AccessRequestsWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
AccessRequestsWaiters |
Methods
ApproveAccessRequest(ApproveAccessRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Approves an access request.
Declaration
public Task<ApproveAccessRequestResponse> ApproveAccessRequest(ApproveAccessRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ApproveAccessRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ApproveAccessRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ApproveAccessRequest API.
GetAccessRequest(GetAccessRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets details of an access request.
Declaration
public Task<GetAccessRequestResponse> GetAccessRequest(GetAccessRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetAccessRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetAccessRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetAccessRequest API.
GetAuditLogReport(GetAuditLogReportRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the Audit Log Report for the given access requestId.
Declaration
public Task<GetAuditLogReportResponse> GetAuditLogReport(GetAuditLogReportRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetAuditLogReportRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<GetAuditLogReportResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetAuditLogReport API.
InteractionRequest(InteractionRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Posts query for additional information for the given access request.
Declaration
public Task<InteractionRequestResponse> InteractionRequest(InteractionRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
InteractionRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<InteractionRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use InteractionRequest API.
ListAccessRequestHistories(ListAccessRequestHistoriesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a history of all status associated with the accessRequestId.
Declaration
public Task<ListAccessRequestHistoriesResponse> ListAccessRequestHistories(ListAccessRequestHistoriesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListAccessRequestHistoriesRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListAccessRequestHistoriesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListAccessRequestHistories API.
ListAccessRequests(ListAccessRequestsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists all access requests in the compartment.
Declaration
public Task<ListAccessRequestsResponse> ListAccessRequests(ListAccessRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListAccessRequestsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListAccessRequestsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListAccessRequests API.
ListInteractions(ListInteractionsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists the MoreInformation interaction between customer and operators.
Declaration
public Task<ListInteractionsResponse> ListInteractions(ListInteractionsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListInteractionsRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ListInteractionsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListInteractions API.
RejectAccessRequest(RejectAccessRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Rejects an access request.
Declaration
public Task<RejectAccessRequestResponse> RejectAccessRequest(RejectAccessRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RejectAccessRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<RejectAccessRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RejectAccessRequest API.
ReviewAccessRequest(ReviewAccessRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Reviews the access request.
Declaration
public Task<ReviewAccessRequestResponse> ReviewAccessRequest(ReviewAccessRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ReviewAccessRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<ReviewAccessRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ReviewAccessRequest API.
RevokeAccessRequest(RevokeAccessRequestRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Revokes an already approved access request.
Declaration
public Task<RevokeAccessRequestResponse> RevokeAccessRequest(RevokeAccessRequestRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
RevokeAccessRequestRequest | request | The request object containing the details to send. Required. |
RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
Type | Description |
---|---|
Task<RevokeAccessRequestResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RevokeAccessRequest API.