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
classmethod models(api_version='2018-02-01')[source]

Module depends on the API version:

operations

Instance depends on the API version:

  • 2017-06-01: Operations
  • 2017-10-01: Operations
  • 2018-02-01: Operations
  • 2018-03-01-preview: Operations
skus

Instance depends on the API version:

  • 2017-06-01: SkusOperations
  • 2017-10-01: SkusOperations
  • 2018-02-01: SkusOperations
  • 2018-03-01-preview: SkusOperations
storage_accounts

Instance depends on the API version:

usage

Instance depends on the API version:

usages

Instance depends on the API version:

  • 2018-03-01-preview: UsagesOperations