LocationsOperations Class
LocationsOperations 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.
- Inheritance
-
builtins.objectLocationsOperations
Constructor
LocationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| check_name_availability |
Check the cluster name is available or not. |
| get_azure_async_operation_status |
Get the async operation status. |
| get_capabilities |
Gets the capabilities for the specified location. |
| list_billing_specs |
Lists the billingSpecs for the specified subscription and location. |
| list_usages |
Lists the usages for the specified location. |
| validate_cluster_create_request |
Validate the cluster create request spec is valid or not. |
check_name_availability
Check the cluster name is available or not.
check_name_availability(location: str, parameters: _models.NameAvailabilityCheckRequestParameters, **kwargs: Any) -> _models.NameAvailabilityCheckResult
Parameters
- parameters
- NameAvailabilityCheckRequestParameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
NameAvailabilityCheckResult, or the result of cls(response)
Return type
Exceptions
get_azure_async_operation_status
Get the async operation status.
get_azure_async_operation_status(location: str, operation_id: str, **kwargs: Any) -> _models.AsyncOperationResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AsyncOperationResult, or the result of cls(response)
Return type
Exceptions
get_capabilities
Gets the capabilities for the specified location.
get_capabilities(location: str, **kwargs: Any) -> _models.CapabilitiesResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
CapabilitiesResult, or the result of cls(response)
Return type
Exceptions
list_billing_specs
Lists the billingSpecs for the specified subscription and location.
list_billing_specs(location: str, **kwargs: Any) -> _models.BillingResponseListResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
BillingResponseListResult, or the result of cls(response)
Return type
Exceptions
list_usages
Lists the usages for the specified location.
list_usages(location: str, **kwargs: Any) -> _models.UsagesListResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
UsagesListResult, or the result of cls(response)
Return type
Exceptions
validate_cluster_create_request
Validate the cluster create request spec is valid or not.
validate_cluster_create_request(location: str, parameters: _models.ClusterCreateRequestValidationParameters, **kwargs: Any) -> _models.ClusterCreateValidationResult
Parameters
- parameters
- ClusterCreateRequestValidationParameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ClusterCreateValidationResult, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.hdinsight.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>
Feedback
Submit and view feedback for