你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageManagementClient 类
Azure 存储管理 API。
此就绪包含多个 API 版本,可帮助你处理所有 Azure 云 (Azure Stack、Azure 政府、Azure 中国等 ) 。 默认情况下,它使用公共 Azure 上提供的最新 API 版本。 对于生产环境,应坚持使用特定的 API 版本和/或配置文件。 配置文件设置操作组与其 API 版本之间的映射。 如果配置文件中未描述操作组,则 api-version 参数将设置默认 API 版本。
- 继承
-
StorageManagementClientazure.mgmt.storage._storage_management_client._SDKClientStorageManagementClient
构造函数
StorageManagementClient(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 版本:
2015-06-15: models
2016-01-01: models
2016-12-01: models
2017-06-01: models
2017-10-01: models
2018-02-01: models
2018-03-01-preview: models
2018-07-01: models
2018-11-01: models
2019-04-01: models
2019-06-01: models
2020-08-01-preview: models
2021-01-01: models
2021-02-01: models
2021-04-01: models
2021-06-01: models
2021-08-01: models
2021-09-01: models
2022-05-01: models
2022-09-01: models
2023-01-01: models
models(api_version='2023-01-01')
参数
- api_version
属性
blob_containers
实例取决于 API 版本:
2018-02-01: BlobContainersOperations
2018-03-01-preview: BlobContainersOperations
2018-07-01: BlobContainersOperations
2018-11-01: BlobContainersOperations
2019-04-01: BlobContainersOperations
2019-06-01: BlobContainersOperations
2020-08-01-preview: BlobContainersOperations
2021-01-01: BlobContainersOperations
2021-02-01: BlobContainersOperations
2021-04-01: BlobContainersOperations
2021-06-01: BlobContainersOperations
2021-08-01: BlobContainersOperations
2021-09-01: BlobContainersOperations
2022-05-01: BlobContainersOperations
2022-09-01: BlobContainersOperations
2023-01-01: BlobContainersOperations
blob_inventory_policies
实例取决于 API 版本:
2019-06-01: BlobInventoryPoliciesOperations
2020-08-01-preview: BlobInventoryPoliciesOperations
2021-01-01: BlobInventoryPoliciesOperations
2021-02-01: BlobInventoryPoliciesOperations
2021-04-01: BlobInventoryPoliciesOperations
2021-06-01: BlobInventoryPoliciesOperations
2021-08-01: BlobInventoryPoliciesOperations
2021-09-01: BlobInventoryPoliciesOperations
2022-05-01: BlobInventoryPoliciesOperations
2022-09-01: BlobInventoryPoliciesOperations
2023-01-01: BlobInventoryPoliciesOperations
blob_services
实例取决于 API 版本:
2018-07-01: BlobServicesOperations
2018-11-01: BlobServicesOperations
2019-04-01: BlobServicesOperations
2019-06-01: BlobServicesOperations
2020-08-01-preview: BlobServicesOperations
2021-01-01: BlobServicesOperations
2021-02-01: BlobServicesOperations
2021-04-01: BlobServicesOperations
2021-06-01: BlobServicesOperations
2021-08-01: BlobServicesOperations
2021-09-01: BlobServicesOperations
2022-05-01: BlobServicesOperations
2022-09-01: BlobServicesOperations
2023-01-01: BlobServicesOperations
deleted_accounts
实例取决于 API 版本:
2020-08-01-preview: DeletedAccountsOperations
2021-01-01: DeletedAccountsOperations
2021-02-01: DeletedAccountsOperations
2021-04-01: DeletedAccountsOperations
2021-06-01: DeletedAccountsOperations
2021-08-01: DeletedAccountsOperations
2021-09-01: DeletedAccountsOperations
2022-05-01: DeletedAccountsOperations
2022-09-01: DeletedAccountsOperations
2023-01-01: DeletedAccountsOperations
encryption_scopes
实例取决于 API 版本:
2019-06-01: EncryptionScopesOperations
2020-08-01-preview: EncryptionScopesOperations
2021-01-01: EncryptionScopesOperations
2021-02-01: EncryptionScopesOperations
2021-04-01: EncryptionScopesOperations
2021-06-01: EncryptionScopesOperations
2021-08-01: EncryptionScopesOperations
2021-09-01: EncryptionScopesOperations
2022-05-01: EncryptionScopesOperations
2022-09-01: EncryptionScopesOperations
2023-01-01: EncryptionScopesOperations
file_services
实例取决于 API 版本:
2019-04-01: FileServicesOperations
2019-06-01: FileServicesOperations
2020-08-01-preview: FileServicesOperations
2021-01-01: FileServicesOperations
2021-02-01: FileServicesOperations
2021-04-01: FileServicesOperations
2021-06-01: FileServicesOperations
2021-08-01: FileServicesOperations
2021-09-01: FileServicesOperations
2022-05-01: FileServicesOperations
2022-09-01: FileServicesOperations
2023-01-01: FileServicesOperations
file_shares
实例取决于 API 版本:
2019-04-01: FileSharesOperations
2019-06-01: FileSharesOperations
2020-08-01-preview: FileSharesOperations
2021-01-01: FileSharesOperations
2021-02-01: FileSharesOperations
2021-04-01: FileSharesOperations
2021-06-01: FileSharesOperations
2021-08-01: FileSharesOperations
2021-09-01: FileSharesOperations
2022-05-01: FileSharesOperations
2022-09-01: FileSharesOperations
2023-01-01: FileSharesOperations
local_users
实例取决于 API 版本:
2021-08-01: LocalUsersOperations
2021-09-01: LocalUsersOperations
2022-05-01: LocalUsersOperations
2022-09-01: LocalUsersOperations
2023-01-01: LocalUsersOperations
management_policies
实例取决于 API 版本:
2018-03-01-preview: ManagementPoliciesOperations
2018-11-01: ManagementPoliciesOperations
2019-04-01: ManagementPoliciesOperations
2019-06-01: ManagementPoliciesOperations
2020-08-01-preview: ManagementPoliciesOperations
2021-01-01: ManagementPoliciesOperations
2021-02-01: ManagementPoliciesOperations
2021-04-01: ManagementPoliciesOperations
2021-06-01: ManagementPoliciesOperations
2021-08-01: ManagementPoliciesOperations
2021-09-01: ManagementPoliciesOperations
2022-05-01: ManagementPoliciesOperations
2022-09-01: ManagementPoliciesOperations
2023-01-01: ManagementPoliciesOperations
object_replication_policies
实例取决于 API 版本:
2019-06-01: ObjectReplicationPoliciesOperations
2020-08-01-preview: ObjectReplicationPoliciesOperations
2021-01-01: ObjectReplicationPoliciesOperations
2021-02-01: ObjectReplicationPoliciesOperations
2021-04-01: ObjectReplicationPoliciesOperations
2021-06-01: ObjectReplicationPoliciesOperations
2021-08-01: ObjectReplicationPoliciesOperations
2021-09-01: ObjectReplicationPoliciesOperations
2022-05-01: ObjectReplicationPoliciesOperations
2022-09-01: ObjectReplicationPoliciesOperations
2023-01-01: ObjectReplicationPoliciesOperations
operations
实例取决于 API 版本:
2017-06-01: Operations
2017-10-01: Operations
2018-02-01: Operations
2018-03-01-preview: Operations
2018-07-01: Operations
2018-11-01: Operations
2019-04-01: Operations
2019-06-01: Operations
2020-08-01-preview: Operations
2021-01-01: Operations
2021-02-01: Operations
2021-04-01: Operations
2021-06-01: Operations
2021-08-01: Operations
2021-09-01: Operations
2022-05-01: Operations
2022-09-01: Operations
2023-01-01: Operations
private_endpoint_connections
实例取决于 API 版本:
2019-06-01: PrivateEndpointConnectionsOperations
2020-08-01-preview: PrivateEndpointConnectionsOperations
2021-01-01: PrivateEndpointConnectionsOperations
2021-02-01: PrivateEndpointConnectionsOperations
2021-04-01: PrivateEndpointConnectionsOperations
2021-06-01: PrivateEndpointConnectionsOperations
2021-08-01: PrivateEndpointConnectionsOperations
2021-09-01: PrivateEndpointConnectionsOperations
2022-05-01: PrivateEndpointConnectionsOperations
2022-09-01: PrivateEndpointConnectionsOperations
2023-01-01: PrivateEndpointConnectionsOperations
private_link_resources
实例取决于 API 版本:
2019-06-01: PrivateLinkResourcesOperations
2020-08-01-preview: PrivateLinkResourcesOperations
2021-01-01: PrivateLinkResourcesOperations
2021-02-01: PrivateLinkResourcesOperations
2021-04-01: PrivateLinkResourcesOperations
2021-06-01: PrivateLinkResourcesOperations
2021-08-01: PrivateLinkResourcesOperations
2021-09-01: PrivateLinkResourcesOperations
2022-05-01: PrivateLinkResourcesOperations
2022-09-01: PrivateLinkResourcesOperations
2023-01-01: PrivateLinkResourcesOperations
queue
实例取决于 API 版本:
2019-06-01: QueueOperations
2020-08-01-preview: QueueOperations
2021-01-01: QueueOperations
2021-02-01: QueueOperations
2021-04-01: QueueOperations
2021-06-01: QueueOperations
2021-08-01: QueueOperations
2021-09-01: QueueOperations
2022-05-01: QueueOperations
2022-09-01: QueueOperations
2023-01-01: QueueOperations
queue_services
实例取决于 API 版本:
2019-06-01: QueueServicesOperations
2020-08-01-preview: QueueServicesOperations
2021-01-01: QueueServicesOperations
2021-02-01: QueueServicesOperations
2021-04-01: QueueServicesOperations
2021-06-01: QueueServicesOperations
2021-08-01: QueueServicesOperations
2021-09-01: QueueServicesOperations
2022-05-01: QueueServicesOperations
2022-09-01: QueueServicesOperations
2023-01-01: QueueServicesOperations
skus
实例取决于 API 版本:
2017-06-01: SkusOperations
2017-10-01: SkusOperations
2018-02-01: SkusOperations
2018-03-01-preview: SkusOperations
2018-07-01: SkusOperations
2018-11-01: SkusOperations
2019-04-01: SkusOperations
2019-06-01: SkusOperations
2020-08-01-preview: SkusOperations
2021-01-01: SkusOperations
2021-02-01: SkusOperations
2021-04-01: SkusOperations
2021-06-01: SkusOperations
2021-08-01: SkusOperations
2021-09-01: SkusOperations
2022-05-01: SkusOperations
2022-09-01: SkusOperations
2023-01-01: SkusOperations
storage_accounts
实例取决于 API 版本:
2015-06-15: StorageAccountsOperations
2016-01-01: StorageAccountsOperations
2016-12-01: StorageAccountsOperations
2017-06-01: StorageAccountsOperations
2017-10-01: StorageAccountsOperations
2018-02-01: StorageAccountsOperations
2018-03-01-preview: StorageAccountsOperations
2018-07-01: StorageAccountsOperations
2018-11-01: StorageAccountsOperations
2019-04-01: StorageAccountsOperations
2019-06-01: StorageAccountsOperations
2020-08-01-preview: StorageAccountsOperations
2021-01-01: StorageAccountsOperations
2021-02-01: StorageAccountsOperations
2021-04-01: StorageAccountsOperations
2021-06-01: StorageAccountsOperations
2021-08-01: StorageAccountsOperations
2021-09-01: StorageAccountsOperations
2022-05-01: StorageAccountsOperations
2022-09-01: StorageAccountsOperations
2023-01-01: StorageAccountsOperations
table
实例取决于 API 版本:
2019-06-01: TableOperations
2020-08-01-preview: TableOperations
2021-01-01: TableOperations
2021-02-01: TableOperations
2021-04-01: TableOperations
2021-06-01: TableOperations
2021-08-01: TableOperations
2021-09-01: TableOperations
2022-05-01: TableOperations
2022-09-01: TableOperations
2023-01-01: TableOperations
table_services
实例取决于 API 版本:
2019-06-01: TableServicesOperations
2020-08-01-preview: TableServicesOperations
2021-01-01: TableServicesOperations
2021-02-01: TableServicesOperations
2021-04-01: TableServicesOperations
2021-06-01: TableServicesOperations
2021-08-01: TableServicesOperations
2021-09-01: TableServicesOperations
2022-05-01: TableServicesOperations
2022-09-01: TableServicesOperations
2023-01-01: TableServicesOperations
usage
实例取决于 API 版本:
2015-06-15: UsageOperations
2016-01-01: UsageOperations
2016-12-01: UsageOperations
2017-06-01: UsageOperations
2017-10-01: UsageOperations
2018-02-01: UsageOperations
usages
实例取决于 API 版本:
2018-03-01-preview: UsagesOperations
2018-07-01: UsagesOperations
2018-11-01: UsagesOperations
2019-04-01: UsagesOperations
2019-06-01: UsagesOperations
2020-08-01-preview: UsagesOperations
2021-01-01: UsagesOperations
2021-02-01: UsagesOperations
2021-04-01: UsagesOperations
2021-06-01: UsagesOperations
2021-08-01: UsagesOperations
2021-09-01: UsagesOperations
2022-05-01: UsagesOperations
2022-09-01: UsagesOperations
2023-01-01: UsagesOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-01-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.storage.StorageManagementClient latest