ServicesClient Interface

public interface ServicesClient

An instance of this class provides access to all the operations defined in ServicesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<SkuInformationInner> listAvailableSkusByResourceGroup(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest)

This method provides the list of available skus for the given subscription, resource group and location.

abstract PagedIterable<SkuInformationInner> listAvailableSkusByResourceGroup(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest, Context context)

This method provides the list of available skus for the given subscription, resource group and location.

abstract RegionConfigurationResponseInner regionConfiguration(String location, RegionConfigurationRequest regionConfigurationRequest)

This API provides configuration details specific to given region/location at Subscription level.

abstract RegionConfigurationResponseInner regionConfigurationByResourceGroup(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest)

This API provides configuration details specific to given region/location at Resource group level.

abstract Response<RegionConfigurationResponseInner> regionConfigurationByResourceGroupWithResponse(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest, Context context)

This API provides configuration details specific to given region/location at Resource group level.

abstract Response<RegionConfigurationResponseInner> regionConfigurationWithResponse(String location, RegionConfigurationRequest regionConfigurationRequest, Context context)

This API provides configuration details specific to given region/location at Subscription level.

abstract AddressValidationOutputInner validateAddress(String location, ValidateAddress validateAddress)

[DEPRECATED NOTICE: This operation will soon be removed].

abstract Response<AddressValidationOutputInner> validateAddressWithResponse(String location, ValidateAddress validateAddress, Context context)

[DEPRECATED NOTICE: This operation will soon be removed].

abstract ValidationResponseInner validateInputs(String location, ValidationRequest validationRequest)

This method does all necessary pre-job creation validation under subscription.

abstract ValidationResponseInner validateInputsByResourceGroup(String resourceGroupName, String location, ValidationRequest validationRequest)

This method does all necessary pre-job creation validation under resource group.

abstract Response<ValidationResponseInner> validateInputsByResourceGroupWithResponse(String resourceGroupName, String location, ValidationRequest validationRequest, Context context)

This method does all necessary pre-job creation validation under resource group.

abstract Response<ValidationResponseInner> validateInputsWithResponse(String location, ValidationRequest validationRequest, Context context)

This method does all necessary pre-job creation validation under subscription.

Method Details

listAvailableSkusByResourceGroup

public abstract PagedIterable<SkuInformationInner> listAvailableSkusByResourceGroup(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest)

This method provides the list of available skus for the given subscription, resource group and location.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
availableSkuRequest - Filters for showing the available skus.

Returns:

the available skus operation response as paginated response with PagedIterable<T>.

listAvailableSkusByResourceGroup

public abstract PagedIterable<SkuInformationInner> listAvailableSkusByResourceGroup(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest, Context context)

This method provides the list of available skus for the given subscription, resource group and location.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
availableSkuRequest - Filters for showing the available skus.
context - The context to associate with this operation.

Returns:

the available skus operation response as paginated response with PagedIterable<T>.

regionConfiguration

public abstract RegionConfigurationResponseInner regionConfiguration(String location, RegionConfigurationRequest regionConfigurationRequest)

This API provides configuration details specific to given region/location at Subscription level.

Parameters:

location - The location of the resource.
regionConfigurationRequest - Request body to get the configuration for the region.

Returns:

configuration response specific to a region.

regionConfigurationByResourceGroup

public abstract RegionConfigurationResponseInner regionConfigurationByResourceGroup(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest)

This API provides configuration details specific to given region/location at Resource group level.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
regionConfigurationRequest - Request body to get the configuration for the region at resource group level.

Returns:

configuration response specific to a region.

regionConfigurationByResourceGroupWithResponse

public abstract Response<RegionConfigurationResponseInner> regionConfigurationByResourceGroupWithResponse(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest, Context context)

This API provides configuration details specific to given region/location at Resource group level.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
regionConfigurationRequest - Request body to get the configuration for the region at resource group level.
context - The context to associate with this operation.

Returns:

configuration response specific to a region along with Response<T>.

regionConfigurationWithResponse

public abstract Response<RegionConfigurationResponseInner> regionConfigurationWithResponse(String location, RegionConfigurationRequest regionConfigurationRequest, Context context)

This API provides configuration details specific to given region/location at Subscription level.

Parameters:

location - The location of the resource.
regionConfigurationRequest - Request body to get the configuration for the region.
context - The context to associate with this operation.

Returns:

configuration response specific to a region along with Response<T>.

validateAddress

public abstract AddressValidationOutputInner validateAddress(String location, ValidateAddress validateAddress)

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

Parameters:

location - The location of the resource.
validateAddress - Shipping address of the customer.

Returns:

output of the address validation api.

validateAddressWithResponse

public abstract Response<AddressValidationOutputInner> validateAddressWithResponse(String location, ValidateAddress validateAddress, Context context)

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

Parameters:

location - The location of the resource.
validateAddress - Shipping address of the customer.
context - The context to associate with this operation.

Returns:

output of the address validation api along with Response<T>.

validateInputs

public abstract ValidationResponseInner validateInputs(String location, ValidationRequest validationRequest)

This method does all necessary pre-job creation validation under subscription.

Parameters:

location - The location of the resource.
validationRequest - Inputs of the customer.

Returns:

response of pre job creation validations.

validateInputsByResourceGroup

public abstract ValidationResponseInner validateInputsByResourceGroup(String resourceGroupName, String location, ValidationRequest validationRequest)

This method does all necessary pre-job creation validation under resource group.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
validationRequest - Inputs of the customer.

Returns:

response of pre job creation validations.

validateInputsByResourceGroupWithResponse

public abstract Response<ValidationResponseInner> validateInputsByResourceGroupWithResponse(String resourceGroupName, String location, ValidationRequest validationRequest, Context context)

This method does all necessary pre-job creation validation under resource group.

Parameters:

resourceGroupName - The Resource Group Name.
location - The location of the resource.
validationRequest - Inputs of the customer.
context - The context to associate with this operation.

Returns:

response of pre job creation validations along with Response<T>.

validateInputsWithResponse

public abstract Response<ValidationResponseInner> validateInputsWithResponse(String location, ValidationRequest validationRequest, Context context)

This method does all necessary pre-job creation validation under subscription.

Parameters:

location - The location of the resource.
validationRequest - Inputs of the customer.
context - The context to associate with this operation.

Returns:

response of pre job creation validations along with Response<T>.

Applies to