Locations interface

Interface representing a Locations.

Methods

checkNameAvailability(string, NameAvailabilityCheckRequestParameters, LocationsCheckNameAvailabilityOptionalParams)

Check the cluster name is available or not.

getAzureAsyncOperationStatus(string, string, LocationsGetAzureAsyncOperationStatusOptionalParams)

Get the async operation status.

getCapabilities(string, LocationsGetCapabilitiesOptionalParams)

Gets the capabilities for the specified location.

listBillingSpecs(string, LocationsListBillingSpecsOptionalParams)

Lists the billingSpecs for the specified subscription and location.

listUsages(string, LocationsListUsagesOptionalParams)

Lists the usages for the specified location.

validateClusterCreateRequest(string, ClusterCreateRequestValidationParameters, LocationsValidateClusterCreateRequestOptionalParams)

Validate the cluster create request spec is valid or not.

Method Details

checkNameAvailability(string, NameAvailabilityCheckRequestParameters, LocationsCheckNameAvailabilityOptionalParams)

Check the cluster name is available or not.

function checkNameAvailability(location: string, parameters: NameAvailabilityCheckRequestParameters, options?: LocationsCheckNameAvailabilityOptionalParams): Promise<NameAvailabilityCheckResult>

Parameters

location

string

The Azure location (region) for which to make the request.

parameters
NameAvailabilityCheckRequestParameters

The request spec of checking name availability.

options
LocationsCheckNameAvailabilityOptionalParams

The options parameters.

Returns

getAzureAsyncOperationStatus(string, string, LocationsGetAzureAsyncOperationStatusOptionalParams)

Get the async operation status.

function getAzureAsyncOperationStatus(location: string, operationId: string, options?: LocationsGetAzureAsyncOperationStatusOptionalParams): Promise<AsyncOperationResult>

Parameters

location

string

The Azure location (region) for which to make the request.

operationId

string

The long running operation id.

options
LocationsGetAzureAsyncOperationStatusOptionalParams

The options parameters.

Returns

getCapabilities(string, LocationsGetCapabilitiesOptionalParams)

Gets the capabilities for the specified location.

function getCapabilities(location: string, options?: LocationsGetCapabilitiesOptionalParams): Promise<CapabilitiesResult>

Parameters

location

string

The Azure location (region) for which to make the request.

options
LocationsGetCapabilitiesOptionalParams

The options parameters.

Returns

listBillingSpecs(string, LocationsListBillingSpecsOptionalParams)

Lists the billingSpecs for the specified subscription and location.

function listBillingSpecs(location: string, options?: LocationsListBillingSpecsOptionalParams): Promise<BillingResponseListResult>

Parameters

location

string

The Azure location (region) for which to make the request.

options
LocationsListBillingSpecsOptionalParams

The options parameters.

Returns

listUsages(string, LocationsListUsagesOptionalParams)

Lists the usages for the specified location.

function listUsages(location: string, options?: LocationsListUsagesOptionalParams): Promise<UsagesListResult>

Parameters

location

string

The Azure location (region) for which to make the request.

options
LocationsListUsagesOptionalParams

The options parameters.

Returns

Promise<UsagesListResult>

validateClusterCreateRequest(string, ClusterCreateRequestValidationParameters, LocationsValidateClusterCreateRequestOptionalParams)

Validate the cluster create request spec is valid or not.

function validateClusterCreateRequest(location: string, parameters: ClusterCreateRequestValidationParameters, options?: LocationsValidateClusterCreateRequestOptionalParams): Promise<ClusterCreateValidationResult>

Parameters

location

string

The Azure location (region) for which to make the request.

parameters
ClusterCreateRequestValidationParameters

The cluster create request specification.

options
LocationsValidateClusterCreateRequestOptionalParams

The options parameters.

Returns