Class DiscoveryWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Discovery.
Inherited Members
Namespace: Oci.CloudbridgeService
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class DiscoveryWaiters
Constructors
DiscoveryWaiters(DiscoveryClient)
Declaration
public DiscoveryWaiters(DiscoveryClient client)
Parameters
Type | Name | Description |
---|---|---|
DiscoveryClient | client |
Methods
ForAssetSource(GetAssetSourceRequest, params AssetSourceLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetAssetSourceRequest, GetAssetSourceResponse> ForAssetSource(GetAssetSourceRequest request, params AssetSourceLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAssetSourceRequest | request | Request to send. |
AssetSourceLifecycleState[] | 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<GetAssetSourceRequest, GetAssetSourceResponse> | a new Oci.common.Waiter instance |
ForAssetSource(GetAssetSourceRequest, WaiterConfiguration, params AssetSourceLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetAssetSourceRequest, GetAssetSourceResponse> ForAssetSource(GetAssetSourceRequest request, WaiterConfiguration config, params AssetSourceLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetAssetSourceRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
AssetSourceLifecycleState[] | 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<GetAssetSourceRequest, GetAssetSourceResponse> | a new Oci.common.Waiter instance |
ForDiscoverySchedule(GetDiscoveryScheduleRequest, params DiscoveryScheduleLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDiscoveryScheduleRequest, GetDiscoveryScheduleResponse> ForDiscoverySchedule(GetDiscoveryScheduleRequest request, params DiscoveryScheduleLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDiscoveryScheduleRequest | request | Request to send. |
DiscoveryScheduleLifecycleState[] | 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<GetDiscoveryScheduleRequest, GetDiscoveryScheduleResponse> | a new Oci.common.Waiter instance |
ForDiscoverySchedule(GetDiscoveryScheduleRequest, WaiterConfiguration, params DiscoveryScheduleLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDiscoveryScheduleRequest, GetDiscoveryScheduleResponse> ForDiscoverySchedule(GetDiscoveryScheduleRequest request, WaiterConfiguration config, params DiscoveryScheduleLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDiscoveryScheduleRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
DiscoveryScheduleLifecycleState[] | 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<GetDiscoveryScheduleRequest, GetDiscoveryScheduleResponse> | a new Oci.common.Waiter instance |