azure.mgmt.resource.subscriptions.v2016_06_01.operations module¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
SubscriptionClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.Operation][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 Operation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/resource/subscriptions/v2016_06_01/models/__init__.py'>¶
-
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.operations.
SubscriptionClientOperationsMixin
[source]¶ Bases:
azure.mgmt.resource.subscriptions.v2016_06_01._vendor.SubscriptionClientMixinABC
-
check_resource_name
(resource_name_definition: Optional[_models.ResourceName] = None, *, content_type: str = "'application/json'", **kwargs: Any) → _models.CheckResourceNameResult[source]¶ -
check_resource_name
(resource_name_definition: Optional[IO] = None, *, content_type: str = "'application/json'", **kwargs: Any) → _models.CheckResourceNameResult 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 or IO) – Resource object with values for resource name and resource type. Is either a ResourceName type or a IO type. Default value is None.
- Keyword Arguments
- Returns
CheckResourceNameResult or the result of cls(response)
- Return type
- Raises
-
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.operations.
SubscriptionsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
SubscriptionClient
’ssubscriptions
attribute.-
check_zone_peers
(subscription_id: str, parameters: _models.CheckZonePeersRequest, *, content_type: str = "'application/json'", **kwargs: Any) → _models.CheckZonePeersResult[source]¶ -
check_zone_peers
(subscription_id: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.CheckZonePeersResult Compares a subscriptions logical zone mapping.
- Parameters
subscription_id (str) – The ID of the target subscription. Required.
parameters (CheckZonePeersRequest or IO) – Parameters for checking zone peers. Is either a CheckZonePeersRequest type or a IO type. Required.
- Keyword Arguments
- Returns
CheckZonePeersResult or the result of cls(response)
- Return type
- Raises
-
get
(subscription_id: str, **kwargs: Any) → azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.Subscription[source]¶ Gets details about a specified subscription.
-
list
(**kwargs: Any) → Iterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.Subscription][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 Subscription or the result of cls(response)
- Return type
- Raises
-
list_locations
(subscription_id: str, **kwargs: Any) → Iterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.Location][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.
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/resource/subscriptions/v2016_06_01/models/__init__.py'>¶
-
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.operations.
TenantsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
SubscriptionClient
’stenants
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.resource.subscriptions.v2016_06_01.models._models_py3.TenantIdDescription][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 TenantIdDescription or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.resource.subscriptions.v2016_06_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/resource/subscriptions/v2016_06_01/models/__init__.py'>¶
-