Locations class
Class representing a Locations.
Constructors
Locations(Storage |
Create a Locations. |
Methods
get(string, ms |
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, Request |
|
get(string, Service |
|
list(ms |
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(Request |
|
list(Service |
Constructor Details
Locations(StorageImportExportManagementClientContext)
Create a Locations.
new Locations(client: StorageImportExportManagementClientContext)
Parameters
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
Azure SDK for JavaScript