"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.getThroughputPoolOutput = exports.getThroughputPool = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Retrieves the properties of an existing Azure Cosmos DB Throughput Pool
 *
 * Uses Azure REST API version 2024-12-01-preview.
 *
 * Other available API versions: 2023-11-15-preview, 2024-02-15-preview, 2024-05-15-preview, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cosmosdb [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getThroughputPool(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:cosmosdb:getThroughputPool", {
        "resourceGroupName": args.resourceGroupName,
        "throughputPoolName": args.throughputPoolName,
    }, opts);
}
exports.getThroughputPool = getThroughputPool;
/**
 * Retrieves the properties of an existing Azure Cosmos DB Throughput Pool
 *
 * Uses Azure REST API version 2024-12-01-preview.
 *
 * Other available API versions: 2023-11-15-preview, 2024-02-15-preview, 2024-05-15-preview, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cosmosdb [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getThroughputPoolOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:cosmosdb:getThroughputPool", {
        "resourceGroupName": args.resourceGroupName,
        "throughputPoolName": args.throughputPoolName,
    }, opts);
}
exports.getThroughputPoolOutput = getThroughputPoolOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VGhyb3VnaHB1dFBvb2wuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9jb3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