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

package com.azure.resourcemanager.vmwarecloudsimple.generated;

/** Samples for Operations Get. */
public final class OperationsGetSamples {
    /*
     * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json
     */
    /**
     * Sample code: GetFailedOperationResult.
     *
     * @param manager Entry point to VMwareCloudSimpleManager.
     */
    public static void getFailedOperationResult(
        com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager manager) {
        manager
            .operations()
            .getWithResponse(
                "westus2",
                "https://management.azure.com/",
                "d030bb3f-7d53-11e9-8e09-9a86872085ff",
                com.azure.core.util.Context.NONE);
    }

    /*
     * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json
     */
    /**
     * Sample code: GetOperationResult.
     *
     * @param manager Entry point to VMwareCloudSimpleManager.
     */
    public static void getOperationResult(
        com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager manager) {
        manager
            .operations()
            .getWithResponse(
                "westus2",
                "https://management.azure.com/",
                "f8e1c8f1-7d52-11e9-8e07-9a86872085ff",
                com.azure.core.util.Context.NONE);
    }
}
