Class IotWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Iot.
Inherited Members
Namespace: Oci.IotService
Assembly: OCI.DotNetSDK.Iot.dll
Syntax
public class IotWaiters
Constructors
IotWaiters(IotClient)
Declaration
public IotWaiters(IotClient client)
Parameters
Type | Name | Description |
---|---|---|
IotClient | client |
Methods
ForDigitalTwinAdapter(GetDigitalTwinAdapterRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDigitalTwinAdapterRequest, GetDigitalTwinAdapterResponse> ForDigitalTwinAdapter(GetDigitalTwinAdapterRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinAdapterRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetDigitalTwinAdapterRequest, GetDigitalTwinAdapterResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinAdapter(GetDigitalTwinAdapterRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDigitalTwinAdapterRequest, GetDigitalTwinAdapterResponse> ForDigitalTwinAdapter(GetDigitalTwinAdapterRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinAdapterRequest | request | Request to send. |
LifecycleState[] | 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<GetDigitalTwinAdapterRequest, GetDigitalTwinAdapterResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinInstance(GetDigitalTwinInstanceRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDigitalTwinInstanceRequest, GetDigitalTwinInstanceResponse> ForDigitalTwinInstance(GetDigitalTwinInstanceRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinInstanceRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetDigitalTwinInstanceRequest, GetDigitalTwinInstanceResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinInstance(GetDigitalTwinInstanceRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDigitalTwinInstanceRequest, GetDigitalTwinInstanceResponse> ForDigitalTwinInstance(GetDigitalTwinInstanceRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinInstanceRequest | request | Request to send. |
LifecycleState[] | 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<GetDigitalTwinInstanceRequest, GetDigitalTwinInstanceResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinModel(GetDigitalTwinModelRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDigitalTwinModelRequest, GetDigitalTwinModelResponse> ForDigitalTwinModel(GetDigitalTwinModelRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinModelRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetDigitalTwinModelRequest, GetDigitalTwinModelResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinModel(GetDigitalTwinModelRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDigitalTwinModelRequest, GetDigitalTwinModelResponse> ForDigitalTwinModel(GetDigitalTwinModelRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinModelRequest | request | Request to send. |
LifecycleState[] | 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<GetDigitalTwinModelRequest, GetDigitalTwinModelResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinRelationship(GetDigitalTwinRelationshipRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDigitalTwinRelationshipRequest, GetDigitalTwinRelationshipResponse> ForDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinRelationshipRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
LifecycleState[] | 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<GetDigitalTwinRelationshipRequest, GetDigitalTwinRelationshipResponse> | a new Oci.common.Waiter instance |
ForDigitalTwinRelationship(GetDigitalTwinRelationshipRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDigitalTwinRelationshipRequest, GetDigitalTwinRelationshipResponse> ForDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDigitalTwinRelationshipRequest | request | Request to send. |
LifecycleState[] | 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<GetDigitalTwinRelationshipRequest, GetDigitalTwinRelationshipResponse> | a new Oci.common.Waiter instance |
ForIotDomain(GetIotDomainRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetIotDomainRequest, GetIotDomainResponse> ForIotDomain(GetIotDomainRequest request, WaiterConfiguration config, params IotDomain.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIotDomainRequest | 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<GetIotDomainRequest, GetIotDomainResponse> | a new Oci.common.Waiter instance |
ForIotDomain(GetIotDomainRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetIotDomainRequest, GetIotDomainResponse> ForIotDomain(GetIotDomainRequest request, params IotDomain.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIotDomainRequest | 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<GetIotDomainRequest, GetIotDomainResponse> | a new Oci.common.Waiter instance |
ForIotDomainGroup(GetIotDomainGroupRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetIotDomainGroupRequest, GetIotDomainGroupResponse> ForIotDomainGroup(GetIotDomainGroupRequest request, WaiterConfiguration config, params IotDomainGroup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIotDomainGroupRequest | 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<GetIotDomainGroupRequest, GetIotDomainGroupResponse> | a new Oci.common.Waiter instance |
ForIotDomainGroup(GetIotDomainGroupRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetIotDomainGroupRequest, GetIotDomainGroupResponse> ForIotDomainGroup(GetIotDomainGroupRequest request, params IotDomainGroup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIotDomainGroupRequest | 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<GetIotDomainGroupRequest, GetIotDomainGroupResponse> | 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 |