Class ScheduledJobWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of ScheduledJob.
Inherited Members
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ScheduledJobWaiters
Constructors
ScheduledJobWaiters(ScheduledJobClient)
Declaration
public ScheduledJobWaiters(ScheduledJobClient client)
Parameters
Type | Name | Description |
---|---|---|
ScheduledJobClient | client |
Methods
ForScheduledJob(GetScheduledJobRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetScheduledJobRequest, GetScheduledJobResponse> ForScheduledJob(GetScheduledJobRequest request, WaiterConfiguration config, params ScheduledJob.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledJobRequest | 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<GetScheduledJobRequest, GetScheduledJobResponse> | a new Oci.common.Waiter instance |
ForScheduledJob(GetScheduledJobRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetScheduledJobRequest, GetScheduledJobResponse> ForScheduledJob(GetScheduledJobRequest request, params ScheduledJob.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetScheduledJobRequest | 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<GetScheduledJobRequest, GetScheduledJobResponse> | a new Oci.common.Waiter instance |