Class ObjectStorageWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ObjectStorage.
Inherited Members
Namespace: Oci.ObjectstorageService
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class ObjectStorageWaiters
Constructors
ObjectStorageWaiters(ObjectStorageClient)
Declaration
public ObjectStorageWaiters(ObjectStorageClient client)
Parameters
Type | Name | Description |
---|---|---|
ObjectStorageClient | client |
Methods
ForPrivateEndpoint(GetPrivateEndpointRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetPrivateEndpointRequest, GetPrivateEndpointResponse> ForPrivateEndpoint(GetPrivateEndpointRequest request, WaiterConfiguration config, params PrivateEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPrivateEndpointRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStateEnum[] | 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<GetPrivateEndpointRequest, GetPrivateEndpointResponse> | a new Oci.common.Waiter instance |
ForPrivateEndpoint(GetPrivateEndpointRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetPrivateEndpointRequest, GetPrivateEndpointResponse> ForPrivateEndpoint(GetPrivateEndpointRequest request, params PrivateEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPrivateEndpointRequest | request | Request to send. |
LifecycleStateEnum[] | 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<GetPrivateEndpointRequest, GetPrivateEndpointResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params StatusEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
StatusEnum[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params StatusEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
StatusEnum[] | 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<GetWorkRequestRequest, GetWorkRequestResponse> | a new Oci.common.Waiter instance |