Interface LicenseProfiles


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

    • getWithResponse

      com.azure.core.http.rest.Response<LicenseProfile> getWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context)
      Retrieves information about the view of a license profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      context - The context to associate with this operation.
      Returns:
      describes a license profile in a hybrid machine 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

      LicenseProfile get(String resourceGroupName, String machineName)
      Retrieves information about the view of a license profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      Returns:
      describes a license profile in a hybrid machine.
      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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String machineName)
      The operation to delete a license profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      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.
    • delete

      void delete(String resourceGroupName, String machineName, com.azure.core.util.Context context)
      The operation to delete a license profile.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      context - The context to associate with this operation.
      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<LicenseProfile> list(String resourceGroupName, String machineName)
      The operation to get all license profiles of a non-Azure machine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the machine.
      Returns:
      the List hybrid machine license profile 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.
    • list

      com.azure.core.http.rest.PagedIterable<LicenseProfile> list(String resourceGroupName, String machineName, com.azure.core.util.Context context)
      The operation to get all license profiles of a non-Azure machine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the machine.
      context - The context to associate with this operation.
      Returns:
      the List hybrid machine license profile 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.
    • getById

      LicenseProfile getById(String id)
      Retrieves information about the view of a license profile.
      Parameters:
      id - the resource ID.
      Returns:
      describes a license profile in a hybrid machine 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<LicenseProfile> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Retrieves information about the view of a license profile.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      describes a license profile in a hybrid machine 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.
    • deleteById

      void deleteById(String id)
      The operation to delete a license profile.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      The operation to delete a license profile.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      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.
    • define

      Begins definition for a new LicenseProfile resource.
      Returns:
      the first stage of the new LicenseProfile definition.