SubscriptionClient Class
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.
- Inheritance
-
azure.mgmt.resource.subscriptions.v2021_01_01.operations._operations.SubscriptionClientOperationsMixinSubscriptionClient
Constructor
SubscriptionClient(credential: TokenCredential, base_url: str = 'https://management.azure.com', **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
base_url
|
Service URL. Default value is "https://management.azure.com". Default value: https://management.azure.com
|
Keyword-Only Parameters
Name | Description |
---|---|
api_version
|
Api Version. Default value is "2021-01-01". Note that overriding this default value may result in unsupported behavior. |
Variables
Name | Description |
---|---|
subscriptions
|
SubscriptionsOperations operations |
tenants
|
TenantsOperations operations |
Methods
close |
close
close() -> None
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python