import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the details of a specific instance. */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetInstanceArgs { instanceId: string; location: string; project?: string; } export interface GetInstanceResult { /** * The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB. */ readonly capacityGb: string; /** * The increase/decrease capacity step size. */ readonly capacityStepSizeGb: string; /** * The time when the instance was created. */ readonly createTime: string; /** * The description of the instance (2048 characters or less). */ readonly description: string; /** * Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1". */ readonly directoryServices: outputs.file.v1beta1.DirectoryServicesConfigResponse; /** * Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. */ readonly etag: string; /** * File system shares on the instance. For this version, only a single file share is supported. */ readonly fileShares: outputs.file.v1beta1.FileShareConfigResponse[]; /** * KMS key name used for data encryption. */ readonly kmsKeyName: string; /** * Resource labels to represent user provided metadata. */ readonly labels: { [key: string]: string; }; /** * The max capacity of the instance. */ readonly maxCapacityGb: string; /** * The max number of shares allowed. */ readonly maxShareCount: string; /** * Indicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all. File-shares are added, updated and removed through the separate file-share APIs. */ readonly multiShareEnabled: boolean; /** * The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. */ readonly name: string; /** * VPC networks to which the instance is connected. For this version, only a single network is supported. */ readonly networks: outputs.file.v1beta1.NetworkConfigResponse[]; /** * Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`. */ readonly protocol: string; /** * Reserved for future use. */ readonly satisfiesPzs: boolean; /** * The instance state. */ readonly state: string; /** * Additional information about the instance state, if available. */ readonly statusMessage: string; /** * Field indicates all the reasons the instance is in "SUSPENDED" state. */ readonly suspensionReasons: string[]; /** * The service tier of the instance. */ readonly tier: string; } /** * Gets the details of a specific instance. */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetInstanceOutputArgs { instanceId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }