KeyVaultManagementClient 類別
Azure 管理 API 提供一組與 Azure 金鑰保存庫互動的 RESTful Web 服務。
此就緒包含多個 API 版本,可協助您處理 Azure Stack、Azure Government、Azure China ) 等所有 Azure 雲端 (。 根據預設,它會使用公用 Azure 上可用的最新 API 版本。 針對生產環境,您應該繼續使用特定的 API 版本和/或設定檔。 設定檔會設定作業群組與其 API 版本之間的對應。 如果設定檔中未描述作業群組,api-version 參數會設定預設 API 版本。
- 繼承
-
KeyVaultManagementClientazure.mgmt.keyvault._key_vault_management_client._SDKClientKeyVaultManagementClient
建構函式
KeyVaultManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
參數
- polling_interval
- int
如果沒有Retry-After標頭,則為 LRO 作業的兩個輪詢之間的預設等候時間。
方法
close | |
models |
模組取決於 API 版本: |
close
close()
models
模組取決於 API 版本:
2016-10-01: models
2018-02-14: models
2019-09-01: models
2020-04-01-preview: models
2021-04-01-preview: models
2021-06-01-preview: models
2021-10-01: models
2022-07-01: models
2023-02-01: models
models(api_version='2023-02-01')
參數
- api_version
屬性
keys
實例取決於 API 版本:
2019-09-01: KeysOperations
2020-04-01-preview: KeysOperations
2021-06-01-preview: KeysOperations
2021-10-01: KeysOperations
2022-07-01: KeysOperations
2023-02-01: KeysOperations
managed_hsm_keys
實例取決於 API 版本:
- 2023-02-01: ManagedHsmKeysOperations
managed_hsms
實例取決於 API 版本:
2020-04-01-preview: ManagedHsmsOperations
2021-04-01-preview: ManagedHsmsOperations
2021-06-01-preview: ManagedHsmsOperations
2021-10-01: ManagedHsmsOperations
2022-07-01: ManagedHsmsOperations
2023-02-01: ManagedHsmsOperations
mhsm_private_endpoint_connections
實例取決於 API 版本:
2021-04-01-preview: MHSMPrivateEndpointConnectionsOperations
2021-06-01-preview: MHSMPrivateEndpointConnectionsOperations
2021-10-01: MHSMPrivateEndpointConnectionsOperations
2022-07-01: MHSMPrivateEndpointConnectionsOperations
2023-02-01: MHSMPrivateEndpointConnectionsOperations
mhsm_private_link_resources
實例取決於 API 版本:
2021-04-01-preview: MHSMPrivateLinkResourcesOperations
2021-06-01-preview: MHSMPrivateLinkResourcesOperations
2021-10-01: MHSMPrivateLinkResourcesOperations
2022-07-01: MHSMPrivateLinkResourcesOperations
2023-02-01: MHSMPrivateLinkResourcesOperations
mhsm_regions
實例取決於 API 版本:
- 2023-02-01: MHSMRegionsOperations
operations
實例取決於 API 版本:
2016-10-01: Operations
2018-02-14: Operations
2019-09-01: Operations
2020-04-01-preview: Operations
2021-04-01-preview: Operations
2021-06-01-preview: Operations
2021-10-01: Operations
2022-07-01: Operations
2023-02-01: Operations
private_endpoint_connections
實例取決於 API 版本:
2018-02-14: PrivateEndpointConnectionsOperations
2019-09-01: PrivateEndpointConnectionsOperations
2020-04-01-preview: PrivateEndpointConnectionsOperations
2021-04-01-preview: PrivateEndpointConnectionsOperations
2021-06-01-preview: PrivateEndpointConnectionsOperations
2021-10-01: PrivateEndpointConnectionsOperations
2022-07-01: PrivateEndpointConnectionsOperations
2023-02-01: PrivateEndpointConnectionsOperations
private_link_resources
實例取決於 API 版本:
2018-02-14: PrivateLinkResourcesOperations
2019-09-01: PrivateLinkResourcesOperations
2020-04-01-preview: PrivateLinkResourcesOperations
2021-04-01-preview: PrivateLinkResourcesOperations
2021-06-01-preview: PrivateLinkResourcesOperations
2021-10-01: PrivateLinkResourcesOperations
2022-07-01: PrivateLinkResourcesOperations
2023-02-01: PrivateLinkResourcesOperations
secrets
實例取決於 API 版本:
2020-04-01-preview: SecretsOperations
2021-06-01-preview: SecretsOperations
2021-10-01: SecretsOperations
2022-07-01: SecretsOperations
2023-02-01: SecretsOperations
vaults
實例取決於 API 版本:
2016-10-01: VaultsOperations
2018-02-14: VaultsOperations
2019-09-01: VaultsOperations
2020-04-01-preview: VaultsOperations
2021-04-01-preview: VaultsOperations
2021-06-01-preview: VaultsOperations
2021-10-01: VaultsOperations
2022-07-01: VaultsOperations
2023-02-01: VaultsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-02-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.keyvault.KeyVaultManagementClient latest