Interface ProductsClient
public interface ProductsClient
An instance of this class provides access to all the operations defined in ProductsClient.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the specified product.getProduct
(String resourceGroup, String registrationName, String productName) Returns the specified product.getProducts
(String resourceGroup, String registrationName, String productName) Returns a list of products.com.azure.core.http.rest.Response<ProductListInner>
getProductsWithResponse
(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns a list of products.com.azure.core.http.rest.Response<ProductInner>
getProductWithResponse
(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns the specified product.com.azure.core.http.rest.Response<ProductInner>
getWithResponse
(String resourceGroup, String registrationName, String productName, com.azure.core.util.Context context) Returns the specified product.com.azure.core.http.rest.PagedIterable<ProductInner>
Returns a list of products.com.azure.core.http.rest.PagedIterable<ProductInner>
Returns a list of products.listDetails
(String resourceGroup, String registrationName, String productName) Returns the extended properties of a product.com.azure.core.http.rest.Response<ExtendedProductInner>
listDetailsWithResponse
(String resourceGroup, String registrationName, String productName, com.azure.core.util.Context context) Returns the extended properties of a product.listProducts
(String resourceGroup, String registrationName, String productName) Returns a list of products.com.azure.core.http.rest.Response<ProductListInner>
listProductsWithResponse
(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns a list of products.Returns the specified product.com.azure.core.http.rest.Response<ProductLogInner>
uploadLogWithResponse
(String resourceGroup, String registrationName, String productName, MarketplaceProductLogUpdate marketplaceProductLogUpdate, com.azure.core.util.Context context) Returns the specified product.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ProductInner> list(String resourceGroup, String registrationName) Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.- Returns:
- pageable list of products 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.
-
list
com.azure.core.http.rest.PagedIterable<ProductInner> list(String resourceGroup, String registrationName, com.azure.core.util.Context context) Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.context
- The context to associate with this operation.- Returns:
- pageable list of products 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.
-
getWithResponse
com.azure.core.http.rest.Response<ProductInner> getWithResponse(String resourceGroup, String registrationName, String productName, com.azure.core.util.Context context) Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.context
- The context to associate with this operation.- Returns:
- product information 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.
-
get
Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- product information.
- 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.
-
listDetailsWithResponse
com.azure.core.http.rest.Response<ExtendedProductInner> listDetailsWithResponse(String resourceGroup, String registrationName, String productName, com.azure.core.util.Context context) Returns the extended properties of a product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.context
- The context to associate with this operation.- Returns:
- extended description about the product required for installing it into Azure Stack 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.
-
listDetails
Returns the extended properties of a product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- extended description about the product required for installing it into Azure Stack.
- 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.
-
listProductsWithResponse
com.azure.core.http.rest.Response<ProductListInner> listProductsWithResponse(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.deviceConfiguration
- Device configuration.context
- The context to associate with this operation.- Returns:
- pageable list of products 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.
-
listProducts
Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- pageable list of products.
- 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.
-
getProductsWithResponse
com.azure.core.http.rest.Response<ProductListInner> getProductsWithResponse(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.deviceConfiguration
- Device configuration.context
- The context to associate with this operation.- Returns:
- pageable list of products 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.
-
getProducts
Returns a list of products.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- pageable list of products.
- 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.
-
getProductWithResponse
com.azure.core.http.rest.Response<ProductInner> getProductWithResponse(String resourceGroup, String registrationName, String productName, DeviceConfiguration deviceConfiguration, com.azure.core.util.Context context) Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.deviceConfiguration
- Device configuration.context
- The context to associate with this operation.- Returns:
- product information 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.
-
getProduct
Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- product information.
- 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.
-
uploadLogWithResponse
com.azure.core.http.rest.Response<ProductLogInner> uploadLogWithResponse(String resourceGroup, String registrationName, String productName, MarketplaceProductLogUpdate marketplaceProductLogUpdate, com.azure.core.util.Context context) Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.marketplaceProductLogUpdate
- Update details for product log.context
- The context to associate with this operation.- Returns:
- product action log 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.
-
uploadLog
Returns the specified product.- Parameters:
resourceGroup
- Name of the resource group.registrationName
- Name of the Azure Stack registration.productName
- Name of the product.- Returns:
- product action log.
- 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.
-