Locations interface
Interface representing a Locations.
Methods
get(string, Locations |
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(Locations |
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. |
Method Details
get(string, LocationsGetOptionalParams)
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.
function get(locationName: string, options?: LocationsGetOptionalParams): Promise<Location_2>
Parameters
- locationName
-
string
The name of the location. For example, West US or westus.
- options
- LocationsGetOptionalParams
The options parameters.
Returns
Promise<Location>
list(LocationsListOptionalParams)
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.
function list(options?: LocationsListOptionalParams): PagedAsyncIterableIterator<Location_2, Location_2[], PageSettings>
Parameters
- options
- LocationsListOptionalParams
The options parameters.
Returns
Azure SDK for JavaScript