Interface DeploymentLicensesClient


public interface DeploymentLicensesClient
An instance of this class provides access to all the operations defined in DeploymentLicensesClient.
  • Method Details

    • createWithResponse

      com.azure.core.http.rest.Response<DeploymentLicenseResponseInner> 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

      DeploymentLicenseResponseInner 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.