共用方式為


ResourceManagementClient 類別

提供使用資源與資源群組的作業。

繼承
builtins.object
ResourceManagementClient

建構函式

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

參數

credential
TokenCredential
必要

用戶端連線到 Azure 所需的認證。 必要。

subscription_id
str
必要

Microsoft Azure 訂用帳戶識別碼。 必要。

base_url
str
預設值: https://management.azure.com

服務 URL。 預設值為 「 https://management.azure.com 」。

api_version
str

Api 版本。 預設值為 「2022-09-01」。 請注意,覆寫此預設值可能會導致不支援的行為。

polling_interval
int

如果沒有Retry-After標頭,則為 LRO 作業的兩個輪詢之間的預設等候時間。

變數

operations
Operations

作業作業

deployments
DeploymentsOperations

DeploymentsOperations 作業

providers
ProvidersOperations

ProvidersOperations 作業

provider_resource_types
ProviderResourceTypesOperations

ProviderResourceTypesOperations 作業

resources
ResourcesOperations

ResourcesOperations 作業

resource_groups
ResourceGroupsOperations

ResourceGroupsOperations 作業

tags
TagsOperations

TagsOperations 作業

deployment_operations
DeploymentOperationsOperations

DeploymentOperationsOperations 作業

方法

close

close

close() -> None