Class ThreatintelWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Threatintel.
Inherited Members
Namespace: Oci.ThreatintelligenceService
Assembly: OCI.DotNetSDK.Threatintelligence.dll
Syntax
public class ThreatintelWaiters
Constructors
ThreatintelWaiters(ThreatintelClient)
Declaration
public ThreatintelWaiters(ThreatintelClient client)
Parameters
Type | Name | Description |
---|---|---|
ThreatintelClient | client |
Methods
ForIndicator(GetIndicatorRequest, WaiterConfiguration, params LifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetIndicatorRequest, GetIndicatorResponse> ForIndicator(GetIndicatorRequest request, WaiterConfiguration config, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIndicatorRequest | 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<GetIndicatorRequest, GetIndicatorResponse> | a new Oci.common.Waiter instance |
ForIndicator(GetIndicatorRequest, params LifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetIndicatorRequest, GetIndicatorResponse> ForIndicator(GetIndicatorRequest request, params LifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetIndicatorRequest | 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<GetIndicatorRequest, GetIndicatorResponse> | a new Oci.common.Waiter instance |