DeploymentOperationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ResourceManagementClient's

<xref:deployment_operations> attribute.

Inheritance
builtins.object
DeploymentOperationsOperations

Constructor

DeploymentOperationsOperations(*args, **kwargs)

Methods

get

Gets a deployments operation.

list

Gets all deployments operations for a deployment.

get

Gets a deployments operation.

get(resource_group_name: str, deployment_name: str, operation_id: str, **kwargs: Any) -> DeploymentOperation

Parameters

Name Description
resource_group_name
Required
str

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

deployment_name
Required
str

The name of the deployment. Required.

operation_id
Required
str

The ID of the operation to get. Required.

Returns

Type Description

DeploymentOperation or the result of cls(response)

Exceptions

Type Description

list

Gets all deployments operations for a deployment.

list(resource_group_name: str, deployment_name: str, top: int | None = None, **kwargs: Any) -> Iterable[DeploymentOperation]

Parameters

Name Description
resource_group_name
Required
str

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

deployment_name
Required
str

The name of the deployment with the operation to get. Required.

top
Required
int

The number of results to return. Default value is None.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.resource.resources.v2018_02_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2018_02_01\\models\\__init__.py'>