Class OrganizationWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Organization.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class OrganizationWaiters
Constructors
OrganizationWaiters(OrganizationClient)
Declaration
public OrganizationWaiters(OrganizationClient client)
Parameters
Type | Name | Description |
---|---|---|
OrganizationClient | client |
Methods
ForOrganization(GetOrganizationRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOrganizationRequest, GetOrganizationResponse> ForOrganization(GetOrganizationRequest request, WaiterConfiguration config, params Organization.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOrganizationRequest | 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<GetOrganizationRequest, GetOrganizationResponse> | a new Oci.common.Waiter instance |
ForOrganization(GetOrganizationRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOrganizationRequest, GetOrganizationResponse> ForOrganization(GetOrganizationRequest request, params Organization.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOrganizationRequest | 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<GetOrganizationRequest, GetOrganizationResponse> | a new Oci.common.Waiter instance |
ForOrganizationTenancy(GetOrganizationTenancyRequest, WaiterConfiguration, params OrganizationTenancyLifecycleState[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetOrganizationTenancyRequest, GetOrganizationTenancyResponse> ForOrganizationTenancy(GetOrganizationTenancyRequest request, WaiterConfiguration config, params OrganizationTenancyLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOrganizationTenancyRequest | request | Request to send. |
WaiterConfiguration | config | Wait Configuration |
OrganizationTenancyLifecycleState[] | 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<GetOrganizationTenancyRequest, GetOrganizationTenancyResponse> | a new Oci.common.Waiter instance |
ForOrganizationTenancy(GetOrganizationTenancyRequest, params OrganizationTenancyLifecycleState[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetOrganizationTenancyRequest, GetOrganizationTenancyResponse> ForOrganizationTenancy(GetOrganizationTenancyRequest request, params OrganizationTenancyLifecycleState[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetOrganizationTenancyRequest | request | Request to send. |
OrganizationTenancyLifecycleState[] | 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<GetOrganizationTenancyRequest, GetOrganizationTenancyResponse> | a new Oci.common.Waiter instance |