Locations interface
Interface representing a Locations.
Methods
check |
Check the cluster name is available or not. |
get |
Get the async operation status. |
get |
Gets the capabilities for the specified location. |
list |
Lists the billingSpecs for the specified subscription and location. |
list |
Lists the usages for the specified location. |
validate |
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.
The options parameters.
Returns
Promise<NameAvailabilityCheckResult>
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.
The options parameters.
Returns
Promise<AsyncOperationResult>
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.
The options parameters.
Returns
Promise<CapabilitiesResult>
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.
The options parameters.
Returns
Promise<BillingResponseListResult>
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.
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.
The options parameters.
Returns
Promise<ClusterCreateValidationResult>