Interface MonitorOperationsClient
public interface MonitorOperationsClient
An instance of this class provides access to all the operations defined in MonitorOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.
-
Method Details
-
vMHostPayloadWithResponse
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.- Returns:
- response of payload to be passed while installing VM agent 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.
-
vMHostPayload
Returns the payload that needs to be passed in the request body for installing Logz.io agent on a VM.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.- Returns:
- response of payload to be passed while installing VM agent.
- 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.
-
listVmHostUpdate
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.- Returns:
- response of a list VM Host Update 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.
-
listVmHostUpdate
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.- Parameters:
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.- Returns:
- response of a list VM Host Update 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.
-
listVMHosts
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.- Returns:
- response of a list VM Host Update 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.
-
listVMHosts
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.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.- Returns:
- response of a list VM Host Update 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.
-