"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.listWorkspacePolicyFragmentReferencesOutput = exports.listWorkspacePolicyFragmentReferences = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Lists policy resources that reference the policy fragment.
 *
 * Uses Azure REST API version 2022-09-01-preview.
 *
 * Other available API versions: 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native apimanagement [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function listWorkspacePolicyFragmentReferences(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:apimanagement:listWorkspacePolicyFragmentReferences", {
        "id": args.id,
        "resourceGroupName": args.resourceGroupName,
        "serviceName": args.serviceName,
        "skip": args.skip,
        "top": args.top,
        "workspaceId": args.workspaceId,
    }, opts);
}
exports.listWorkspacePolicyFragmentReferences = listWorkspacePolicyFragmentReferences;
/**
 * Lists policy resources that reference the policy fragment.
 *
 * Uses Azure REST API version 2022-09-01-preview.
 *
 * Other available API versions: 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native apimanagement [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function listWorkspacePolicyFragmentReferencesOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:apimanagement:listWorkspacePolicyFragmentReferences", {
        "id": args.id,
        "resourceGroupName": args.resourceGroupName,
        "serviceName": args.serviceName,
        "skip": args.skip,
        "top": args.top,
        "workspaceId": args.workspaceId,
    }, opts);
}
exports.listWorkspacePolicyFragmentReferencesOutput = listWorkspacePolicyFragmentReferencesOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdFdvcmtzcGFjZVBvbGljeUZyYWdtZW50UmVmZXJlbmNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2FwaW1hbmFnZW1lbnQvbGlzdFdvcmtzcGFjZVBvbGljeUZyYWdtZW50UmVmZXJlbmNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6QywwQ0FBMEM7QUFFMUM7Ozs7OztHQU1HO0FBQ0gsU0FBZ0IscUNBQXFDLENBQUMsSUFBK0MsRUFBRSxJQUEyQjtJQUM5SCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxrRUFBa0UsRUFBRTtRQUM3RixJQUFJLEVBQUUsSUFBSSxDQUFDLEVBQUU7UUFDYixtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGFBQWEsRUFBRSxJQUFJLENBQUMsV0FBVztRQUMvQixNQUFNLEVBQUUsSUFBSSxDQUFDLElBQUk7UUFDakIsS0FBSyxFQUFFLElBQUksQ0FBQyxHQUFHO1FBQ2YsYUFBYSxFQUFFLElBQUksQ0FBQyxXQUFXO0tBQ2xDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBVkQsc0ZBVUM7QUE4Q0Q7Ozs7OztHQU1HO0FBQ0gsU0FBZ0IsMkNBQTJDLENBQUMsSUFBcUQsRUFBRSxJQU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