azure.mgmt.resource.subscriptions.v2016_06_01.aio.operations package¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.aio.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Operations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(**kwargs) → AsyncIterable[azure.mgmt.resource.features.v2015_12_01.models._models_py3.OperationListResult][source]¶ Lists all of the available Microsoft.Resources REST API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either OperationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\subscriptions\\v2016_06_01\\models\\__init__.py'>¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.aio.operations.
SubscriptionsOperations
(client, config, serializer, deserializer)[source]¶ SubscriptionsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
async
get
(subscription_id: str, **kwargs) → azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.Subscription[source]¶ Gets details about a specified subscription.
-
list
(**kwargs) → AsyncIterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.SubscriptionListResult][source]¶ Gets all subscriptions for a tenant.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SubscriptionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_locations
(subscription_id: str, **kwargs) → AsyncIterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.LocationListResult][source]¶ Gets all available geo-locations.
This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
- Parameters
subscription_id (str) – The ID of the target subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LocationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\subscriptions\\v2016_06_01\\models\\__init__.py'>¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.aio.operations.
TenantsOperations
(client, config, serializer, deserializer)[source]¶ TenantsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(**kwargs) → AsyncIterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.TenantListResult][source]¶ Gets the tenants for your account.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either TenantListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\subscriptions\\v2016_06_01\\models\\__init__.py'>¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.aio.operations.
SubscriptionClientOperationsMixin
[source]¶ -
async
check_resource_name
(resource_name_definition: Optional[models.ResourceName] = None, **kwargs) → azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.CheckResourceNameResult[source]¶ Checks resource name validity.
A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word.
- Parameters
resource_name_definition (ResourceName) – Resource object with values for resource name and resource type.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CheckResourceNameResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
async