"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 ebs 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: volcengine.ebs.AutoSnapshotPolicy[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooAutoSnapshotPolicy.push(new volcengine.ebs.AutoSnapshotPolicy(`fooAutoSnapshotPolicy-${range.value}`, {
 *         autoSnapshotPolicyName: "acc-test-auto-snapshot-policy",
 *         timePoints: [
 *             "1",
 *             "5",
 *             "9",
 *         ],
 *         retentionDays: -1,
 *         repeatWeekdays: [
 *             "2",
 *             "6",
 *         ],
 *         projectName: "default",
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooAutoSnapshotPolicies = volcengine.ebs.getAutoSnapshotPoliciesOutput({
 *     ids: fooAutoSnapshotPolicy.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.ebs.AutoSnapshotPolicies has been deprecated in favor of volcengine.ebs.getAutoSnapshotPolicies */
function autoSnapshotPolicies(args, opts) {
    pulumi.log.warn("autoSnapshotPolicies is deprecated: volcengine.ebs.AutoSnapshotPolicies has been deprecated in favor of volcengine.ebs.getAutoSnapshotPolicies");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ebs/autoSnapshotPolicies:AutoSnapshotPolicies", {
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "tags": args.tags,
    }, opts);
}
exports.autoSnapshotPolicies = autoSnapshotPolicies;
/**
 * Use this data source to query detailed information of ebs 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: volcengine.ebs.AutoSnapshotPolicy[] = [];
 * for (const range = {value: 0}; range.value < 2; range.value++) {
 *     fooAutoSnapshotPolicy.push(new volcengine.ebs.AutoSnapshotPolicy(`fooAutoSnapshotPolicy-${range.value}`, {
 *         autoSnapshotPolicyName: "acc-test-auto-snapshot-policy",
 *         timePoints: [
 *             "1",
 *             "5",
 *             "9",
 *         ],
 *         retentionDays: -1,
 *         repeatWeekdays: [
 *             "2",
 *             "6",
 *         ],
 *         projectName: "default",
 *         tags: [{
 *             key: "k1",
 *             value: "v1",
 *         }],
 *     }));
 * }
 * const fooAutoSnapshotPolicies = volcengine.ebs.getAutoSnapshotPoliciesOutput({
 *     ids: fooAutoSnapshotPolicy.map(__item => __item.id),
 * });
 * ```
 */
/** @deprecated volcengine.ebs.AutoSnapshotPolicies has been deprecated in favor of volcengine.ebs.getAutoSnapshotPolicies */
function autoSnapshotPoliciesOutput(args, opts) {
    return pulumi.output(args).apply((a) => autoSnapshotPolicies(a, opts));
}
exports.autoSnapshotPoliciesOutput = autoSnapshotPoliciesOutput;
//# sourceMappingURL=autoSnapshotPolicies.js.map