azure.mgmt.resource.subscriptions package

Module contents

class azure.mgmt.resource.subscriptions.SubscriptionClient(credentials, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, msrest.service_client.SDKClient

All resource groups and resources exist within subscriptions. These operation enable you get information about your subscriptions and tenants. A tenant is a dedicated instance of Azure Active Directory (Azure AD) for your organization.

Variables

config (SubscriptionClientConfiguration) – Configuration for client.

Parameters
  • credentials (A msrestazure Credentials object) – Credentials needed for the client to connect to Azure.

  • 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 = '2016-06-01'
LATEST_PROFILE = azure.mgmt.resource.subscriptions.SubscriptionClient latest
classmethod models(api_version='2016-06-01')[source]

Module depends on the API version:

subscriptions

Instance depends on the API version:

tenants

Instance depends on the API version: