"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.imageSharePermissionsOutput = exports.imageSharePermissions = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of image share permissions
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.ecs.getImageSharePermissions({
 *     imageId: "image-ydi2wozhozfu03z2****",
 * });
 * ```
 */
/** @deprecated volcengine.ecs.ImageSharePermissions has been deprecated in favor of volcengine.ecs.getImageSharePermissions */
function imageSharePermissions(args, opts) {
    pulumi.log.warn("imageSharePermissions is deprecated: volcengine.ecs.ImageSharePermissions has been deprecated in favor of volcengine.ecs.getImageSharePermissions");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ecs/imageSharePermissions:ImageSharePermissions", {
        "imageId": args.imageId,
        "outputFile": args.outputFile,
    }, opts);
}
exports.imageSharePermissions = imageSharePermissions;
/**
 * Use this data source to query detailed information of image share permissions
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.ecs.getImageSharePermissions({
 *     imageId: "image-ydi2wozhozfu03z2****",
 * });
 * ```
 */
/** @deprecated volcengine.ecs.ImageSharePermissions has been deprecated in favor of volcengine.ecs.getImageSharePermissions */
function imageSharePermissionsOutput(args, opts) {
    return pulumi.output(args).apply((a) => imageSharePermissions(a, opts));
}
exports.imageSharePermissionsOutput = imageSharePermissionsOutput;
//# sourceMappingURL=imageSharePermissions.js.map