Class WafWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Waf.
Inherited Members
Namespace: Oci.WafService
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class WafWaiters
Constructors
WafWaiters(WafClient)
Declaration
public WafWaiters(WafClient client)
Parameters
Type | Name | Description |
---|---|---|
WafClient | client |
Methods
ForNetworkAddressList(GetNetworkAddressListRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetNetworkAddressListRequest, GetNetworkAddressListResponse> ForNetworkAddressList(GetNetworkAddressListRequest request, WaiterConfiguration config, params NetworkAddressList.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetNetworkAddressListRequest | 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<GetNetworkAddressListRequest, GetNetworkAddressListResponse> | a new Oci.common.Waiter instance |
ForNetworkAddressList(GetNetworkAddressListRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetNetworkAddressListRequest, GetNetworkAddressListResponse> ForNetworkAddressList(GetNetworkAddressListRequest request, params NetworkAddressList.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetNetworkAddressListRequest | 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<GetNetworkAddressListRequest, GetNetworkAddressListResponse> | a new Oci.common.Waiter instance |
ForWebAppFirewall(GetWebAppFirewallRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWebAppFirewallRequest, GetWebAppFirewallResponse> ForWebAppFirewall(GetWebAppFirewallRequest request, WaiterConfiguration config, params WebAppFirewall.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallRequest | 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<GetWebAppFirewallRequest, GetWebAppFirewallResponse> | a new Oci.common.Waiter instance |
ForWebAppFirewall(GetWebAppFirewallRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWebAppFirewallRequest, GetWebAppFirewallResponse> ForWebAppFirewall(GetWebAppFirewallRequest request, params WebAppFirewall.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallRequest | 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<GetWebAppFirewallRequest, GetWebAppFirewallResponse> | a new Oci.common.Waiter instance |
ForWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWebAppFirewallPolicyRequest, GetWebAppFirewallPolicyResponse> ForWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, WaiterConfiguration config, params WebAppFirewallPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallPolicyRequest | 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<GetWebAppFirewallPolicyRequest, GetWebAppFirewallPolicyResponse> | a new Oci.common.Waiter instance |
ForWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWebAppFirewallPolicyRequest, GetWebAppFirewallPolicyResponse> ForWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, params WebAppFirewallPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWebAppFirewallPolicyRequest | 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<GetWebAppFirewallPolicyRequest, GetWebAppFirewallPolicyResponse> | a new Oci.common.Waiter instance |
ForWorkRequest(GetWorkRequestRequest, WaiterConfiguration, params StatusEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, WaiterConfiguration config, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
StatusEnum[] | 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 StatusEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetWorkRequestRequest, GetWorkRequestResponse> ForWorkRequest(GetWorkRequestRequest request, params WorkRequest.StatusEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetWorkRequestRequest | request | Request to send. |
StatusEnum[] | 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 |