Interface VMHosts
public interface VMHosts
Resource collection API of VMHosts.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<VMResources>
List the vm resources currently being monitored by the Elastic monitor resource.com.azure.core.http.rest.PagedIterable<VMResources>
List the vm resources currently being monitored by the Elastic monitor resource.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<VMResources> list(String resourceGroupName, String monitorName) List the vm resources currently being monitored by the Elastic monitor resource.- Parameters:
resourceGroupName
- The name of the resource group to which the Elastic resource belongs.monitorName
- Monitor resource name.- Returns:
- response of a list operation 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<VMResources> list(String resourceGroupName, String monitorName, com.azure.core.util.Context context) List the vm resources currently being monitored by the Elastic monitor resource.- Parameters:
resourceGroupName
- The name of the resource group to which the Elastic resource belongs.monitorName
- Monitor resource name.context
- The context to associate with this operation.- Returns:
- response of a list operation 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.
-