Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Locations

Package version

Class representing a Locations.

Hierarchy

  • Locations

Index

Constructors

Methods

Constructors

constructor

Methods

get

  • get(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationsGetResponse>
  • get(locationName: string, callback: msRest.ServiceCallback<Location>): void
  • get(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Location>): void
  • 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.

    Parameters

    • locationName: string

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LocationsGetResponse>

    Promise<Models.LocationsGetResponse>

  • Parameters

    • locationName: string

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

    • callback: msRest.ServiceCallback<Location>

      The callback

    Returns void

  • Parameters

    • locationName: string

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

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Location>

      The callback

    Returns void

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.LocationsListResponse>
  • list(callback: msRest.ServiceCallback<LocationsResponse>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<LocationsResponse>): void
  • 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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LocationsListResponse>

    Promise<Models.LocationsListResponse>

  • Parameters

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<LocationsResponse>

      The callback

    Returns void

Generated using TypeDoc