azure.mgmt.resource.resources.v2016_02_01.operations module

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

Bases: object

DeploymentOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

get(resource_group_name, deployment_name, operation_id, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

DeploymentOperation or ClientRawResponse if raw=true

Return type

DeploymentOperation or ClientRawResponse

Raises

CloudError

list(resource_group_name, deployment_name, top=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of DeploymentOperation

Return type

DeploymentOperationPaged[DeploymentOperation]

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.operations.DeploymentsOperations(client, config, serializer, deserializer)[source]

Bases: object

DeploymentsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

calculate_template_hash(template, custom_headers=None, raw=False, **operation_config)[source]

Calculate the hash of the given template.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

TemplateHashResult or ClientRawResponse if raw=true

Return type

TemplateHashResult or ClientRawResponse

Raises

CloudError

cancel(resource_group_name, deployment_name, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

check_existence(resource_group_name, deployment_name, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

bool or ClientRawResponse if raw=true

Return type

bool or ClientRawResponse

Raises

CloudError

create_or_update(resource_group_name, deployment_name, properties=None, custom_headers=None, raw=False, polling=True, **operation_config)[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.

  • properties (DeploymentProperties) – The deployment properties.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns DeploymentExtended or ClientRawResponse<DeploymentExtended> if raw==True

Return type

AzureOperationPoller[DeploymentExtended] or AzureOperationPoller[ClientRawResponse[DeploymentExtended]]

Raises

CloudError

delete(resource_group_name, deployment_name, custom_headers=None, raw=False, polling=True, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

CloudError

export_template(resource_group_name, deployment_name, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

DeploymentExportResult or ClientRawResponse if raw=true

Return type

DeploymentExportResult or ClientRawResponse

Raises

CloudError

get(resource_group_name, deployment_name, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

DeploymentExtended or ClientRawResponse if raw=true

Return type

DeploymentExtended or ClientRawResponse

Raises

CloudError

list(resource_group_name, filter=None, top=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of DeploymentExtended

Return type

DeploymentExtendedPaged[DeploymentExtended]

Raises

CloudError

validate(resource_group_name, deployment_name, properties=None, custom_headers=None, raw=False, **operation_config)[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.

  • properties (DeploymentProperties) – The deployment properties.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

DeploymentValidateResult or ClientRawResponse if raw=true

Return type

DeploymentValidateResult or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.operations.ProvidersOperations(client, config, serializer, deserializer)[source]

Bases: object

ProvidersOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

get(resource_provider_namespace, expand=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Provider or ClientRawResponse if raw=true

Return type

Provider or ClientRawResponse

Raises

CloudError

list(top=None, expand=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of Provider

Return type

ProviderPaged[Provider]

Raises

CloudError

register(resource_provider_namespace, custom_headers=None, raw=False, **operation_config)[source]

Registers provider to be used with a subscription.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Provider or ClientRawResponse if raw=true

Return type

Provider or ClientRawResponse

Raises

CloudError

unregister(resource_provider_namespace, custom_headers=None, raw=False, **operation_config)[source]

Unregisters provider from a subscription.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

Provider or ClientRawResponse if raw=true

Return type

Provider or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.operations.ResourceGroupsOperations(client, config, serializer, deserializer)[source]

Bases: object

ResourceGroupsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

check_existence(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Checks whether resource group exists.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

bool or ClientRawResponse if raw=true

Return type

bool or ClientRawResponse

Raises

CloudError

create_or_update(resource_group_name, parameters, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ResourceGroup or ClientRawResponse if raw=true

Return type

ResourceGroup or ClientRawResponse

Raises

CloudError

delete(resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Delete resource group.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

CloudError

export_template(resource_group_name, resources=None, options=None, custom_headers=None, raw=False, **operation_config)[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.

  • resources (list[str]) – The IDs of the resources to filter the export by. To export all resources, supply an array with single entry ‘*’.

  • options (str) – The export template options. A CSV-formatted list containing zero or more of the following: ‘IncludeParameterDefaultValue’, ‘IncludeComments’, ‘SkipResourceNameParameterization’, ‘SkipAllParameterization’

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ResourceGroupExportResult or ClientRawResponse if raw=true

Return type

ResourceGroupExportResult or ClientRawResponse

Raises

CloudError

get(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Get a resource group.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ResourceGroup or ClientRawResponse if raw=true

Return type

ResourceGroup or ClientRawResponse

Raises

CloudError

list(filter=None, top=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ResourceGroup

Return type

ResourceGroupPaged[ResourceGroup]

Raises

CloudError

list_resources(resource_group_name, filter=None, expand=None, top=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of GenericResourceExpanded

Return type

GenericResourceExpandedPaged[GenericResourceExpanded]

Raises

CloudError

patch(resource_group_name, parameters, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ResourceGroup or ClientRawResponse if raw=true

Return type

ResourceGroup or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.operations.ResourcesOperations(client, config, serializer, deserializer)[source]

Bases: object

ResourcesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

check_existence(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, custom_headers=None, raw=False, **operation_config)[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.

  • api_version (str) –

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

bool or ClientRawResponse if raw=true

Return type

bool or ClientRawResponse

Raises

CloudError

create_or_update(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, parameters, custom_headers=None, raw=False, **operation_config)[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.

  • api_version (str) –

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

GenericResource or ClientRawResponse if raw=true

Return type

GenericResource or ClientRawResponse

Raises

CloudError

delete(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, custom_headers=None, raw=False, **operation_config)[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.

  • api_version (str) –

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

get(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, custom_headers=None, raw=False, **operation_config)[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.

  • api_version (str) –

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

GenericResource or ClientRawResponse if raw=true

Return type

GenericResource or ClientRawResponse

Raises

CloudError

list(filter=None, expand=None, top=None, custom_headers=None, raw=False, **operation_config)[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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of GenericResourceExpanded

Return type

GenericResourceExpandedPaged[GenericResourceExpanded]

Raises

CloudError

move_resources(source_resource_group_name, resources=None, target_resource_group=None, custom_headers=None, raw=False, polling=True, **operation_config)[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.

  • resources (list[str]) – The ids of the resources.

  • target_resource_group (str) – The target resource group.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

CloudError

update(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[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.

  • api_version (str) – The API version to use for the operation.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns GenericResource or ClientRawResponse<GenericResource> if raw==True

Return type

AzureOperationPoller[GenericResource] or AzureOperationPoller[ClientRawResponse[GenericResource]]

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>
class azure.mgmt.resource.resources.v2016_02_01.operations.TagsOperations(client, config, serializer, deserializer)[source]

Bases: object

TagsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-02-01”.

create_or_update(tag_name, custom_headers=None, raw=False, **operation_config)[source]

Create a subscription resource tag.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

TagDetails or ClientRawResponse if raw=true

Return type

TagDetails or ClientRawResponse

Raises

CloudError

create_or_update_value(tag_name, tag_value, custom_headers=None, raw=False, **operation_config)[source]

Create a subscription resource tag value.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

TagValue or ClientRawResponse if raw=true

Return type

TagValue or ClientRawResponse

Raises

CloudError

delete(tag_name, custom_headers=None, raw=False, **operation_config)[source]

Delete a subscription resource tag.

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

delete_value(tag_name, tag_value, custom_headers=None, raw=False, **operation_config)[source]

Delete a subscription resource tag value.

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

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

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

list(custom_headers=None, raw=False, **operation_config)[source]

Get a list of subscription resource tags.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of TagDetails

Return type

TagDetailsPaged[TagDetails]

Raises

CloudError

models = <module 'azure.mgmt.resource.resources.v2016_02_01.models' from '/builddir/build/BUILD/azure-sdk-for-python-2b2cfd46758e7b9d55346f79f05592d7488c1bd0/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/__init__.py'>