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

package com.azure.resourcemanager.videoanalyzer.generated;

import com.azure.core.util.Context;

/** Samples for OperationResults Get. */
public final class OperationResultsGetSamples {
    /*
     * x-ms-original-file: specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-result-by-id.json
     */
    /**
     * Sample code: Get status of private endpoint connection asynchronous operation.
     *
     * @param manager Entry point to VideoAnalyzerManager.
     */
    public static void getStatusOfPrivateEndpointConnectionAsynchronousOperation(
        com.azure.resourcemanager.videoanalyzer.VideoAnalyzerManager manager) {
        manager
            .operationResults()
            .getWithResponse(
                "contoso",
                "contososports",
                "6FBA62C4-99B5-4FF8-9826-FC4744A8864F",
                "10000000-0000-0000-0000-000000000000",
                Context.NONE);
    }
}
