Interface VMCollectionsClient
public interface VMCollectionsClient
An instance of this class provides access to all the operations defined in VMCollectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Update the vm details that will be monitored by the Elastic monitor resource.com.azure.core.http.rest.Response<Void>
updateWithResponse
(String resourceGroupName, String monitorName, VMCollectionUpdate body, com.azure.core.util.Context context) Update the vm details that will be monitored by the Elastic monitor resource.
-
Method Details
-
updateWithResponse
com.azure.core.http.rest.Response<Void> updateWithResponse(String resourceGroupName, String monitorName, VMCollectionUpdate body, com.azure.core.util.Context context) Update the vm details that will be monitored by the Elastic monitor resource.- Parameters:
resourceGroupName
- The name of the resource group to which the Elastic resource belongs.monitorName
- Monitor resource name.body
- VM resource Id.context
- The context to associate with this operation.- Returns:
- the
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.
-
update
Update the vm details that will be monitored by the Elastic monitor resource.- Parameters:
resourceGroupName
- The name of the resource group to which the Elastic resource belongs.monitorName
- Monitor resource name.- 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.
-