@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
77 lines (76 loc) • 2.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
*/
export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
/**
* A collection of arguments for invoking getInstance.
*/
export interface GetInstanceArgs {
/**
* The instance id of the Lustre instance.
*/
instanceId: string;
/**
* The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
*/
project?: string;
/**
* The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
*/
zone?: string;
}
/**
* A collection of values returned by getInstance.
*/
export interface GetInstanceResult {
readonly capacityGib: string;
readonly createTime: string;
readonly description: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly filesystem: string;
readonly gkeSupportEnabled: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly labels: {
[key: string]: string;
};
readonly location: string;
readonly mountPoint: string;
readonly name: string;
readonly network: string;
readonly perUnitStorageThroughput: string;
readonly project?: string;
readonly pulumiLabels: {
[key: string]: string;
};
readonly state: string;
readonly updateTime: string;
readonly zone?: string;
}
/**
* Use this data source to get information about a Lustre instance. For more information see the [API docs](https://cloud.google.com/filestore/docs/lustre/reference/rest/v1/projects.locations.instances).
*/
export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
/**
* A collection of arguments for invoking getInstance.
*/
export interface GetInstanceOutputArgs {
/**
* The instance id of the Lustre instance.
*/
instanceId: pulumi.Input<string>;
/**
* The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
/**
* The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
*/
zone?: pulumi.Input<string>;
}