@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
91 lines • 3.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to get information about a Lustre instance. For more information see the [API docs](https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances).
*
* ## Example Usage
*/
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 accessRulesOptions: outputs.lustre.GetInstanceAccessRulesOption[];
readonly capacityGib: string;
readonly createTime: string;
readonly deletionPolicy: string;
readonly description: string;
readonly dynamicTierOptions: outputs.lustre.GetInstanceDynamicTierOption[];
readonly effectiveLabels: {
[]: string;
};
readonly filesystem: string;
readonly gkeSupportEnabled: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly kmsKey: string;
readonly labels: {
[]: string;
};
readonly location: string;
readonly maintenancePolicies: outputs.lustre.GetInstanceMaintenancePolicy[];
readonly mountPoint: string;
readonly name: string;
readonly network: string;
readonly perUnitStorageThroughput: string;
readonly placementPolicy: string;
readonly project?: string;
readonly pulumiLabels: {
[]: string;
};
readonly state: string;
readonly stateReason: string;
readonly uid: string;
readonly upcomingMaintenanceSchedules: outputs.lustre.GetInstanceUpcomingMaintenanceSchedule[];
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://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances).
*
* ## Example Usage
*/
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 | undefined>;
/**
* The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
*/
zone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getInstance.d.ts.map