"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStartStopManagedInstanceScheduleOutput = exports.getStartStopManagedInstanceSchedule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets the managed instance's Start/Stop schedule.
 *
 * Uses Azure REST API version 2023-08-01.
 *
 * Other available API versions: 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native sql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getStartStopManagedInstanceSchedule(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:sql:getStartStopManagedInstanceSchedule", {
        "managedInstanceName": args.managedInstanceName,
        "resourceGroupName": args.resourceGroupName,
        "startStopScheduleName": args.startStopScheduleName,
    }, opts);
}
exports.getStartStopManagedInstanceSchedule = getStartStopManagedInstanceSchedule;
/**
 * Gets the managed instance's Start/Stop schedule.
 *
 * Uses Azure REST API version 2023-08-01.
 *
 * Other available API versions: 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native sql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getStartStopManagedInstanceScheduleOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:sql:getStartStopManagedInstanceSchedule", {
        "managedInstanceName": args.managedInstanceName,
        "resourceGroupName": args.resourceGroupName,
        "startStopScheduleName": args.startStopScheduleName,
    }, opts);
}
exports.getStartStopManag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