Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idazure_extras.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.
additionalShippingInformationstringAdditional shipping information for customer, specific to datacenter to which customer should send their disks.
alternateLocationsarrayA list of location IDs that should be used to ship shipping drives to for jobs created against the current location. If the current location is active, it will be part of the list. If it is temporarily closed due to maintenance, this list may contain other locations.
citystringThe city name to use when shipping the drives to the Azure data center.
countryOrRegionstringThe country or region to use when shipping the drives to the Azure data center.
phonestringThe phone number for the Azure data center.
postalCodestringThe postal code to use when shipping the drives to the Azure data center.
recipientNamestringThe recipient name to use when shipping the drives to the Azure data center.
stateOrProvincestringThe state or province to use when shipping the drives to the Azure data center.
streetAddress1stringThe first line of the street address to use when shipping the drives to the Azure data center.
streetAddress2stringThe second line of the street address to use when shipping the drives to the Azure data center.
supportedCarriersarrayA list of carriers that are supported at this location.
typestringSpecifies the type of the location.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation_nameAccept-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.
listselectAccept-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
location_namestringThe name of the location. For example, West US or westus. Required.
Accept-Languagestring

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,
additionalShippingInformation,
alternateLocations,
city,
countryOrRegion,
phone,
postalCode,
recipientName,
stateOrProvince,
streetAddress1,
streetAddress2,
supportedCarriers,
type
FROM azure_extras.storage_import_export.locations
WHERE location_name = '{{ location_name }}' -- required
AND Accept-Language = '{{ Accept-Language }}'
;