ResourceManagementClient Clase
Proporciona operaciones para trabajar con recursos y grupos de recursos.
Esto está listo para contener varias versiones de API, para ayudarle a tratar todas las nubes de Azure (Azure Stack, Azure Government, Azure China, etc.). De forma predeterminada, usa la versión de API más reciente disponible en Azure público. En el caso de producción, debe conectarse a una versión de API o un perfil concretos. El perfil establece una asignación entre un grupo de operaciones y su versión de API. El parámetro api-version establece la versión de API predeterminada si el grupo de operaciones no se describe en el perfil.
- Herencia
-
ResourceManagementClientazure.mgmt.resource.resources._resource_management_client._SDKClientResourceManagementClient
Constructor
ResourceManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parámetros
- credential
- TokenCredential
Credencial necesaria para que el cliente se conecte a Azure. Obligatorio.
- api_version
- str
Versión de API que se va a usar si no se proporciona ningún perfil o si falta en el perfil.
- profile
- KnownProfiles
Definición de perfil, de KnownProfiles a dict.
- polling_interval
- int
Tiempo de espera predeterminado entre dos sondeos para las operaciones LRO si no hay ningún encabezado Retry-After presente.
Métodos
close | |
models |
El módulo depende de la versión de la API:
|
close
close()
models
El módulo depende de la versión de la 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
La instancia depende de la versión de la 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
La instancia depende de la versión de la 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
La instancia depende de la versión de la 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
La instancia depende de la versión de la API:
2020-10-01: ProviderResourceTypesOperations
2021-01-01: ProviderResourceTypesOperations
2021-04-01: ProviderResourceTypesOperations
2022-09-01: ProviderResourceTypesOperations
providers
La instancia depende de la versión de la 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
La instancia depende de la versión de la 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
La instancia depende de la versión de la 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
La instancia depende de la versión de la 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