@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
76 lines (75 loc) • 2.21 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****",
* });
* ```
*/
export declare function getImageSharePermissions(args: GetImageSharePermissionsArgs, opts?: pulumi.InvokeOptions): Promise<GetImageSharePermissionsResult>;
/**
* A collection of arguments for invoking getImageSharePermissions.
*/
export interface GetImageSharePermissionsArgs {
/**
* The id of the image.
*/
imageId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getImageSharePermissions.
*/
export interface GetImageSharePermissionsResult {
/**
* The collection of query.
*/
readonly accounts: outputs.ecs.GetImageSharePermissionsAccount[];
/**
* 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****",
* });
* ```
*/
export declare function getImageSharePermissionsOutput(args: GetImageSharePermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetImageSharePermissionsResult>;
/**
* A collection of arguments for invoking getImageSharePermissions.
*/
export interface GetImageSharePermissionsOutputArgs {
/**
* The id of the image.
*/
imageId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}