Interface LicenseProfilesClient
public interface LicenseProfilesClient
An instance of this class provides access to all the operations defined in LicenseProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>, LicenseProfileInner> beginCreateOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters) The operation to create or update a license profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>, LicenseProfileInner> beginCreateOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters, com.azure.core.util.Context context) The operation to create or update a license profile.beginDelete(String resourceGroupName, String machineName) The operation to delete a license profile.beginDelete(String resourceGroupName, String machineName, com.azure.core.util.Context context) The operation to delete a license profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>, LicenseProfileInner> beginUpdate(String resourceGroupName, String machineName, LicenseProfileUpdate parameters) The operation to update a license profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>, LicenseProfileInner> beginUpdate(String resourceGroupName, String machineName, LicenseProfileUpdate parameters, com.azure.core.util.Context context) The operation to update a license profile.createOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters) The operation to create or update a license profile.createOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters, com.azure.core.util.Context context) The operation to create or update a license profile.voidThe operation to delete a license profile.voidThe operation to delete a license profile.Retrieves information about the view of a license profile.com.azure.core.http.rest.Response<LicenseProfileInner> 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<LicenseProfileInner> The operation to get all license profiles of a non-Azure machine.com.azure.core.http.rest.PagedIterable<LicenseProfileInner> The operation to get all license profiles of a non-Azure machine.update(String resourceGroupName, String machineName, LicenseProfileUpdate parameters) The operation to update a license profile.update(String resourceGroupName, String machineName, LicenseProfileUpdate parameters, com.azure.core.util.Context context) The operation to update a license profile.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>,LicenseProfileInner> beginCreateOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters) The operation to create or update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Create or Update license profile operation.- Returns:
- the
SyncPollerfor polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>,LicenseProfileInner> beginCreateOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters, com.azure.core.util.Context context) The operation to create or update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Create or Update license profile operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of 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.
-
createOrUpdate
LicenseProfileInner createOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters) The operation to create or update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Create or Update license profile operation.- 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.
-
createOrUpdate
LicenseProfileInner createOrUpdate(String resourceGroupName, String machineName, LicenseProfileInner parameters, com.azure.core.util.Context context) The operation to create or update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Create or Update license profile operation.context- The context to associate with this operation.- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>,LicenseProfileInner> beginUpdate(String resourceGroupName, String machineName, LicenseProfileUpdate parameters) The operation to update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Update license profile operation.- Returns:
- the
SyncPollerfor polling of 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LicenseProfileInner>,LicenseProfileInner> beginUpdate(String resourceGroupName, String machineName, LicenseProfileUpdate parameters, com.azure.core.util.Context context) The operation to update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Update license profile operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of 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.
-
update
LicenseProfileInner update(String resourceGroupName, String machineName, LicenseProfileUpdate parameters) The operation to update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Update license profile operation.- 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.
-
update
LicenseProfileInner update(String resourceGroupName, String machineName, LicenseProfileUpdate parameters, com.azure.core.util.Context context) The operation to update a license profile.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.machineName- The name of the hybrid machine.parameters- Parameters supplied to the Update license profile operation.context- The context to associate with this operation.- 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.
-
getWithResponse
com.azure.core.http.rest.Response<LicenseProfileInner> 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPollerfor polling of long-running 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.
-
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.- 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<LicenseProfileInner> 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<LicenseProfileInner> 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.
-