ResourceManagementClient Classe
Fornece operações para trabalhar com recursos e grupos de recursos.
Este pronto contém várias versões de API, para ajudá-lo a lidar com todas as nuvens do Azure (Azure Stack, Azure Governamental, Azure China etc.). Por padrão, ele usa a versão mais recente da API disponível no Azure público. Para produção, você deve se ater a uma versão de API específica e/ou perfil. O perfil define um mapeamento entre um grupo de operações e sua versão de API. O parâmetro api-version define a versão padrão da API se o grupo de operações não estiver descrito no perfil.
- Herança
-
ResourceManagementClientazure.mgmt.resource.resources.aio._resource_management_client._SDKClientResourceManagementClient
Construtor
ResourceManagementClient(credential: AsyncTokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parâmetros
- credential
- AsyncTokenCredential
Credencial necessária para que o cliente se conecte ao Azure. Obrigatórios.
- api_version
- str
Versão da API a ser usada se nenhum perfil for fornecido ou se estiver ausente no perfil.
- profile
- KnownProfiles
Uma definição de perfil, de KnownProfiles a dict.
- polling_interval
- int
Tempo de espera padrão entre duas pesquisas para operações LRO se nenhum cabeçalho Retry-After estiver presente.
Métodos
close | |
models |
O módulo depende da versão da API:
|
close
async close()
models
O módulo depende da versão da API:
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')
Parâmetros
- api_version
Atributos
deployment_operations
A instância depende da versão da API:
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
A instância depende da versão da API:
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
A instância depende da versão da API:
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
A instância depende da versão da API:
2020-10-01: ProviderResourceTypesOperations
2021-01-01: ProviderResourceTypesOperations
2021-04-01: ProviderResourceTypesOperations
2022-09-01: ProviderResourceTypesOperations
providers
A instância depende da versão da API:
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
A instância depende da versão da API:
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
A instância depende da versão da API:
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
A instância depende da versão da API:
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