Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idazure.storage_import_export.locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringSpecifies the resource identifier of the location.
namestringSpecifies the name of the location. Use List Locations to get all supported locations.
propertieslocation properties
typestringSpecifies the type of the location.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocationNameapi-version, Accept-LanguageReturns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region.
listselectapi-version, Accept-LanguageReturns a list of locations to which you can ship the disks associated with an import or export job. A location is a Microsoft data center region.

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
locationNamestringThe name of the location. For example, West US or westus.
Accept-LanguagestringSpecifies the preferred language for the response.
api-versionstringSpecifies the API version to use for this request.

SELECT examples

Returns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region.

SELECT
id,
name,
properties,
type
FROM azure.storage_import_export.locations
WHERE locationName = '{{ locationName }}' -- required
AND api-version = '{{ api-version }}'
AND Accept-Language = '{{ Accept-Language }}'
;