@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
78 lines (77 loc) • 2.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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 */
export declare function imageSharePermissions(args: ImageSharePermissionsArgs, opts?: pulumi.InvokeOptions): Promise<ImageSharePermissionsResult>;
/**
* A collection of arguments for invoking ImageSharePermissions.
*/
export interface ImageSharePermissionsArgs {
/**
* The id of the image.
*/
imageId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by ImageSharePermissions.
*/
export interface ImageSharePermissionsResult {
/**
* The collection of query.
*/
readonly accounts: outputs.ecs.ImageSharePermissionsAccount[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly imageId: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* 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 */
export declare function imageSharePermissionsOutput(args: ImageSharePermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ImageSharePermissionsResult>;
/**
* A collection of arguments for invoking ImageSharePermissions.
*/
export interface ImageSharePermissionsOutputArgs {
/**
* The id of the image.
*/
imageId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}