Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idazure.media_services.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:

NameAccessible byRequired ParamsOptional ParamsDescription
check_name_availabilityexecsubscriptionId, locationNameapi-versionChecks whether the Media Service resource name is available.

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.

NameDatatypeDescription
locationNamestringLocation name.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription.
api-versionstringThe version of the API to be used with the client request.

Lifecycle Methods

Checks whether the Media Service resource name is available.

EXEC azure.media_services.locations.check_name_availability 
@subscriptionId='{{ subscriptionId }}' --required,
@locationName='{{ locationName }}' --required,
@api-version='{{ api-version }}'
@@json=
'{
"name": "{{ name }}",
"type": "{{ type }}"
}'
;