// 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 SubAssessments Get. */
public final class SubAssessmentsGetSamples {
    /*
     * x-ms-original-file: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json
     */
    /**
     * Sample code: Get security recommendation task from security data location.
     *
     * @param manager Entry point to SecurityManager.
     */
    public static void getSecurityRecommendationTaskFromSecurityDataLocation(
        com.azure.resourcemanager.security.SecurityManager manager) {
        manager
            .subAssessments()
            .getWithResponse(
                "subscriptions/212f9889-769e-45ae-ab43-6da33674bd26/resourceGroups/DEMORG/providers/Microsoft.Compute/virtualMachines/vm2",
                "1195afff-c881-495e-9bc5-1486211ae03f",
                "95f7da9c-a2a4-1322-0758-fcd24ef09b85",
                com.azure.core.util.Context.NONE);
    }
}
