StorageManagementClient Classe
A API de Gestão de Armazenamento do Azure.
Esta opção pronta contém várias versões de API, para o ajudar a lidar com todas as clouds do Azure (Azure Stack, Azure Government, Azure China, etc.). Por predefinição, utiliza a versão mais recente da API disponível no Azure público. Para produção, deve manter uma versão e/ou perfil de api específicos. O perfil define um mapeamento entre um grupo de operações e a respetiva versão da API. O parâmetro api-version define a versão predefinida da API se o grupo de operações não estiver descrito no perfil.
- Herança
-
StorageManagementClientazure.mgmt.storage._storage_management_client._SDKClientStorageManagementClient
Construtor
StorageManagementClient(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
Credenciais necessárias para que o cliente se ligue ao Azure. Obrigatório.
- api_version
- str
Versão da API a utilizar se não for fornecido nenhum perfil ou se estiver em falta no perfil.
- profile
- KnownProfiles
Uma definição de perfil, de KnownProfiles a dict.
- polling_interval
- int
Tempo de espera predefinido entre duas sondagens para operações LRO se não existir nenhum cabeçalho de Retry-After.
Métodos
close | |
models |
O módulo depende da versão da API:
|
close
close()
models
O módulo depende da versão da 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
03-03-01-preview de 2018: models
2018-07-01: models
2018-11-01: models
2019-04-01: models
2019-06-01: models
08-08-01-preview de 2020: 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')
Parâmetros
- api_version
Atributos
blob_containers
A instância depende da versão da API:
2018-02-01: BlobContainersOperations
03-03-01-preview de 2018: BlobContainersOperations
2018-07-01: BlobContainersOperations
2018-11-01: BlobContainersOperations
2019-04-01: BlobContainersOperations
2019-06-01: BlobContainersOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: BlobInventoryPoliciesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2018-07-01: BlobServicesOperations
2018-11-01: BlobServicesOperations
2019-04-01: BlobServicesOperations
2019-06-01: BlobServicesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: EncryptionScopesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-04-01: FileServicesOperations
2019-06-01: FileServicesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-04-01: FileSharesOperations
2019-06-01: FileSharesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2021-08-01: LocalUsersOperations
2021-09-01: LocalUsersOperations
2022-05-01: LocalUsersOperations
2022-09-01: LocalUsersOperations
2023-01-01: LocalUsersOperations
management_policies
A instância depende da versão da API:
03-03-01-preview de 2018: ManagementPoliciesOperations
2018-11-01: ManagementPoliciesOperations
2019-04-01: ManagementPoliciesOperations
2019-06-01: ManagementPoliciesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: ObjectReplicationPoliciesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2017-06-01: Operations
2017-10-01: Operations
2018-02-01: Operations
03-03-01-preview de 2018: Operations
2018-07-01: Operations
2018-11-01: Operations
2019-04-01: Operations
2019-06-01: Operations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: PrivateEndpointConnectionsOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: PrivateLinkResourcesOperations
08-08-01-preview de 2020: 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
A instância depende da versão da API:
2019-06-01: QueueOperations
08-08-01-preview de 2020: 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
A instância depende da versão da 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
A instância depende da versão da API:
2017-06-01: SkusOperations
2017-10-01: SkusOperations
2018-02-01: SkusOperations
03-01-2018-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
A instância depende da versão da 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
03-01-2018-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
A instância depende da versão da 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
A instância depende da versão da 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
A instância depende da versão da 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
A instância depende da versão da API:
03-01-2018-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
Azure SDK for Python