All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.logz.models.MonitorOperations Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.logz.models;

import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;

/**
 * Resource collection API of MonitorOperations.
 */
public interface MonitorOperations {
    /**
     * Returns the payload that needs to be passed in the request body for installing Logz.io agent on a VM.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of payload to be passed while installing VM agent along with {@link Response}.
     */
    Response vMHostPayloadWithResponse(String resourceGroupName, String monitorName,
        Context context);

    /**
     * Returns the payload that needs to be passed in the request body for installing Logz.io agent on a VM.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of payload to be passed while installing VM agent.
     */
    VMExtensionPayload vMHostPayload(String resourceGroupName, String monitorName);

    /**
     * Sending request to update the collection when Logz.io agent has been installed on a VM for a given monitor.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of a list VM Host Update Operation as paginated response with {@link PagedIterable}.
     */
    PagedIterable 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.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @param body Request body to update the collection for agent installed in the given monitor.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of a list VM Host Update Operation as paginated response with {@link PagedIterable}.
     */
    PagedIterable listVmHostUpdate(String resourceGroupName, String monitorName, VMHostUpdateRequest body,
        Context context);

    /**
     * List the compute resources currently being monitored by the Logz main account resource.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of a list VM Host Update Operation as paginated response with {@link PagedIterable}.
     */
    PagedIterable listVMHosts(String resourceGroupName, String monitorName);

    /**
     * List the compute resources currently being monitored by the Logz main account resource.
     * 
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param monitorName Monitor resource name.
     * @param context The context to associate with this operation.
     * @throws IllegalArgumentException thrown if parameters fail the validation.
     * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
     * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
     * @return response of a list VM Host Update Operation as paginated response with {@link PagedIterable}.
     */
    PagedIterable listVMHosts(String resourceGroupName, String monitorName, Context context);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy