DeploymentOperationsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:deployment_operations> attribute.
- Inheritance
-
builtins.objectDeploymentOperationsOperations
Constructor
DeploymentOperationsOperations(*args, **kwargs)
Methods
get |
Gets a deployments operation. |
get_at_management_group_scope |
Gets a deployments operation. |
get_at_subscription_scope |
Gets a deployments operation. |
list |
Gets all deployments operations for a deployment. |
list_at_management_group_scope |
Gets all deployments operations for a deployment. |
list_at_subscription_scope |
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
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of the deployment. Required. |
operation_id
Required
|
The ID of the operation to get. Required. |
Returns
Type | Description |
---|---|
DeploymentOperation or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_at_management_group_scope
Gets a deployments operation.
get_at_management_group_scope(group_id: str, deployment_name: str, operation_id: str, **kwargs: Any) -> DeploymentOperation
Parameters
Name | Description |
---|---|
group_id
Required
|
The management group ID. Required. |
deployment_name
Required
|
The name of the deployment. Required. |
operation_id
Required
|
The ID of the operation to get. Required. |
Returns
Type | Description |
---|---|
DeploymentOperation or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_at_subscription_scope
Gets a deployments operation.
get_at_subscription_scope(deployment_name: str, operation_id: str, **kwargs: Any) -> DeploymentOperation
Parameters
Name | Description |
---|---|
deployment_name
Required
|
The name of the deployment. Required. |
operation_id
Required
|
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
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of the deployment. Required. |
top
Required
|
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 |
---|---|
list_at_management_group_scope
Gets all deployments operations for a deployment.
list_at_management_group_scope(group_id: str, deployment_name: str, top: int | None = None, **kwargs: Any) -> Iterable[DeploymentOperation]
Parameters
Name | Description |
---|---|
group_id
Required
|
The management group ID. Required. |
deployment_name
Required
|
The name of the deployment. Required. |
top
Required
|
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 |
---|---|
list_at_subscription_scope
Gets all deployments operations for a deployment.
list_at_subscription_scope(deployment_name: str, top: int | None = None, **kwargs: Any) -> Iterable[DeploymentOperation]
Parameters
Name | Description |
---|---|
deployment_name
Required
|
The name of the deployment. Required. |
top
Required
|
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.v2019_05_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2019_05_01\\models\\__init__.py'>
Azure SDK for Python