Class AccessRequestsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of AccessRequests.
Inherited Members
Namespace: Oci.OperatoraccesscontrolService
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class AccessRequestsWaiters
Constructors
AccessRequestsWaiters(AccessRequestsClient)
Declaration
public AccessRequestsWaiters(AccessRequestsClient client)
Parameters
Type | Name | Description |
---|---|---|
AccessRequestsClient | client |
Methods
ForAccessRequest(GetAccessRequestRequest, WaiterConfiguration, params AccessRequestLifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetAccessRequestRequest, GetAccessRequestResponse> ForAccessRequest(GetAccessRequestRequest request, WaiterConfiguration config, params AccessRequestLifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAccessRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
AccessRequestLifecycleStates[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetAccessRequestRequest, GetAccessRequestResponse> | a new Oci.common.Waiter instance |
ForAccessRequest(GetAccessRequestRequest, params AccessRequestLifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetAccessRequestRequest, GetAccessRequestResponse> ForAccessRequest(GetAccessRequestRequest request, params AccessRequestLifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAccessRequestRequest | request | Request to send. |
AccessRequestLifecycleStates[] | targetStates | Desired resource states. If multiple states are provided then the waiter will return once the resource reaches any of the provided states |
Returns
Type | Description |
---|---|
Waiter<GetAccessRequestRequest, GetAccessRequestResponse> | a new Oci.common.Waiter instance |