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.
classmethod models(api_version='2019-06-01')[source]

Module depends on the API version:

DEFAULT_API_VERSION = '2019-06-01'
LATEST_PROFILE = azure.mgmt.storage.StorageManagementClient latest
blob_containers

BlobContainersOperations * 2018-03-01-preview: BlobContainersOperations * 2018-07-01: BlobContainersOperations * 2018-11-01: BlobContainersOperations * 2019-04-01: BlobContainersOperations * 2019-06-01: BlobContainersOperations

Type:

Instance depends on the API version

Type:
  • 2018-02-01
blob_services

BlobServicesOperations * 2018-11-01: BlobServicesOperations * 2019-04-01: BlobServicesOperations * 2019-06-01: BlobServicesOperations

Type:

Instance depends on the API version

Type:
  • 2018-07-01
file_services

FileServicesOperations * 2019-06-01: FileServicesOperations

Type:

Instance depends on the API version

Type:
  • 2019-04-01
file_shares

FileSharesOperations * 2019-06-01: FileSharesOperations

Type:

Instance depends on the API version

Type:
  • 2019-04-01
management_policies

ManagementPoliciesOperations * 2018-11-01: ManagementPoliciesOperations * 2019-04-01: ManagementPoliciesOperations * 2019-06-01: ManagementPoliciesOperations

Type:

Instance depends on the API version

Type:
  • 2018-07-01
operations

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

Type:

Instance depends on the API version

Type:
  • 2017-06-01
private_endpoint_connections

PrivateEndpointConnectionsOperations

Type:

Instance depends on the API version

Type:
  • 2019-06-01

PrivateLinkResourcesOperations

Type:

Instance depends on the API version

Type:
  • 2019-06-01
skus

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

Type:

Instance depends on the API version

Type:
  • 2017-06-01
storage_accounts

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

Type:

Instance depends on the API version

Type:
  • 2015-06-15
usage

UsageOperations * 2016-01-01: UsageOperations * 2016-12-01: UsageOperations * 2017-06-01: UsageOperations * 2017-10-01: UsageOperations * 2018-02-01: UsageOperations

Type:

Instance depends on the API version

Type:
  • 2015-06-15
usages

UsagesOperations * 2018-07-01: UsagesOperations * 2018-11-01: UsagesOperations * 2019-04-01: UsagesOperations * 2019-06-01: UsagesOperations

Type:

Instance depends on the API version

Type:
  • 2018-03-01-preview
class azure.mgmt.storage.StorageManagementClientConfiguration(credentials, subscription_id, base_url=None)[source]

Bases: msrestazure.azure_configuration.AzureConfiguration

Configuration for StorageManagementClient Note that all parameters used to create this instance are saved as instance attributes.

Parameters:
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.
  • subscription_id (str) – The ID of the target subscription.
  • base_url (str) – Service URL