locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | azure.hdinsight.locations |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
check_name_availability | exec | subscriptionId , location | Check the cluster name is available or not. | |
validate_cluster_create_request | exec | subscriptionId , location | Validate the cluster create request spec is valid or not. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
location | string | The Azure location (region) for which to make the request. |
subscriptionId | string | The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
Lifecycle Methods
- check_name_availability
- validate_cluster_create_request
Check the cluster name is available or not.
EXEC azure.hdinsight.locations.check_name_availability
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;
Validate the cluster create request spec is valid or not.
EXEC azure.hdinsight.locations.validate_cluster_create_request
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"location": "{{ location }}",
"tags": "{{ tags }}",
"zones": "{{ zones }}",
"properties": "{{ properties }}",
"identity": "{{ identity }}",
"name": "{{ name }}",
"type": "{{ type }}",
"tenantId": "{{ tenantId }}",
"fetchAaddsResource": {{ fetchAaddsResource }}
}'
;