Class PostgresqlWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Postgresql.
Inherited Members
Namespace: Oci.PsqlService
Assembly: OCI.DotNetSDK.Psql.dll
Syntax
public class PostgresqlWaiters
Constructors
PostgresqlWaiters(PostgresqlClient)
Declaration
public PostgresqlWaiters(PostgresqlClient client)
Parameters
Type | Name | Description |
---|---|---|
PostgresqlClient | client |
Methods
ForBackup(GetBackupRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBackupRequest, GetBackupResponse> ForBackup(GetBackupRequest request, WaiterConfiguration config, params Backup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBackupRequest | 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<GetBackupRequest, GetBackupResponse> | a new Oci.common.Waiter instance |
ForBackup(GetBackupRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBackupRequest, GetBackupResponse> ForBackup(GetBackupRequest request, params Backup.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBackupRequest | 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<GetBackupRequest, GetBackupResponse> | a new Oci.common.Waiter instance |
ForConfiguration(GetConfigurationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetConfigurationRequest, GetConfigurationResponse> ForConfiguration(GetConfigurationRequest request, WaiterConfiguration config, params Configuration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetConfigurationRequest | 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<GetConfigurationRequest, GetConfigurationResponse> | a new Oci.common.Waiter instance |
ForConfiguration(GetConfigurationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetConfigurationRequest, GetConfigurationResponse> ForConfiguration(GetConfigurationRequest request, params Configuration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetConfigurationRequest | 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<GetConfigurationRequest, GetConfigurationResponse> | a new Oci.common.Waiter instance |
ForDbSystem(GetDbSystemRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDbSystemRequest, GetDbSystemResponse> ForDbSystem(GetDbSystemRequest request, WaiterConfiguration config, params DbSystem.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDbSystemRequest | 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<GetDbSystemRequest, GetDbSystemResponse> | a new Oci.common.Waiter instance |
ForDbSystem(GetDbSystemRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDbSystemRequest, GetDbSystemResponse> ForDbSystem(GetDbSystemRequest request, params DbSystem.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDbSystemRequest | 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<GetDbSystemRequest, GetDbSystemResponse> | a new Oci.common.Waiter instance |
ForDefaultConfiguration(GetDefaultConfigurationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDefaultConfigurationRequest, GetDefaultConfigurationResponse> ForDefaultConfiguration(GetDefaultConfigurationRequest request, WaiterConfiguration config, params DefaultConfiguration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDefaultConfigurationRequest | 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<GetDefaultConfigurationRequest, GetDefaultConfigurationResponse> | a new Oci.common.Waiter instance |
ForDefaultConfiguration(GetDefaultConfigurationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDefaultConfigurationRequest, GetDefaultConfigurationResponse> ForDefaultConfiguration(GetDefaultConfigurationRequest request, params DefaultConfiguration.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDefaultConfigurationRequest | 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<GetDefaultConfigurationRequest, GetDefaultConfigurationResponse> | 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 |