azure.mgmt.storage package¶
Module contents¶
-
class
azure.mgmt.storage.
StorageManagementClient
(credentials, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)[source]¶ Bases:
azure.profiles.multiapiclient.MultiApiClientMixin
,msrest.service_client.SDKClient
The Azure Storage Management API.
This ready contains multiple API versions, to help you deal with all Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, uses latest API version available on public Azure. For production, you should stick a particular api-version and/or profile. The profile sets a mapping between the operation group and an API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
Variables: config (StorageManagementClientConfiguration) – Configuration for client.
Parameters: - credentials (
A msrestazure Credentials object
) – Credentials needed for the client to connect to Azure. - subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- api_version (str) – API version to use if no profile is provided, or if missing in profile.
- base_url (str) – Service URL
- profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.
-
DEFAULT_API_VERSION
= '2018-02-01'¶
-
LATEST_PROFILE
= azure.mgmt.storage.StorageManagementClient latest¶
-
blob_containers
¶ Instance depends on the API version:
- 2018-02-01:
BlobContainersOperations
- 2018-03-01-preview:
BlobContainersOperations
- 2018-02-01:
-
classmethod
models
(api_version='2018-02-01')[source]¶ Module depends on the API version:
- 2015-06-15:
v2015_06_15.models
- 2016-01-01:
v2016_01_01.models
- 2016-12-01:
v2016_12_01.models
- 2017-06-01:
v2017_06_01.models
- 2017-10-01:
v2017_10_01.models
- 2018-02-01:
v2018_02_01.models
- 2018-03-01-preview:
v2018_03_01_preview.models
- 2015-06-15:
-
operations
¶ Instance depends on the API version:
- 2017-06-01:
Operations
- 2017-10-01:
Operations
- 2018-02-01:
Operations
- 2018-03-01-preview:
Operations
- 2017-06-01:
-
skus
¶ Instance depends on the API version:
- 2017-06-01:
SkusOperations
- 2017-10-01:
SkusOperations
- 2018-02-01:
SkusOperations
- 2018-03-01-preview:
SkusOperations
- 2017-06-01:
-
storage_accounts
¶ Instance depends on the API version:
- 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
- 2015-06-15:
-
usage
¶ Instance depends on the API version:
- 2015-06-15:
UsageOperations
- 2016-01-01:
UsageOperations
- 2016-12-01:
UsageOperations
- 2017-06-01:
UsageOperations
- 2017-10-01:
UsageOperations
- 2018-02-01:
UsageOperations
- 2015-06-15:
-
usages
¶ Instance depends on the API version:
- 2018-03-01-preview:
UsagesOperations
- 2018-03-01-preview:
- credentials (