import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the details of a specific share. */ export declare function getShare(args: GetShareArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetShareArgs { instanceId: string; location: string; project?: string; shareId: string; } export interface GetShareResult { /** * Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup. */ readonly backup: string; /** * File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0. */ readonly capacityGb: string; /** * The time when the share was created. */ readonly createTime: string; /** * A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected. */ readonly description: string; /** * Resource labels to represent user provided metadata. */ readonly labels: { [key: string]: string; }; /** * The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores. */ readonly mountName: string; /** * The resource name of the share, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}`. */ readonly name: string; /** * Nfs Export Options. There is a limit of 10 export options per file share. */ readonly nfsExportOptions: outputs.file.v1beta1.NfsExportOptionsResponse[]; /** * The share state. */ readonly state: string; } /** * Gets the details of a specific share. */ export declare function getShareOutput(args: GetShareOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetShareOutputArgs { instanceId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; shareId: pulumi.Input; }