Interface DeploymentLicenses


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

    • createWithResponse

      com.azure.core.http.rest.Response<DeploymentLicenseResponse> createWithResponse(DeploymentLicenseRequest deploymentLicenseRequest, com.azure.core.util.Context context)
      Creates a license that can be used to deploy an Azure Stack device.
      Parameters:
      deploymentLicenseRequest - Request body for creating a deployment license.
      context - The context to associate with this operation.
      Returns:
      a license that can be used to deploy an Azure Stack device 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.
    • create

      DeploymentLicenseResponse create(DeploymentLicenseRequest deploymentLicenseRequest)
      Creates a license that can be used to deploy an Azure Stack device.
      Parameters:
      deploymentLicenseRequest - Request body for creating a deployment license.
      Returns:
      a license that can be used to deploy an Azure Stack device.
      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.