locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | azure.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. |
properties |
| location properties |
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. |
properties |
| location properties |
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 | locationName | api-version , 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 | api-version , 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 |
---|---|---|
locationName | string | The name of the location. For example, West US or westus. |
Accept-Language | string | Specifies the preferred language for the response. |
api-version | string | Specifies the API version to use for this request. |
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,
properties,
type
FROM azure.storage_import_export.locations
WHERE locationName = '{{ locationName }}' -- required
AND api-version = '{{ api-version }}'
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,
properties,
type
FROM azure.storage_import_export.locations
WHERE api-version = '{{ api-version }}'
AND Accept-Language = '{{ Accept-Language }}'
;