azure.mgmt.resource.resources.v2016_02_01.aio.operations package

class azure.mgmt.resource.resources.v2016_02_01.aio.operations.DeploymentsOperations(client, config, serializer, deserializer)[source]

DeploymentsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async begin_create_or_update(resource_group_name: str, deployment_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.Deployment, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentExtended][source]

Create a named template deployment using a template.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

  • parameters (Deployment) – Additional parameters supplied to the operation.

Keyword Arguments
  • cls (callable) – 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 (bool or AsyncPollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

AsyncLROPoller[DeploymentExtended]

Raises

HttpResponseError

async begin_delete(resource_group_name: str, deployment_name: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[None][source]

Delete deployment.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment to be deleted.

Keyword Arguments
  • cls (callable) – 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 (bool or AsyncPollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

AsyncLROPoller[None]

Raises

HttpResponseError

async calculate_template_hash(template: object, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.TemplateHashResult[source]

Calculate the hash of the given template.

Parameters

template (object) – The template provided to calculate hash.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

TemplateHashResult, or the result of cls(response)

Return type

TemplateHashResult

Raises

~azure.core.exceptions.HttpResponseError

async cancel(resource_group_name: str, deployment_name: str, **kwargs)None[source]

Cancel a currently running template deployment.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

async check_existence(resource_group_name: str, deployment_name: str, **kwargs)bool[source]

Checks whether deployment exists.

Parameters
  • resource_group_name (str) – The name of the resource group to check. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

bool, or the result of cls(response)

Return type

bool

Raises

~azure.core.exceptions.HttpResponseError

async export_template(resource_group_name: str, deployment_name: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentExportResult[source]

Exports a deployment template.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

DeploymentExportResult, or the result of cls(response)

Return type

DeploymentExportResult

Raises

~azure.core.exceptions.HttpResponseError

async get(resource_group_name: str, deployment_name: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentExtended[source]

Get a deployment.

Parameters
  • resource_group_name (str) – The name of the resource group to get. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

DeploymentExtended, or the result of cls(response)

Return type

DeploymentExtended

Raises

~azure.core.exceptions.HttpResponseError

list(resource_group_name: str, filter: Optional[str] = None, top: Optional[int] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentListResult][source]

Get a list of deployments.

Parameters
  • resource_group_name (str) – The name of the resource group to filter by. The name is case insensitive.

  • filter (str) – The filter to apply on the operation.

  • top (int) – Query parameters. If null is passed returns all deployments.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[DeploymentListResult]

Raises

~azure.core.exceptions.HttpResponseError

async validate(resource_group_name: str, deployment_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.Deployment, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentValidateResult[source]

Validate a deployment template.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

  • parameters (Deployment) – Deployment to validate.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

DeploymentValidateResult, or the result of cls(response)

Return type

DeploymentValidateResult

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.aio.operations.ProvidersOperations(client, config, serializer, deserializer)[source]

ProvidersOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async get(resource_provider_namespace: str, expand: Optional[str] = None, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.Provider[source]

Gets a resource provider.

Parameters
  • resource_provider_namespace (str) – Namespace of the resource provider.

  • expand (str) – The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Provider, or the result of cls(response)

Return type

Provider

Raises

~azure.core.exceptions.HttpResponseError

list(top: Optional[int] = None, expand: Optional[str] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ProviderListResult][source]

Gets a list of resource providers.

Parameters
  • top (int) – Query parameters. If null is passed returns all deployments.

  • expand (str) – The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[ProviderListResult]

Raises

~azure.core.exceptions.HttpResponseError

async register(resource_provider_namespace: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.Provider[source]

Registers provider to be used with a subscription.

Parameters

resource_provider_namespace (str) – Namespace of the resource provider.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Provider, or the result of cls(response)

Return type

Provider

Raises

~azure.core.exceptions.HttpResponseError

async unregister(resource_provider_namespace: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.Provider[source]

Unregisters provider from a subscription.

Parameters

resource_provider_namespace (str) – Namespace of the resource provider.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Provider, or the result of cls(response)

Return type

Provider

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.aio.operations.ResourceGroupsOperations(client, config, serializer, deserializer)[source]

ResourceGroupsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async begin_delete(resource_group_name: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[None][source]

Delete resource group.

Parameters

resource_group_name (str) – The name of the resource group to be deleted. The name is case insensitive.

Keyword Arguments
  • cls (callable) – 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 (bool or AsyncPollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

AsyncLROPoller[None]

Raises

HttpResponseError

async check_existence(resource_group_name: str, **kwargs)bool[source]

Checks whether resource group exists.

Parameters

resource_group_name (str) – The name of the resource group to check. The name is case insensitive.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

bool, or the result of cls(response)

Return type

bool

Raises

~azure.core.exceptions.HttpResponseError

async create_or_update(resource_group_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroup, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroup[source]

Create a resource group.

Parameters
  • resource_group_name (str) – The name of the resource group to be created or updated.

  • parameters (ResourceGroup) – Parameters supplied to the create or update resource group service operation.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ResourceGroup, or the result of cls(response)

Return type

ResourceGroup

Raises

~azure.core.exceptions.HttpResponseError

async export_template(resource_group_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ExportTemplateRequest, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroupExportResult[source]

Captures the specified resource group as a template.

Parameters
  • resource_group_name (str) – The name of the resource group to be created or updated.

  • parameters (ExportTemplateRequest) – Parameters supplied to the export template resource group operation.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ResourceGroupExportResult, or the result of cls(response)

Return type

ResourceGroupExportResult

Raises

~azure.core.exceptions.HttpResponseError

async get(resource_group_name: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroup[source]

Get a resource group.

Parameters

resource_group_name (str) – The name of the resource group to get. The name is case insensitive.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ResourceGroup, or the result of cls(response)

Return type

ResourceGroup

Raises

~azure.core.exceptions.HttpResponseError

list(filter: Optional[str] = None, top: Optional[int] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroupListResult][source]

Gets a collection of resource groups.

Parameters
  • filter (str) – The filter to apply on the operation.

  • top (int) – Query parameters. If null is passed returns all resource groups.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[ResourceGroupListResult]

Raises

~azure.core.exceptions.HttpResponseError

list_resources(resource_group_name: str, filter: Optional[str] = None, expand: Optional[str] = None, top: Optional[int] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceListResult][source]

Get all of the resources under a subscription.

Parameters
  • resource_group_name (str) – Query parameters. If null is passed returns all resource groups.

  • filter (str) – The filter to apply on the operation.

  • expand (str) – Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.

  • top (int) – Query parameters. If null is passed returns all resource groups.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[ResourceListResult]

Raises

~azure.core.exceptions.HttpResponseError

async patch(resource_group_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroup, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceGroup[source]

Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource groups, though if a field is unspecified current value will be carried over.

Parameters
  • resource_group_name (str) – The name of the resource group to be created or updated. The name is case insensitive.

  • parameters (ResourceGroup) – Parameters supplied to the update state resource group service operation.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ResourceGroup, or the result of cls(response)

Return type

ResourceGroup

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.aio.operations.ResourcesOperations(client, config, serializer, deserializer)[source]

ResourcesOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async begin_move_resources(source_resource_group_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourcesMoveInfo, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[None][source]

Move resources from one resource group to another. The resources being moved should all be in the same resource group.

Parameters
  • source_resource_group_name (str) – Source resource group name.

  • parameters (ResourcesMoveInfo) – move resources’ parameters.

Keyword Arguments
  • cls (callable) – 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 (bool or AsyncPollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

AsyncLROPoller[None]

Raises

HttpResponseError

async begin_update(resource_group_name: str, resource_provider_namespace: str, parent_resource_path: str, resource_type: str, resource_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.GenericResource, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.GenericResource][source]

Updates a resource.

Parameters
  • resource_group_name (str) – The name of the resource group for the resource. The name is case insensitive.

  • resource_provider_namespace (str) – The namespace of the resource provider.

  • parent_resource_path (str) – The parent resource identity.

  • resource_type (str) – The resource type of the resource to update.

  • resource_name (str) – The name of the resource to update.

  • parameters (GenericResource) – Parameters for updating the resource.

Keyword Arguments
  • cls (callable) – 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 (bool or AsyncPollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

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

Return type

AsyncLROPoller[GenericResource]

Raises

HttpResponseError

async check_existence(resource_group_name: str, resource_provider_namespace: str, parent_resource_path: str, resource_type: str, resource_name: str, **kwargs)bool[source]

Checks whether resource exists.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • resource_provider_namespace (str) – Resource identity.

  • parent_resource_path (str) – Resource identity.

  • resource_type (str) – Resource identity.

  • resource_name (str) – Resource identity.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

bool, or the result of cls(response)

Return type

bool

Raises

~azure.core.exceptions.HttpResponseError

async create_or_update(resource_group_name: str, resource_provider_namespace: str, parent_resource_path: str, resource_type: str, resource_name: str, parameters: azure.mgmt.resource.resources.v2016_02_01.models._models_py3.GenericResource, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.GenericResource[source]

Create a resource.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • resource_provider_namespace (str) – Resource identity.

  • parent_resource_path (str) – Resource identity.

  • resource_type (str) – Resource identity.

  • resource_name (str) – Resource identity.

  • parameters (GenericResource) – Create or update resource parameters.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

GenericResource, or the result of cls(response)

Return type

GenericResource

Raises

~azure.core.exceptions.HttpResponseError

async delete(resource_group_name: str, resource_provider_namespace: str, parent_resource_path: str, resource_type: str, resource_name: str, **kwargs)None[source]

Delete resource and all of its resources.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • resource_provider_namespace (str) – Resource identity.

  • parent_resource_path (str) – Resource identity.

  • resource_type (str) – Resource identity.

  • resource_name (str) – Resource identity.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

async get(resource_group_name: str, resource_provider_namespace: str, parent_resource_path: str, resource_type: str, resource_name: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.GenericResource[source]

Returns a resource belonging to a resource group.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • resource_provider_namespace (str) – Resource identity.

  • parent_resource_path (str) – Resource identity.

  • resource_type (str) – Resource identity.

  • resource_name (str) – Resource identity.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

GenericResource, or the result of cls(response)

Return type

GenericResource

Raises

~azure.core.exceptions.HttpResponseError

list(filter: Optional[str] = None, expand: Optional[str] = None, top: Optional[int] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.ResourceListResult][source]

Get all of the resources under a subscription.

Parameters
  • filter (str) – The filter to apply on the operation.

  • expand (str) – Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.

  • top (int) – Query parameters. If null is passed returns all resource groups.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[ResourceListResult]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.aio.operations.TagsOperations(client, config, serializer, deserializer)[source]

TagsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async create_or_update(tag_name: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.TagDetails[source]

Create a subscription resource tag.

Parameters

tag_name (str) – The name of the tag.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

TagDetails, or the result of cls(response)

Return type

TagDetails

Raises

~azure.core.exceptions.HttpResponseError

async create_or_update_value(tag_name: str, tag_value: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.TagValue[source]

Create a subscription resource tag value.

Parameters
  • tag_name (str) – The name of the tag.

  • tag_value (str) – The value of the tag.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

TagValue, or the result of cls(response)

Return type

TagValue

Raises

~azure.core.exceptions.HttpResponseError

async delete(tag_name: str, **kwargs)None[source]

Delete a subscription resource tag.

Parameters

tag_name (str) – The name of the tag.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

async delete_value(tag_name: str, tag_value: str, **kwargs)None[source]

Delete a subscription resource tag value.

Parameters
  • tag_name (str) – The name of the tag.

  • tag_value (str) – The value of the tag.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

list(**kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.TagsListResult][source]

Get a list of subscription resource tags.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[TagsListResult]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.aio.operations.DeploymentOperationsOperations(client, config, serializer, deserializer)[source]

DeploymentOperationsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

async get(resource_group_name: str, deployment_name: str, operation_id: str, **kwargs) → azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentOperation[source]

Get a list of deployments operations.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

  • operation_id (str) – Operation Id.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

DeploymentOperation, or the result of cls(response)

Return type

DeploymentOperation

Raises

~azure.core.exceptions.HttpResponseError

list(resource_group_name: str, deployment_name: str, top: Optional[int] = None, **kwargs) → AsyncIterable[azure.mgmt.resource.resources.v2016_02_01.models._models_py3.DeploymentOperationsListResult][source]

Gets a list of deployments operations.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • deployment_name (str) – The name of the deployment.

  • top (int) – Query parameters.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

AsyncItemPaged[DeploymentOperationsListResult]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\resources\\v2016_02_01\\models\\__init__.py'>