Interface LicenseProfiles
public interface LicenseProfiles
Resource collection API of LicenseProfiles.
-
Method Summary
Modifier and TypeMethodDescriptiondefine()Begins definition for a new LicenseProfile resource.voidThe operation to delete a license profile.voiddeleteById(String id) The operation to delete a license profile.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) The operation to delete a license profile.voiddeleteByResourceGroup(String resourceGroupName, String machineName) The operation to delete a license profile.Retrieves information about the view of a license profile.Retrieves information about the view of a license profile.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.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.com.azure.core.http.rest.PagedIterable<LicenseProfile> The operation to get all license profiles of a non-Azure machine.com.azure.core.http.rest.PagedIterable<LicenseProfile> The operation to get all license profiles of a non-Azure machine.
-
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
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
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
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
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
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
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.
-