"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.getSecurityPolicyOutput = exports.getSecurityPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets an existing security policy within a profile.
 *
 * Uses Azure REST API version 2025-06-01.
 *
 * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cdn [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSecurityPolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:cdn:getSecurityPolicy", {
        "profileName": args.profileName,
        "resourceGroupName": args.resourceGroupName,
        "securityPolicyName": args.securityPolicyName,
    }, opts);
}
exports.getSecurityPolicy = getSecurityPolicy;
/**
 * Gets an existing security policy within a profile.
 *
 * Uses Azure REST API version 2025-06-01.
 *
 * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cdn [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSecurityPolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:cdn:getSecurityPolicy", {
        "profileName": args.profileName,
        "resourceGroupName": args.resourceGroupName,
        "securityPolicyName": args.securityPolicyName,
    }, opts);
}
exports.getSecurityPolicyOutput = getSecurityPolicyOutput;
//# sourceMappingURL=data:application/json;base64,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