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

package com.azure.resourcemanager.logic.generated;

/** Samples for Workflows Disable. */
public final class WorkflowsDisableSamples {
    /*
     * x-ms-original-file: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Disable.json
     */
    /**
     * Sample code: Disable a workflow.
     *
     * @param manager Entry point to LogicManager.
     */
    public static void disableAWorkflow(com.azure.resourcemanager.logic.LogicManager manager) {
        manager
            .workflows()
            .disableWithResponse("test-resource-group", "test-workflow", com.azure.core.util.Context.NONE);
    }
}
