locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | azure_extras.storage_import_export.locations |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Specifies the resource identifier of the location. |
name | string | Specifies the name of the location. Use List Locations to get all supported locations. |
additionalShippingInformation | string | Additional shipping information for customer, specific to datacenter to which customer should send their disks. |
alternateLocations | array | A 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. |
city | string | The city name to use when shipping the drives to the Azure data center. |
countryOrRegion | string | The country or region to use when shipping the drives to the Azure data center. |
phone | string | The phone number for the Azure data center. |
postalCode | string | The postal code to use when shipping the drives to the Azure data center. |
recipientName | string | The recipient name to use when shipping the drives to the Azure data center. |
stateOrProvince | string | The state or province to use when shipping the drives to the Azure data center. |
streetAddress1 | string | The first line of the street address to use when shipping the drives to the Azure data center. |
streetAddress2 | string | The second line of the street address to use when shipping the drives to the Azure data center. |
supportedCarriers | array | A list of carriers that are supported at this location. |
type | string | Specifies the type of the location. |
| Name | Datatype | Description |
|---|---|---|
id | string | Specifies the resource identifier of the location. |
name | string | Specifies the name of the location. Use List Locations to get all supported locations. |
additionalShippingInformation | string | Additional shipping information for customer, specific to datacenter to which customer should send their disks. |
alternateLocations | array | A 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. |
city | string | The city name to use when shipping the drives to the Azure data center. |
countryOrRegion | string | The country or region to use when shipping the drives to the Azure data center. |
phone | string | The phone number for the Azure data center. |
postalCode | string | The postal code to use when shipping the drives to the Azure data center. |
recipientName | string | The recipient name to use when shipping the drives to the Azure data center. |
stateOrProvince | string | The state or province to use when shipping the drives to the Azure data center. |
streetAddress1 | string | The first line of the street address to use when shipping the drives to the Azure data center. |
streetAddress2 | string | The second line of the street address to use when shipping the drives to the Azure data center. |
supportedCarriers | array | A list of carriers that are supported at this location. |
type | string | Specifies the type of the location. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location_name | Accept-Language | 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. |
list | select | Accept-Language | Returns 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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | The name of the location. For example, West US or westus. Required. |
Accept-Language | string |
SELECT examples
- get
- list
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 }}'
;
Returns 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.
SELECT
id,
name,
additionalShippingInformation,
alternateLocations,
city,
countryOrRegion,
phone,
postalCode,
recipientName,
stateOrProvince,
streetAddress1,
streetAddress2,
supportedCarriers,
type
FROM azure_extras.storage_import_export.locations
WHERE Accept-Language = '{{ Accept-Language }}'
;