Class DnsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Dns.
Inherited Members
Namespace: Oci.DnsService
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class DnsWaiters
Constructors
DnsWaiters(DnsClient)
Declaration
public DnsWaiters(DnsClient client)
Parameters
Type | Name | Description |
---|---|---|
DnsClient | client |
Methods
ForResolver(GetResolverRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetResolverRequest, GetResolverResponse> ForResolver(GetResolverRequest request, WaiterConfiguration config, params Resolver.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetResolverRequest | 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<GetResolverRequest, GetResolverResponse> | a new Oci.common.Waiter instance |
ForResolver(GetResolverRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetResolverRequest, GetResolverResponse> ForResolver(GetResolverRequest request, params Resolver.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetResolverRequest | 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<GetResolverRequest, GetResolverResponse> | a new Oci.common.Waiter instance |
ForResolverEndpoint(GetResolverEndpointRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetResolverEndpointRequest, GetResolverEndpointResponse> ForResolverEndpoint(GetResolverEndpointRequest request, WaiterConfiguration config, params ResolverEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetResolverEndpointRequest | 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<GetResolverEndpointRequest, GetResolverEndpointResponse> | a new Oci.common.Waiter instance |
ForResolverEndpoint(GetResolverEndpointRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetResolverEndpointRequest, GetResolverEndpointResponse> ForResolverEndpoint(GetResolverEndpointRequest request, params ResolverEndpoint.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetResolverEndpointRequest | 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<GetResolverEndpointRequest, GetResolverEndpointResponse> | a new Oci.common.Waiter instance |
ForSteeringPolicy(GetSteeringPolicyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSteeringPolicyRequest, GetSteeringPolicyResponse> ForSteeringPolicy(GetSteeringPolicyRequest request, WaiterConfiguration config, params SteeringPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSteeringPolicyRequest | 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<GetSteeringPolicyRequest, GetSteeringPolicyResponse> | a new Oci.common.Waiter instance |
ForSteeringPolicy(GetSteeringPolicyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSteeringPolicyRequest, GetSteeringPolicyResponse> ForSteeringPolicy(GetSteeringPolicyRequest request, params SteeringPolicy.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSteeringPolicyRequest | 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<GetSteeringPolicyRequest, GetSteeringPolicyResponse> | a new Oci.common.Waiter instance |
ForSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetSteeringPolicyAttachmentRequest, GetSteeringPolicyAttachmentResponse> ForSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest request, WaiterConfiguration config, params SteeringPolicyAttachment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSteeringPolicyAttachmentRequest | 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<GetSteeringPolicyAttachmentRequest, GetSteeringPolicyAttachmentResponse> | a new Oci.common.Waiter instance |
ForSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetSteeringPolicyAttachmentRequest, GetSteeringPolicyAttachmentResponse> ForSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest request, params SteeringPolicyAttachment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetSteeringPolicyAttachmentRequest | 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<GetSteeringPolicyAttachmentRequest, GetSteeringPolicyAttachmentResponse> | a new Oci.common.Waiter instance |
ForTsigKey(GetTsigKeyRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetTsigKeyRequest, GetTsigKeyResponse> ForTsigKey(GetTsigKeyRequest request, WaiterConfiguration config, params TsigKey.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTsigKeyRequest | 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<GetTsigKeyRequest, GetTsigKeyResponse> | a new Oci.common.Waiter instance |
ForTsigKey(GetTsigKeyRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetTsigKeyRequest, GetTsigKeyResponse> ForTsigKey(GetTsigKeyRequest request, params TsigKey.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTsigKeyRequest | 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<GetTsigKeyRequest, GetTsigKeyResponse> | a new Oci.common.Waiter instance |
ForView(GetViewRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetViewRequest, GetViewResponse> ForView(GetViewRequest request, WaiterConfiguration config, params View.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetViewRequest | 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<GetViewRequest, GetViewResponse> | a new Oci.common.Waiter instance |
ForView(GetViewRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetViewRequest, GetViewResponse> ForView(GetViewRequest request, params View.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetViewRequest | 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<GetViewRequest, GetViewResponse> | a new Oci.common.Waiter instance |
ForZone(GetZoneRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetZoneRequest, GetZoneResponse> ForZone(GetZoneRequest request, WaiterConfiguration config, params Zone.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetZoneRequest | 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<GetZoneRequest, GetZoneResponse> | a new Oci.common.Waiter instance |
ForZone(GetZoneRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetZoneRequest, GetZoneResponse> ForZone(GetZoneRequest request, params Zone.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetZoneRequest | 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<GetZoneRequest, GetZoneResponse> | a new Oci.common.Waiter instance |