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

package com.azure.resourcemanager.security.generated;

/** Samples for ServerVulnerabilityAssessment Get. */
public final class ServerVulnerabilityAssessmentGetSamples {
    /*
     * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json
     */
    /**
     * Sample code: Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security
     * only supports the single 'default' resource.
     *
     * @param manager Entry point to SecurityManager.
     */
    public static void
        getAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource(
            com.azure.resourcemanager.security.SecurityManager manager) {
        manager
            .serverVulnerabilityAssessments()
            .getWithResponse("rg1", "Microsoft.Compute", "virtualMachines", "vm1", com.azure.core.util.Context.NONE);
    }
}
