Class OsManagementWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of OsManagement.
Inherited Members
Namespace: Oci.OsmanagementService
Assembly: OCI.DotNetSDK.Osmanagement.dll
Syntax
public class OsManagementWaiters
Constructors
OsManagementWaiters(OsManagementClient)
Declaration
public OsManagementWaiters(OsManagementClient client)
Parameters
Type | Name | Description |
---|---|---|
OsManagementClient | client |
Methods
ForManagedInstanceGroup(GetManagedInstanceGroupRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetManagedInstanceGroupRequest, GetManagedInstanceGroupResponse> ForManagedInstanceGroup(GetManagedInstanceGroupRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagedInstanceGroupRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStates[] | 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<GetManagedInstanceGroupRequest, GetManagedInstanceGroupResponse> | a new Oci.common.Waiter instance |
ForManagedInstanceGroup(GetManagedInstanceGroupRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetManagedInstanceGroupRequest, GetManagedInstanceGroupResponse> ForManagedInstanceGroup(GetManagedInstanceGroupRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetManagedInstanceGroupRequest | request | Request to send. |
LifecycleStates[] | 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<GetManagedInstanceGroupRequest, GetManagedInstanceGroupResponse> | a new Oci.common.Waiter instance |
ForScheduledJob(GetScheduledJobRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetScheduledJobRequest, GetScheduledJobResponse> ForScheduledJob(GetScheduledJobRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledJobRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStates[] | 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<GetScheduledJobRequest, GetScheduledJobResponse> | a new Oci.common.Waiter instance |
ForScheduledJob(GetScheduledJobRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetScheduledJobRequest, GetScheduledJobResponse> ForScheduledJob(GetScheduledJobRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledJobRequest | request | Request to send. |
LifecycleStates[] | 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<GetScheduledJobRequest, GetScheduledJobResponse> | a new Oci.common.Waiter instance |
ForSoftwareSource(GetSoftwareSourceRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSoftwareSourceRequest, GetSoftwareSourceResponse> ForSoftwareSource(GetSoftwareSourceRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSoftwareSourceRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleStates[] | 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<GetSoftwareSourceRequest, GetSoftwareSourceResponse> | a new Oci.common.Waiter instance |
ForSoftwareSource(GetSoftwareSourceRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSoftwareSourceRequest, GetSoftwareSourceResponse> ForSoftwareSource(GetSoftwareSourceRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSoftwareSourceRequest | request | Request to send. |
LifecycleStates[] | 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<GetSoftwareSourceRequest, GetSoftwareSourceResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params OperationStatus[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OperationStatus[] | 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 OperationStatus[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params OperationStatus[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
OperationStatus[] | 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 |