Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Location

Package version

Class representing a Location.

Hierarchy

  • Location

Index

Constructors

constructor

Methods

checkNameAvailability

  • checkNameAvailability(locationName: string, name: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationCheckNameAvailabilityResponse>
  • checkNameAvailability(locationName: string, name: string, callback: msRest.ServiceCallback<CheckNameAvailabilityResult>): void
  • checkNameAvailability(locationName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<CheckNameAvailabilityResult>): void
  • Checks whether the Batch account name is available in the specified region.

    Parameters

    • locationName: string

      The desired region for the name check.

    • name: string

      The name to check for availability

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LocationCheckNameAvailabilityResponse>

    Promise<Models.LocationCheckNameAvailabilityResponse>

  • Parameters

    • locationName: string

      The desired region for the name check.

    • name: string

      The name to check for availability

    • callback: msRest.ServiceCallback<CheckNameAvailabilityResult>

      The callback

    Returns void

  • Parameters

    • locationName: string

      The desired region for the name check.

    • name: string

      The name to check for availability

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<CheckNameAvailabilityResult>

      The callback

    Returns void

getQuotas

  • getQuotas(locationName: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationGetQuotasResponse>
  • getQuotas(locationName: string, callback: msRest.ServiceCallback<BatchLocationQuota>): void
  • getQuotas(locationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<BatchLocationQuota>): void
  • Gets the Batch service quotas for the specified subscription at the given location.

    Parameters

    • locationName: string

      The region for which to retrieve Batch service quotas.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.LocationGetQuotasResponse>

    Promise<Models.LocationGetQuotasResponse>

  • Parameters

    • locationName: string

      The region for which to retrieve Batch service quotas.

    • callback: msRest.ServiceCallback<BatchLocationQuota>

      The callback

    Returns void

  • Parameters

    • locationName: string

      The region for which to retrieve Batch service quotas.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<BatchLocationQuota>

      The callback

    Returns void

Generated using TypeDoc