ResourceManagementClient Class
Provides operations for working with resources and resource groups.
This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
- Inheritance
-
ResourceManagementClientazure.mgmt.resource.resources.aio._resource_management_client._SDKClientResourceManagementClient
Constructor
ResourceManagementClient(credential: AsyncTokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
subscription_id
Required
|
The Microsoft Azure subscription ID. Required. |
api_version
|
API version to use if no profile is provided, or if missing in profile. Default value: None
|
base_url
|
Service URL Default value: https://management.azure.com
|
profile
|
A profile definition, from KnownProfiles to dict. Default value: KnownProfiles.default
|
Keyword-Only Parameters
Name | Description |
---|---|
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Methods
close | |
models |
Module depends on the API version:
|
close
async close()
models
Module depends on the API version:
2016-02-01: models
2016-09-01: models
2017-05-10: models
2018-02-01: models
2018-05-01: models
2019-03-01: models
2019-05-01: models
2019-05-10: models
2019-07-01: models
2019-08-01: models
2019-10-01: models
2020-06-01: models
2020-10-01: models
2021-01-01: models
2021-04-01: models
2022-09-01: models
models(api_version='2022-09-01')
Parameters
Name | Description |
---|---|
api_version
|
Default value: 2022-09-01
|
Attributes
deployment_operations
Instance depends on the API version:
2016-02-01: DeploymentOperationsOperations
2016-09-01: DeploymentOperationsOperations
2017-05-10: DeploymentOperationsOperations
2018-02-01: DeploymentOperationsOperations
2018-05-01: DeploymentOperationsOperations
2019-03-01: DeploymentOperationsOperations
2019-05-01: DeploymentOperationsOperations
2019-05-10: DeploymentOperationsOperations
2019-07-01: DeploymentOperationsOperations
2019-08-01: DeploymentOperationsOperations
2019-10-01: DeploymentOperationsOperations
2020-06-01: DeploymentOperationsOperations
2020-10-01: DeploymentOperationsOperations
2021-01-01: DeploymentOperationsOperations
2021-04-01: DeploymentOperationsOperations
2022-09-01: DeploymentOperationsOperations
deployments
Instance depends on the API version:
2016-02-01: DeploymentsOperations
2016-09-01: DeploymentsOperations
2017-05-10: DeploymentsOperations
2018-02-01: DeploymentsOperations
2018-05-01: DeploymentsOperations
2019-03-01: DeploymentsOperations
2019-05-01: DeploymentsOperations
2019-05-10: DeploymentsOperations
2019-07-01: DeploymentsOperations
2019-08-01: DeploymentsOperations
2019-10-01: DeploymentsOperations
2020-06-01: DeploymentsOperations
2020-10-01: DeploymentsOperations
2021-01-01: DeploymentsOperations
2021-04-01: DeploymentsOperations
2022-09-01: DeploymentsOperations
operations
Instance depends on the API version:
2018-05-01: Operations
2019-03-01: Operations
2019-05-01: Operations
2019-05-10: Operations
2019-07-01: Operations
2019-08-01: Operations
2019-10-01: Operations
2020-06-01: Operations
2020-10-01: Operations
2021-01-01: Operations
2021-04-01: Operations
2022-09-01: Operations
provider_resource_types
Instance depends on the API version:
2020-10-01: ProviderResourceTypesOperations
2021-01-01: ProviderResourceTypesOperations
2021-04-01: ProviderResourceTypesOperations
2022-09-01: ProviderResourceTypesOperations
providers
Instance depends on the API version:
2016-02-01: ProvidersOperations
2016-09-01: ProvidersOperations
2017-05-10: ProvidersOperations
2018-02-01: ProvidersOperations
2018-05-01: ProvidersOperations
2019-03-01: ProvidersOperations
2019-05-01: ProvidersOperations
2019-05-10: ProvidersOperations
2019-07-01: ProvidersOperations
2019-08-01: ProvidersOperations
2019-10-01: ProvidersOperations
2020-06-01: ProvidersOperations
2020-10-01: ProvidersOperations
2021-01-01: ProvidersOperations
2021-04-01: ProvidersOperations
2022-09-01: ProvidersOperations
resource_groups
Instance depends on the API version:
2016-02-01: ResourceGroupsOperations
2016-09-01: ResourceGroupsOperations
2017-05-10: ResourceGroupsOperations
2018-02-01: ResourceGroupsOperations
2018-05-01: ResourceGroupsOperations
2019-03-01: ResourceGroupsOperations
2019-05-01: ResourceGroupsOperations
2019-05-10: ResourceGroupsOperations
2019-07-01: ResourceGroupsOperations
2019-08-01: ResourceGroupsOperations
2019-10-01: ResourceGroupsOperations
2020-06-01: ResourceGroupsOperations
2020-10-01: ResourceGroupsOperations
2021-01-01: ResourceGroupsOperations
2021-04-01: ResourceGroupsOperations
2022-09-01: ResourceGroupsOperations
resources
Instance depends on the API version:
2016-02-01: ResourcesOperations
2016-09-01: ResourcesOperations
2017-05-10: ResourcesOperations
2018-02-01: ResourcesOperations
2018-05-01: ResourcesOperations
2019-03-01: ResourcesOperations
2019-05-01: ResourcesOperations
2019-05-10: ResourcesOperations
2019-07-01: ResourcesOperations
2019-08-01: ResourcesOperations
2019-10-01: ResourcesOperations
2020-06-01: ResourcesOperations
2020-10-01: ResourcesOperations
2021-01-01: ResourcesOperations
2021-04-01: ResourcesOperations
2022-09-01: ResourcesOperations
tags
Instance depends on the API version:
2016-02-01: TagsOperations
2016-09-01: TagsOperations
2017-05-10: TagsOperations
2018-02-01: TagsOperations
2018-05-01: TagsOperations
2019-03-01: TagsOperations
2019-05-01: TagsOperations
2019-05-10: TagsOperations
2019-07-01: TagsOperations
2019-08-01: TagsOperations
2019-10-01: TagsOperations
2020-06-01: TagsOperations
2020-10-01: TagsOperations
2021-01-01: TagsOperations
2021-04-01: TagsOperations
2022-09-01: TagsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2022-09-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.resource.resources.ResourceManagementClient latest
Azure SDK for Python