"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.autoSnapshotPoliciesOutput = exports.autoSnapshotPolicies = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of nas auto snapshot policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAutoSnapshotPolicy = new volcengine.nas.AutoSnapshotPolicy("fooAutoSnapshotPolicy", {
 *     autoSnapshotPolicyName: "acc-test-auto_snapshot_policy",
 *     repeatWeekdays: "1,3,5,7",
 *     timePoints: "0,7,17",
 *     retentionDays: 20,
 * });
 * const fooAutoSnapshotPolicies = volcengine.nas.getAutoSnapshotPoliciesOutput({
 *     autoSnapshotPolicyId: fooAutoSnapshotPolicy.id,
 * });
 * ```
 */
/** @deprecated volcengine.nas.AutoSnapshotPolicies has been deprecated in favor of volcengine.nas.getAutoSnapshotPolicies */
function autoSnapshotPolicies(args, opts) {
    pulumi.log.warn("autoSnapshotPolicies is deprecated: volcengine.nas.AutoSnapshotPolicies has been deprecated in favor of volcengine.nas.getAutoSnapshotPolicies");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:nas/autoSnapshotPolicies:AutoSnapshotPolicies", {
        "autoSnapshotPolicyId": args.autoSnapshotPolicyId,
        "autoSnapshotPolicyName": args.autoSnapshotPolicyName,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.autoSnapshotPolicies = autoSnapshotPolicies;
/**
 * Use this data source to query detailed information of nas auto snapshot policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAutoSnapshotPolicy = new volcengine.nas.AutoSnapshotPolicy("fooAutoSnapshotPolicy", {
 *     autoSnapshotPolicyName: "acc-test-auto_snapshot_policy",
 *     repeatWeekdays: "1,3,5,7",
 *     timePoints: "0,7,17",
 *     retentionDays: 20,
 * });
 * const fooAutoSnapshotPolicies = volcengine.nas.getAutoSnapshotPoliciesOutput({
 *     autoSnapshotPolicyId: fooAutoSnapshotPolicy.id,
 * });
 * ```
 */
/** @deprecated volcengine.nas.AutoSnapshotPolicies has been deprecated in favor of volcengine.nas.getAutoSnapshotPolicies */
function autoSnapshotPoliciesOutput(args, opts) {
    return pulumi.output(args).apply((a) => autoSnapshotPolicies(a, opts));
}
exports.autoSnapshotPoliciesOutput = autoSnapshotPoliciesOutput;
//# sourceMappingURL=autoSnapshotPolicies.js.map