Class AnalyticsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Analytics.
Inherited Members
Namespace: Oci.AnalyticsService
Assembly: OCI.DotNetSDK.Analytics.dll
Syntax
public class AnalyticsWaiters
Constructors
AnalyticsWaiters(AnalyticsClient)
Declaration
public AnalyticsWaiters(AnalyticsClient client)
Parameters
Type | Name | Description |
---|---|---|
AnalyticsClient | client |
Methods
ForAnalyticsInstance(GetAnalyticsInstanceRequest, params AnalyticsInstanceLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetAnalyticsInstanceRequest, GetAnalyticsInstanceResponse> ForAnalyticsInstance(GetAnalyticsInstanceRequest request, params AnalyticsInstanceLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAnalyticsInstanceRequest | request | Request to send. |
AnalyticsInstanceLifecycleState[] | 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<GetAnalyticsInstanceRequest, GetAnalyticsInstanceResponse> | a new Oci.common.Waiter instance |
ForAnalyticsInstance(GetAnalyticsInstanceRequest, WaiterConfiguration, params AnalyticsInstanceLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetAnalyticsInstanceRequest, GetAnalyticsInstanceResponse> ForAnalyticsInstance(GetAnalyticsInstanceRequest request, WaiterConfiguration config, params AnalyticsInstanceLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAnalyticsInstanceRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
AnalyticsInstanceLifecycleState[] | 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<GetAnalyticsInstanceRequest, GetAnalyticsInstanceResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, params WorkRequestStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params WorkRequestStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WorkRequestStatus[] | 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, WaiterConfiguration, params WorkRequestStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params WorkRequestStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
WorkRequestStatus[] | 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 |