// 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.generated;

/** Samples for MonitorOperation ListVMHosts. */
public final class MonitorOperationListVMHostsSamples {
    /*
     * x-ms-original-file: specification/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/examples/MainAccount_VMHosts_List.json
     */
    /**
     * Sample code: MainAccount_VMHosts_List.
     *
     * @param manager Entry point to LogzManager.
     */
    public static void mainAccountVMHostsList(com.azure.resourcemanager.logz.LogzManager manager) {
        manager.monitorOperations().listVMHosts("myResourceGroup", "myMonitor", com.azure.core.util.Context.NONE);
    }
}
