Interface Services
public interface Services
Resource collection API of Services.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<SkuInformation>
listAvailableSkusByResourceGroup
(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest) This method provides the list of available skus for the given subscription, resource group and location.com.azure.core.http.rest.PagedIterable<SkuInformation>
listAvailableSkusByResourceGroup
(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest, com.azure.core.util.Context context) This method provides the list of available skus for the given subscription, resource group and location.regionConfiguration
(String location, RegionConfigurationRequest regionConfigurationRequest) This API provides configuration details specific to given region/location at Subscription level.regionConfigurationByResourceGroup
(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest) This API provides configuration details specific to given region/location at Resource group level.com.azure.core.http.rest.Response<RegionConfigurationResponse>
regionConfigurationByResourceGroupWithResponse
(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest, com.azure.core.util.Context context) This API provides configuration details specific to given region/location at Resource group level.com.azure.core.http.rest.Response<RegionConfigurationResponse>
regionConfigurationWithResponse
(String location, RegionConfigurationRequest regionConfigurationRequest, com.azure.core.util.Context context) This API provides configuration details specific to given region/location at Subscription level.validateAddress
(String location, ValidateAddress validateAddress) [DEPRECATED NOTICE: This operation will soon be removed].com.azure.core.http.rest.Response<AddressValidationOutput>
validateAddressWithResponse
(String location, ValidateAddress validateAddress, com.azure.core.util.Context context) [DEPRECATED NOTICE: This operation will soon be removed].validateInputs
(String location, ValidationRequest validationRequest) This method does all necessary pre-job creation validation under subscription.validateInputsByResourceGroup
(String resourceGroupName, String location, ValidationRequest validationRequest) This method does all necessary pre-job creation validation under resource group.com.azure.core.http.rest.Response<ValidationResponse>
validateInputsByResourceGroupWithResponse
(String resourceGroupName, String location, ValidationRequest validationRequest, com.azure.core.util.Context context) This method does all necessary pre-job creation validation under resource group.com.azure.core.http.rest.Response<ValidationResponse>
validateInputsWithResponse
(String location, ValidationRequest validationRequest, com.azure.core.util.Context context) This method does all necessary pre-job creation validation under subscription.
-
Method Details
-
listAvailableSkusByResourceGroup
com.azure.core.http.rest.PagedIterable<SkuInformation> 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAvailableSkusByResourceGroup
com.azure.core.http.rest.PagedIterable<SkuInformation> listAvailableSkusByResourceGroup(String resourceGroupName, String location, AvailableSkuRequest availableSkuRequest, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateAddressWithResponse
com.azure.core.http.rest.Response<AddressValidationOutput> validateAddressWithResponse(String location, ValidateAddress validateAddress, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateInputsByResourceGroupWithResponse
com.azure.core.http.rest.Response<ValidationResponse> validateInputsByResourceGroupWithResponse(String resourceGroupName, String location, ValidationRequest validationRequest, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateInputsByResourceGroup
ValidationResponse 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateInputsWithResponse
com.azure.core.http.rest.Response<ValidationResponse> validateInputsWithResponse(String location, ValidationRequest validationRequest, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateInputs
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regionConfigurationWithResponse
com.azure.core.http.rest.Response<RegionConfigurationResponse> regionConfigurationWithResponse(String location, RegionConfigurationRequest regionConfigurationRequest, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regionConfiguration
RegionConfigurationResponse 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regionConfigurationByResourceGroupWithResponse
com.azure.core.http.rest.Response<RegionConfigurationResponse> regionConfigurationByResourceGroupWithResponse(String resourceGroupName, String location, RegionConfigurationRequest regionConfigurationRequest, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
regionConfigurationByResourceGroup
RegionConfigurationResponse 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-