Locations class

Class representing a Locations.

Constructors

Locations(StorageImportExportManagementClientContext)

Create a Locations.

Methods

get(string, msRest.RequestOptionsBase)

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.

get(string, RequestOptionsBase, ServiceCallback<Location>)
get(string, ServiceCallback<Location>)
list(msRest.RequestOptionsBase)

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.

list(RequestOptionsBase, ServiceCallback<LocationsResponse>)
list(ServiceCallback<LocationsResponse>)

Constructor Details

Locations(StorageImportExportManagementClientContext)

Create a Locations.

new Locations(client: StorageImportExportManagementClientContext)

Parameters

client
StorageImportExportManagementClientContext

Reference to the service client.

Method Details

get(string, msRest.RequestOptionsBase)

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?: msRest.RequestOptionsBase)

Parameters

locationName

string

The name of the location. For example, West US or westus.

options
msRest.RequestOptionsBase

Returns

Promise<Models.LocationsGetResponse>

Promise<Models.LocationsGetResponse>

get(string, RequestOptionsBase, ServiceCallback<Location>)

function get(locationName: string, options: RequestOptionsBase, callback: ServiceCallback<Location>)

Parameters

locationName

string

The name of the location. For example, West US or westus.

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<Location>

The callback

get(string, ServiceCallback<Location>)

function get(locationName: string, callback: ServiceCallback<Location>)

Parameters

locationName

string

The name of the location. For example, West US or westus.

callback

ServiceCallback<Location>

The callback

list(msRest.RequestOptionsBase)

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?: msRest.RequestOptionsBase)

Parameters

options
msRest.RequestOptionsBase

Returns

Promise<Models.LocationsListResponse>

Promise<Models.LocationsListResponse>

list(RequestOptionsBase, ServiceCallback<LocationsResponse>)

function list(options: RequestOptionsBase, callback: ServiceCallback<LocationsResponse>)

Parameters

options

RequestOptionsBase

The optional parameters

callback

ServiceCallback<LocationsResponse>

The callback

list(ServiceCallback<LocationsResponse>)

function list(callback: ServiceCallback<LocationsResponse>)

Parameters

callback

ServiceCallback<LocationsResponse>

The callback