Class DevopsWaiters
Contains collection of helper methods to produce Oci.Common.Waiters for different resources of Devops.
Inherited Members
Namespace: Oci.DevopsService
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class DevopsWaiters
Constructors
DevopsWaiters(DevopsClient)
Declaration
public DevopsWaiters(DevopsClient client)
Parameters
Type | Name | Description |
---|---|---|
DevopsClient | client |
Methods
ForBuildPipeline(GetBuildPipelineRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBuildPipelineRequest, GetBuildPipelineResponse> ForBuildPipeline(GetBuildPipelineRequest request, WaiterConfiguration config, params BuildPipeline.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildPipelineRequest | 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<GetBuildPipelineRequest, GetBuildPipelineResponse> | a new Oci.common.Waiter instance |
ForBuildPipeline(GetBuildPipelineRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBuildPipelineRequest, GetBuildPipelineResponse> ForBuildPipeline(GetBuildPipelineRequest request, params BuildPipeline.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildPipelineRequest | 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<GetBuildPipelineRequest, GetBuildPipelineResponse> | a new Oci.common.Waiter instance |
ForBuildPipelineStage(GetBuildPipelineStageRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBuildPipelineStageRequest, GetBuildPipelineStageResponse> ForBuildPipelineStage(GetBuildPipelineStageRequest request, WaiterConfiguration config, params BuildPipelineStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildPipelineStageRequest | 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<GetBuildPipelineStageRequest, GetBuildPipelineStageResponse> | a new Oci.common.Waiter instance |
ForBuildPipelineStage(GetBuildPipelineStageRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBuildPipelineStageRequest, GetBuildPipelineStageResponse> ForBuildPipelineStage(GetBuildPipelineStageRequest request, params BuildPipelineStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildPipelineStageRequest | 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<GetBuildPipelineStageRequest, GetBuildPipelineStageResponse> | a new Oci.common.Waiter instance |
ForBuildRun(GetBuildRunRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetBuildRunRequest, GetBuildRunResponse> ForBuildRun(GetBuildRunRequest request, WaiterConfiguration config, params BuildRun.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildRunRequest | 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<GetBuildRunRequest, GetBuildRunResponse> | a new Oci.common.Waiter instance |
ForBuildRun(GetBuildRunRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetBuildRunRequest, GetBuildRunResponse> ForBuildRun(GetBuildRunRequest request, params BuildRun.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetBuildRunRequest | 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<GetBuildRunRequest, GetBuildRunResponse> | a new Oci.common.Waiter instance |
ForConnection(GetConnectionRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetConnectionRequest, GetConnectionResponse> ForConnection(GetConnectionRequest request, WaiterConfiguration config, params Connection.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetConnectionRequest | 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<GetConnectionRequest, GetConnectionResponse> | a new Oci.common.Waiter instance |
ForConnection(GetConnectionRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetConnectionRequest, GetConnectionResponse> ForConnection(GetConnectionRequest request, params Connection.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetConnectionRequest | 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<GetConnectionRequest, GetConnectionResponse> | a new Oci.common.Waiter instance |
ForDeployArtifact(GetDeployArtifactRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDeployArtifactRequest, GetDeployArtifactResponse> ForDeployArtifact(GetDeployArtifactRequest request, WaiterConfiguration config, params DeployArtifact.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployArtifactRequest | 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<GetDeployArtifactRequest, GetDeployArtifactResponse> | a new Oci.common.Waiter instance |
ForDeployArtifact(GetDeployArtifactRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDeployArtifactRequest, GetDeployArtifactResponse> ForDeployArtifact(GetDeployArtifactRequest request, params DeployArtifact.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployArtifactRequest | 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<GetDeployArtifactRequest, GetDeployArtifactResponse> | a new Oci.common.Waiter instance |
ForDeployEnvironment(GetDeployEnvironmentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDeployEnvironmentRequest, GetDeployEnvironmentResponse> ForDeployEnvironment(GetDeployEnvironmentRequest request, WaiterConfiguration config, params DeployEnvironment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployEnvironmentRequest | 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<GetDeployEnvironmentRequest, GetDeployEnvironmentResponse> | a new Oci.common.Waiter instance |
ForDeployEnvironment(GetDeployEnvironmentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDeployEnvironmentRequest, GetDeployEnvironmentResponse> ForDeployEnvironment(GetDeployEnvironmentRequest request, params DeployEnvironment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployEnvironmentRequest | 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<GetDeployEnvironmentRequest, GetDeployEnvironmentResponse> | a new Oci.common.Waiter instance |
ForDeployPipeline(GetDeployPipelineRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDeployPipelineRequest, GetDeployPipelineResponse> ForDeployPipeline(GetDeployPipelineRequest request, WaiterConfiguration config, params DeployPipeline.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployPipelineRequest | 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<GetDeployPipelineRequest, GetDeployPipelineResponse> | a new Oci.common.Waiter instance |
ForDeployPipeline(GetDeployPipelineRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDeployPipelineRequest, GetDeployPipelineResponse> ForDeployPipeline(GetDeployPipelineRequest request, params DeployPipeline.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployPipelineRequest | 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<GetDeployPipelineRequest, GetDeployPipelineResponse> | a new Oci.common.Waiter instance |
ForDeployStage(GetDeployStageRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDeployStageRequest, GetDeployStageResponse> ForDeployStage(GetDeployStageRequest request, WaiterConfiguration config, params DeployStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployStageRequest | 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<GetDeployStageRequest, GetDeployStageResponse> | a new Oci.common.Waiter instance |
ForDeployStage(GetDeployStageRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDeployStageRequest, GetDeployStageResponse> ForDeployStage(GetDeployStageRequest request, params DeployStage.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeployStageRequest | 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<GetDeployStageRequest, GetDeployStageResponse> | a new Oci.common.Waiter instance |
ForDeployment(GetDeploymentRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetDeploymentRequest, GetDeploymentResponse> ForDeployment(GetDeploymentRequest request, WaiterConfiguration config, params Deployment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeploymentRequest | 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<GetDeploymentRequest, GetDeploymentResponse> | a new Oci.common.Waiter instance |
ForDeployment(GetDeploymentRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetDeploymentRequest, GetDeploymentResponse> ForDeployment(GetDeploymentRequest request, params Deployment.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetDeploymentRequest | 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<GetDeploymentRequest, GetDeploymentResponse> | a new Oci.common.Waiter instance |
ForProject(GetProjectRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetProjectRequest, GetProjectResponse> ForProject(GetProjectRequest request, WaiterConfiguration config, params Project.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetProjectRequest | 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<GetProjectRequest, GetProjectResponse> | a new Oci.common.Waiter instance |
ForProject(GetProjectRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetProjectRequest, GetProjectResponse> ForProject(GetProjectRequest request, params Project.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetProjectRequest | 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<GetProjectRequest, GetProjectResponse> | a new Oci.common.Waiter instance |
ForPullRequest(GetPullRequestRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetPullRequestRequest, GetPullRequestResponse> ForPullRequest(GetPullRequestRequest request, WaiterConfiguration config, params PullRequest.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPullRequestRequest | 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<GetPullRequestRequest, GetPullRequestResponse> | a new Oci.common.Waiter instance |
ForPullRequest(GetPullRequestRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetPullRequestRequest, GetPullRequestResponse> ForPullRequest(GetPullRequestRequest request, params PullRequest.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetPullRequestRequest | 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<GetPullRequestRequest, GetPullRequestResponse> | a new Oci.common.Waiter instance |
ForRepository(GetRepositoryRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetRepositoryRequest, GetRepositoryResponse> ForRepository(GetRepositoryRequest request, WaiterConfiguration config, params Repository.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetRepositoryRequest | 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<GetRepositoryRequest, GetRepositoryResponse> | a new Oci.common.Waiter instance |
ForRepository(GetRepositoryRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetRepositoryRequest, GetRepositoryResponse> ForRepository(GetRepositoryRequest request, params Repository.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetRepositoryRequest | 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<GetRepositoryRequest, GetRepositoryResponse> | a new Oci.common.Waiter instance |
ForTrigger(GetTriggerRequest, WaiterConfiguration, params LifecycleStateEnum[])
Creates a waiter using the provided configuration.
Declaration
public Waiter<GetTriggerRequest, GetTriggerResponse> ForTrigger(GetTriggerRequest request, WaiterConfiguration config, params Trigger.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTriggerRequest | 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<GetTriggerRequest, GetTriggerResponse> | a new Oci.common.Waiter instance |
ForTrigger(GetTriggerRequest, params LifecycleStateEnum[])
Creates a waiter using default wait configuration.
Declaration
public Waiter<GetTriggerRequest, GetTriggerResponse> ForTrigger(GetTriggerRequest request, params Trigger.LifecycleStateEnum[] targetStates)
Parameters
Type | Name | Description |
---|---|---|
GetTriggerRequest | 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<GetTriggerRequest, GetTriggerResponse> | 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 |