Interface Products


public interface Products
Resource collection API of Products.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Product> 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<Product> 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<Product> 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

      Product get(String resourceGroup, String registrationName, String productName)
      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<ExtendedProduct> 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

      ExtendedProduct listDetails(String resourceGroup, String registrationName, String productName)
      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<ProductList> 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

      ProductList listProducts(String resourceGroup, String registrationName, String productName)
      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<ProductList> 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

      ProductList getProducts(String resourceGroup, String registrationName, String productName)
      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<Product> 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

      Product getProduct(String resourceGroup, String registrationName, String productName)
      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<ProductLog> 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

      ProductLog uploadLog(String resourceGroup, String registrationName, String productName)
      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.