Class RedirectWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Redirect.
Inherited Members
Namespace: Oci.WaasService
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class RedirectWaiters
Constructors
RedirectWaiters(RedirectClient)
Declaration
public RedirectWaiters(RedirectClient client)
Parameters
Type | Name | Description |
---|---|---|
RedirectClient | client |
Methods
ForHttpRedirect(GetHttpRedirectRequest, WaiterConfiguration, params LifecycleStates[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetHttpRedirectRequest, GetHttpRedirectResponse> ForHttpRedirect(GetHttpRedirectRequest request, WaiterConfiguration config, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHttpRedirectRequest | 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<GetHttpRedirectRequest, GetHttpRedirectResponse> | a new Oci.common.Waiter instance |
ForHttpRedirect(GetHttpRedirectRequest, params LifecycleStates[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetHttpRedirectRequest, GetHttpRedirectResponse> ForHttpRedirect(GetHttpRedirectRequest request, params LifecycleStates[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetHttpRedirectRequest | 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<GetHttpRedirectRequest, GetHttpRedirectResponse> | a new Oci.common.Waiter instance |