你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceManagementClient Class

Provides operations for working with resources and resource groups.

Inheritance
builtins.object
ResourceManagementClient

Constructor

ResourceManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The Microsoft Azure subscription ID. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2021-04-01". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
operations

Operations operations

deployments

DeploymentsOperations operations

providers

ProvidersOperations operations

provider_resource_types

ProviderResourceTypesOperations operations

resources

ResourcesOperations operations

resource_groups

ResourceGroupsOperations operations

tags

TagsOperations operations

deployment_operations

DeploymentOperationsOperations operations

Methods

close

close

close() -> None