Interface VMCollections


public interface VMCollections
Resource collection API of VMCollections.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(String resourceGroupName, String monitorName)
    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

      void update(String resourceGroupName, String monitorName)
      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.