Compartilhar via


PipelineRunsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerRegistryManagementClient's

<xref:pipeline_runs> attribute.

Inheritance
builtins.object
PipelineRunsOperations

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.

async 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) -> AsyncLROPoller[_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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes a pipeline run from a container registry.

async begin_delete(resource_group_name: str, registry_name: str, pipeline_run_name: str, **kwargs: Any) -> AsyncLROPoller[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.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

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

Exceptions

Type Description

get

Gets the detailed information for a given pipeline run.

async 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.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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) -> AsyncIterable[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.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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.v2023_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\containerregistry\\v2023_01_01_preview\\models\\__init__.py'>