public interface MonitorOperationsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.http.rest.PagedIterable<VMResourcesInner> |
listVMHosts(String resourceGroupName,
String monitorName)
List the compute resources currently being monitored by the Logz main account resource.
|
com.azure.core.http.rest.PagedIterable<VMResourcesInner> |
listVMHosts(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
List the compute resources currently being monitored by the Logz main account resource.
|
com.azure.core.http.rest.PagedIterable<VMResourcesInner> |
listVmHostUpdate(String resourceGroupName,
String monitorName)
Sending request to update the collection when Logz.io agent has been installed on a VM for a given monitor.
|
com.azure.core.http.rest.PagedIterable<VMResourcesInner> |
listVmHostUpdate(String resourceGroupName,
String monitorName,
VMHostUpdateRequest body,
com.azure.core.util.Context context)
Sending request to update the collection when Logz.io agent has been installed on a VM for a given monitor.
|
VMExtensionPayloadInner |
vMHostPayload(String resourceGroupName,
String monitorName)
Returns the payload that needs to be passed in the request body for installing Logz.io agent on a VM.
|
com.azure.core.http.rest.Response<VMExtensionPayloadInner> |
vMHostPayloadWithResponse(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
Returns the payload that needs to be passed in the request body for installing Logz.io agent on a VM.
|
VMExtensionPayloadInner vMHostPayload(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.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.com.azure.core.http.rest.Response<VMExtensionPayloadInner> vMHostPayloadWithResponse(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<VMResourcesInner> listVmHostUpdate(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.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.com.azure.core.http.rest.PagedIterable<VMResourcesInner> listVmHostUpdate(String resourceGroupName, String monitorName, VMHostUpdateRequest body, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.body
- Request body to update the collection for agent installed in the given monitor.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<VMResourcesInner> listVMHosts(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.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.com.azure.core.http.rest.PagedIterable<VMResourcesInner> listVMHosts(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.