DevopsClientCompositeOperations¶
-
class
oci.devops.
DevopsClientCompositeOperations
(client, **kwargs)¶ This class provides a wrapper around
DevopsClient
and offers convenience methods for operations that would otherwise need to be chained together. For example, instead of performing an action on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource to enter a given state, you can call a single method in this class to accomplish the same functionalityMethods
-
__init__
(client, **kwargs)¶ Creates a new DevopsClientCompositeOperations object
Parameters: client (DevopsClient) – The service client which will be wrapped by this object
-
approve_deployment_and_wait_for_state
(deployment_id, approve_deployment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
approve_deployment()
and waits for theDeployment
acted upon to enter the given state(s).Parameters: - deployment_id (str) – (required) Unique deployment identifier.
- approve_deployment_details (oci.devops.models.ApproveDeploymentDetails) – (required) The stage information for approval.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
approve_deployment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
cancel_build_run_and_wait_for_state
(cancel_build_run_details, build_run_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
cancel_build_run()
and waits for theBuildRun
acted upon to enter the given state(s).Parameters: - cancel_build_run_details (oci.devops.models.CancelBuildRunDetails) – (required) Parameter details required to cancel a build run.
- build_run_id (str) – (required) Unique build run identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
cancel_build_run()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
cancel_deployment_and_wait_for_state
(deployment_id, cancel_deployment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
cancel_deployment()
and waits for theDeployment
acted upon to enter the given state(s).Parameters: - deployment_id (str) – (required) Unique deployment identifier.
- cancel_deployment_details (oci.devops.models.CancelDeploymentDetails) – (required) The information regarding the deployment to be canceled.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
cancel_deployment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
cancel_scheduled_cascading_project_deletion_and_wait_for_state
(project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
cancel_scheduled_cascading_project_deletion()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) Unique project identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
cancel_scheduled_cascading_project_deletion()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
change_project_compartment_and_wait_for_state
(project_id, change_project_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_project_compartment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) Unique project identifier.
- change_project_compartment_details (oci.devops.models.ChangeProjectCompartmentDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
change_project_compartment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_build_pipeline_and_wait_for_state
(create_build_pipeline_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_build_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_build_pipeline_details (oci.devops.models.CreateBuildPipelineDetails) – (required) Details for the new build pipeline.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_build_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_build_pipeline_stage_and_wait_for_state
(create_build_pipeline_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_build_pipeline_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_build_pipeline_stage_details (oci.devops.models.CreateBuildPipelineStageDetails) – (required) Details for the new stage.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_build_pipeline_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_build_run_and_wait_for_state
(create_build_run_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_build_run()
and waits for theBuildRun
acted upon to enter the given state(s).Parameters: - create_build_run_details (oci.devops.models.CreateBuildRunDetails) – (required) Parameter details required to create a new build run.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_build_run()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_connection_and_wait_for_state
(create_connection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_connection()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_connection_details (oci.devops.models.CreateConnectionDetails) – (required) Details for the new connection.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_connection()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_deploy_artifact_and_wait_for_state
(create_deploy_artifact_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_deploy_artifact()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_deploy_artifact_details (oci.devops.models.CreateDeployArtifactDetails) – (required) Details for the new deployment artifact.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_deploy_artifact()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_deploy_environment_and_wait_for_state
(create_deploy_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_deploy_environment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_deploy_environment_details (oci.devops.models.CreateDeployEnvironmentDetails) – (required) Details for the new deployment environment.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_deploy_environment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_deploy_pipeline_and_wait_for_state
(create_deploy_pipeline_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_deploy_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_deploy_pipeline_details (oci.devops.models.CreateDeployPipelineDetails) – (required) Details for the new deployment pipeline.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_deploy_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_deploy_stage_and_wait_for_state
(create_deploy_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_deploy_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_deploy_stage_details (oci.devops.models.CreateDeployStageDetails) – (required) Details for the new deployment stage.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_deploy_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_deployment_and_wait_for_state
(create_deployment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_deployment()
and waits for theDeployment
acted upon to enter the given state(s).Parameters: - create_deployment_details (oci.devops.models.CreateDeploymentDetails) – (required) Details for the new deployment.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_deployment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_or_update_git_ref_and_wait_for_state
(repository_id, create_or_update_git_ref_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_or_update_git_ref()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- create_or_update_git_ref_details (oci.devops.models.CreateOrUpdateGitRefDetails) – (required) The information to create a reference with the type specified in the query.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_or_update_git_ref()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_project_and_wait_for_state
(create_project_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_project()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_project_details (oci.devops.models.CreateProjectDetails) – (required) Details for the new project.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_project()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_pull_request_and_wait_for_state
(create_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_pull_request()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_pull_request_details (oci.devops.models.CreatePullRequestDetails) – (required) Details for the new PullRequest.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_repository_and_wait_for_state
(create_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_repository()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_repository_details (oci.devops.models.CreateRepositoryDetails) – (required) Details for the new repository.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_repository()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_trigger_and_wait_for_state
(create_trigger_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_trigger()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_trigger_details (oci.devops.models.CreateTriggerDetails) – (required) Details for the new trigger.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
create_trigger()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
decline_pull_request_and_wait_for_state
(pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
decline_pull_request()
and waits for thePullRequest
acted upon to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
decline_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_build_pipeline_and_wait_for_state
(build_pipeline_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_build_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - build_pipeline_id (str) – (required) Unique build pipeline identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_build_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_build_pipeline_stage_and_wait_for_state
(build_pipeline_stage_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_build_pipeline_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - build_pipeline_stage_id (str) – (required) Unique stage identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_build_pipeline_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_connection_and_wait_for_state
(connection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_connection()
and waits for theWorkRequest
to enter the given state(s).Parameters: - connection_id (str) – (required) Unique connection identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_connection()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_deploy_artifact_and_wait_for_state
(deploy_artifact_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_deploy_artifact()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_artifact_id (str) – (required) Unique artifact identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_deploy_artifact()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_deploy_environment_and_wait_for_state
(deploy_environment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_deploy_environment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_environment_id (str) – (required) Unique environment identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_deploy_environment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_deploy_pipeline_and_wait_for_state
(deploy_pipeline_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_deploy_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_pipeline_id (str) – (required) Unique pipeline identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_deploy_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_deploy_stage_and_wait_for_state
(deploy_stage_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_deploy_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_stage_id (str) – (required) Unique stage identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_deploy_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_git_ref_and_wait_for_state
(repository_id, delete_git_ref_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_git_ref()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- delete_git_ref_details (oci.devops.models.DeleteGitRefDetails) – (required) The information to delete a reference.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_git_ref()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_project_and_wait_for_state
(project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_project()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) Unique project identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_project()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_pull_request_and_wait_for_state
(pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_pull_request()
and waits for thePullRequest
acted upon to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_ref_and_wait_for_state
(repository_id, ref_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_ref()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- ref_name (str) – (required) A filter to return only resources that match the given reference name.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_ref()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_repository_and_wait_for_state
(repository_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_repository()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_repository()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_trigger_and_wait_for_state
(trigger_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_trigger()
and waits for theWorkRequest
to enter the given state(s).Parameters: - trigger_id (str) – (required) Unique trigger identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
delete_trigger()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
merge_pull_request_and_wait_for_state
(pull_request_id, merge_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
merge_pull_request()
and waits for theWorkRequest
to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- merge_pull_request_details (oci.devops.models.MergePullRequestDetails) – (required) The details about the merge operation.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
merge_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
mirror_repository_and_wait_for_state
(repository_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
mirror_repository()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
mirror_repository()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
put_repository_ref_and_wait_for_state
(repository_id, ref_name, put_repository_ref_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
put_repository_ref()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- ref_name (str) – (required) A filter to return only resources that match the given reference name.
- put_repository_ref_details (oci.devops.models.PutRepositoryRefDetails) – (required) The information to create a reference with the type specified in the query.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
put_repository_ref()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
reopen_pull_request_and_wait_for_state
(pull_request_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
reopen_pull_request()
and waits for thePullRequest
acted upon to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
reopen_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
review_pull_request_and_wait_for_state
(pull_request_id, review_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
review_pull_request()
and waits for thePullRequest
acted upon to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- review_pull_request_details (oci.devops.models.ReviewPullRequestDetails) – (required) Details to submit a review.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
review_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
schedule_cascading_project_deletion_and_wait_for_state
(project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
schedule_cascading_project_deletion()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) Unique project identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
schedule_cascading_project_deletion()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
sync_repository_and_wait_for_state
(repository_id, sync_merge_strategy, sync_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
sync_repository()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- sync_merge_strategy (str) –
(required) If fetch and merge is passed in, the changes from the upstream will be fetched and merged into the destination branch. If discard is passed in, the changes in the fork will be overwritten with the changes brought in from the upstream.
Allowed values are: “FETCH_AND_MERGE”, “DISCARD”
- sync_repository_details (oci.devops.models.SyncRepositoryDetails) – (required) Details required for syncing a repository with its upstream.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
sync_repository()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_build_pipeline_and_wait_for_state
(build_pipeline_id, update_build_pipeline_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_build_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - build_pipeline_id (str) – (required) Unique build pipeline identifier.
- update_build_pipeline_details (oci.devops.models.UpdateBuildPipelineDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_build_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_build_pipeline_stage_and_wait_for_state
(build_pipeline_stage_id, update_build_pipeline_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_build_pipeline_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - build_pipeline_stage_id (str) – (required) Unique stage identifier.
- update_build_pipeline_stage_details (oci.devops.models.UpdateBuildPipelineStageDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_build_pipeline_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_build_run_and_wait_for_state
(build_run_id, update_build_run_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_build_run()
and waits for theBuildRun
acted upon to enter the given state(s).Parameters: - build_run_id (str) – (required) Unique build run identifier.
- update_build_run_details (oci.devops.models.UpdateBuildRunDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_build_run()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_connection_and_wait_for_state
(connection_id, update_connection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_connection()
and waits for theWorkRequest
to enter the given state(s).Parameters: - connection_id (str) – (required) Unique connection identifier.
- update_connection_details (oci.devops.models.UpdateConnectionDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_connection()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_deploy_artifact_and_wait_for_state
(deploy_artifact_id, update_deploy_artifact_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_deploy_artifact()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_artifact_id (str) – (required) Unique artifact identifier.
- update_deploy_artifact_details (oci.devops.models.UpdateDeployArtifactDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_deploy_artifact()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_deploy_environment_and_wait_for_state
(deploy_environment_id, update_deploy_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_deploy_environment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_environment_id (str) – (required) Unique environment identifier.
- update_deploy_environment_details (oci.devops.models.UpdateDeployEnvironmentDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_deploy_environment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_deploy_pipeline_and_wait_for_state
(deploy_pipeline_id, update_deploy_pipeline_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_deploy_pipeline()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_pipeline_id (str) – (required) Unique pipeline identifier.
- update_deploy_pipeline_details (oci.devops.models.UpdateDeployPipelineDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_deploy_pipeline()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_deploy_stage_and_wait_for_state
(deploy_stage_id, update_deploy_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_deploy_stage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - deploy_stage_id (str) – (required) Unique stage identifier.
- update_deploy_stage_details (oci.devops.models.UpdateDeployStageDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_deploy_stage()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_deployment_and_wait_for_state
(deployment_id, update_deployment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_deployment()
and waits for theDeployment
acted upon to enter the given state(s).Parameters: - deployment_id (str) – (required) Unique deployment identifier.
- update_deployment_details (oci.devops.models.UpdateDeploymentDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_deployment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_project_and_wait_for_state
(project_id, update_project_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_project()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) Unique project identifier.
- update_project_details (oci.devops.models.UpdateProjectDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_project()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_pull_request_and_wait_for_state
(pull_request_id, update_pull_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_pull_request()
and waits for theWorkRequest
to enter the given state(s).Parameters: - pull_request_id (str) – (required) unique PullRequest identifier
- update_pull_request_details (oci.devops.models.UpdatePullRequestDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_pull_request()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_repository_and_wait_for_state
(repository_id, update_repository_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_repository()
and waits for theWorkRequest
to enter the given state(s).Parameters: - repository_id (str) – (required) Unique repository identifier.
- update_repository_details (oci.devops.models.UpdateRepositoryDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_repository()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
update_trigger_and_wait_for_state
(trigger_id, update_trigger_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_trigger()
and waits for theWorkRequest
to enter the given state(s).Parameters: - trigger_id (str) – (required) Unique trigger identifier.
- update_trigger_details (oci.devops.models.UpdateTriggerDetails) – (required) The information to be updated.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
status
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
update_trigger()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
validate_connection_and_wait_for_state
(connection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
validate_connection()
and waits for theConnection
acted upon to enter the given state(s).Parameters: - connection_id (str) – (required) Unique connection identifier.
- wait_for_states (list[str]) – An array of states to wait on. These should be valid values for
lifecycle_state
- operation_kwargs (dict) – A dictionary of keyword arguments to pass to
validate_connection()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_interval_seconds
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-