Service interface
Interface representing a Service.
Methods
Method Details
listAvailableSkusByResourceGroup(string, string, AvailableSkuRequest, ServiceListAvailableSkusByResourceGroupOptionalParams)
This method provides the list of available skus for the given subscription, resource group and location.
function listAvailableSkusByResourceGroup(resourceGroupName: string, location: string, availableSkuRequest: AvailableSkuRequest, options?: ServiceListAvailableSkusByResourceGroupOptionalParams): PagedAsyncIterableIterator<SkuInformation, SkuInformation[], PageSettings>
Parameters
- resourceGroupName
-
string
The Resource Group Name
- location
-
string
The location of the resource
- availableSkuRequest
- AvailableSkuRequest
Filters for showing the available skus.
The options parameters.
Returns
regionConfiguration(string, RegionConfigurationRequest, ServiceRegionConfigurationOptionalParams)
This API provides configuration details specific to given region/location at Subscription level.
function regionConfiguration(location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationOptionalParams): Promise<RegionConfigurationResponse>
Parameters
- location
-
string
The location of the resource
- regionConfigurationRequest
- RegionConfigurationRequest
Request body to get the configuration for the region.
The options parameters.
Returns
Promise<RegionConfigurationResponse>
regionConfigurationByResourceGroup(string, string, RegionConfigurationRequest, ServiceRegionConfigurationByResourceGroupOptionalParams)
This API provides configuration details specific to given region/location at Resource group level.
function regionConfigurationByResourceGroup(resourceGroupName: string, location: string, regionConfigurationRequest: RegionConfigurationRequest, options?: ServiceRegionConfigurationByResourceGroupOptionalParams): Promise<RegionConfigurationResponse>
Parameters
- resourceGroupName
-
string
The Resource Group Name
- location
-
string
The location of the resource
- regionConfigurationRequest
- RegionConfigurationRequest
Request body to get the configuration for the region at resource group level.
The options parameters.
Returns
Promise<RegionConfigurationResponse>
validateAddress(string, ValidateAddress, ServiceValidateAddressOptionalParams)
[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.
function validateAddress(location: string, validateAddress: ValidateAddress, options?: ServiceValidateAddressOptionalParams): Promise<AddressValidationOutput>
Parameters
- location
-
string
The location of the resource
- validateAddress
- ValidateAddress
Shipping address of the customer.
The options parameters.
Returns
Promise<AddressValidationOutput>
validateInputs(string, ValidationRequestUnion, ServiceValidateInputsOptionalParams)
This method does all necessary pre-job creation validation under subscription.
function validateInputs(location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsOptionalParams): Promise<ValidationResponse>
Parameters
- location
-
string
The location of the resource
- validationRequest
- ValidationRequestUnion
Inputs of the customer.
The options parameters.
Returns
Promise<ValidationResponse>
validateInputsByResourceGroup(string, string, ValidationRequestUnion, ServiceValidateInputsByResourceGroupOptionalParams)
This method does all necessary pre-job creation validation under resource group.
function validateInputsByResourceGroup(resourceGroupName: string, location: string, validationRequest: ValidationRequestUnion, options?: ServiceValidateInputsByResourceGroupOptionalParams): Promise<ValidationResponse>
Parameters
- resourceGroupName
-
string
The Resource Group Name
- location
-
string
The location of the resource
- validationRequest
- ValidationRequestUnion
Inputs of the customer.
The options parameters.
Returns
Promise<ValidationResponse>