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

package com.azure.resourcemanager.automation.generated;

import com.azure.core.util.Context;
import com.azure.resourcemanager.automation.models.CountType;

/** Samples for NodeCountInformation Get. */
public final class NodeCountInformationGetSamples {
    /*
     * x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeConfigurationCounts.json
     */
    /**
     * Sample code: Get node's node configuration counts.
     *
     * @param manager Entry point to AutomationManager.
     */
    public static void getNodeSNodeConfigurationCounts(com.azure.resourcemanager.automation.AutomationManager manager) {
        manager
            .nodeCountInformations()
            .getWithResponse("rg", "myAutomationAccount33", CountType.NODECONFIGURATION, Context.NONE);
    }

    /*
     * x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeStatusCounts.json
     */
    /**
     * Sample code: Get node's status counts.
     *
     * @param manager Entry point to AutomationManager.
     */
    public static void getNodeSStatusCounts(com.azure.resourcemanager.automation.AutomationManager manager) {
        manager.nodeCountInformations().getWithResponse("rg", "myAutomationAccount33", CountType.STATUS, Context.NONE);
    }
}
