"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.getSqlServerAvailabilityGroupDetailViewOutput = exports.getSqlServerAvailabilityGroupDetailView = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Retrieves detailed properties of the Availability Group.
 *
 * Uses Azure REST API version 2025-03-01-preview.
 *
 * Other available API versions: 2024-01-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurearcdata [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSqlServerAvailabilityGroupDetailView(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:azurearcdata:getSqlServerAvailabilityGroupDetailView", {
        "availabilityGroupName": args.availabilityGroupName,
        "resourceGroupName": args.resourceGroupName,
        "sqlServerInstanceName": args.sqlServerInstanceName,
    }, opts);
}
exports.getSqlServerAvailabilityGroupDetailView = getSqlServerAvailabilityGroupDetailView;
/**
 * Retrieves detailed properties of the Availability Group.
 *
 * Uses Azure REST API version 2025-03-01-preview.
 *
 * Other available API versions: 2024-01-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurearcdata [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSqlServerAvailabilityGroupDetailViewOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:azurearcdata:getSqlServerAvailabilityGroupDetailView", {
        "availabilityGroupName": args.availabilityGroupName,
        "resourceGroupName": args.resourceGroupName,
        "sqlServerInstanceName": args.sqlServerInstanceName,
    }, opts);
}
exports.getSqlServerAvailabilityGroupDetailViewOutput = getSqlServerAvailabilityGroupDetailViewOutput;
//# sourceMappingURL=data:application/json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