PipelineRunsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerRegistryManagementClient's

<xref:pipeline_runs> attribute.

Constructor

PipelineRunsOperations(*args, **kwargs)

Methods

begin_create

Creates a pipeline run for a container registry with the specified parameters.

begin_delete

Deletes a pipeline run from a container registry.

get

Gets the detailed information for a given pipeline run.

list

Lists all the pipeline runs for the specified container registry.

begin_create

Creates a pipeline run for a container registry with the specified parameters.

begin_create(resource_group_name: str, registry_name: str, pipeline_run_name: str, pipeline_run_create_parameters: _models.PipelineRun, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.PipelineRun]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

registry_name
Required
str

The name of the container registry. Required.

pipeline_run_name
Required
str

The name of the pipeline run. Required.

pipeline_run_create_parameters
Required

The parameters for creating a pipeline run. Is either a PipelineRun type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either PipelineRun or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes a pipeline run from a container registry.

begin_delete(resource_group_name: str, registry_name: str, pipeline_run_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

registry_name
Required
str

The name of the container registry. Required.

pipeline_run_name
Required
str

The name of the pipeline run. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets the detailed information for a given pipeline run.

get(resource_group_name: str, registry_name: str, pipeline_run_name: str, **kwargs: Any) -> PipelineRun

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

registry_name
Required
str

The name of the container registry. Required.

pipeline_run_name
Required
str

The name of the pipeline run. Required.

Returns

Type Description

PipelineRun or the result of cls(response)

Exceptions

Type Description

list

Lists all the pipeline runs for the specified container registry.

list(resource_group_name: str, registry_name: str, **kwargs: Any) -> Iterable[PipelineRun]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

registry_name
Required
str

The name of the container registry. Required.

Returns

Type Description

An iterator like instance of either PipelineRun or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.containerregistry.v2024_11_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv91\\Lib\\site-packages\\azure\\mgmt\\containerregistry\\v2024_11_01_preview\\models\\__init__.py'>