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

package com.azure.resourcemanager.subscription.generated;

/** Samples for SubscriptionOperation Cancel. */
public final class SubscriptionOperationCancelSamples {
    /*
     * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/examples/cancelSubscription.json
     */
    /**
     * Sample code: cancelSubscription.
     *
     * @param manager Entry point to SubscriptionManager.
     */
    public static void cancelSubscription(com.azure.resourcemanager.subscription.SubscriptionManager manager) {
        manager
            .subscriptionOperations()
            .cancelWithResponse("83aa47df-e3e9-49ff-877b-94304bf3d3ad", com.azure.core.util.Context.NONE);
    }
}
