Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Instance

import type { Instance } from "https://googleapis.deno.dev/v1/file:v1.ts";

A Filestore instance.

interface Instance {
readonly createTime?: Date;
description?: string;
etag?: string;
fileShares?: FileShareConfig[];
kmsKeyName?: string;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
networks?: NetworkConfig[];
readonly satisfiesPzi?: boolean;
readonly satisfiesPzs?: boolean;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "REPAIRING"
| "DELETING"
| "ERROR"
| "RESTORING"
| "SUSPENDED"
| "SUSPENDING"
| "RESUMING"
| "REVERTING";
readonly statusMessage?: string;
readonly suspensionReasons?: "SUSPENSION_REASON_UNSPECIFIED" | "KMS_KEY_ISSUE"[];
tier?:
| "TIER_UNSPECIFIED"
| "STANDARD"
| "PREMIUM"
| "BASIC_HDD"
| "BASIC_SSD"
| "HIGH_SCALE_SSD"
| "ENTERPRISE"
| "ZONAL"
| "REGIONAL";
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the instance was created.

§
description?: string
[src]

The description of the instance (2048 characters or less).

§
etag?: string
[src]

Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.

§
fileShares?: FileShareConfig[]
[src]

File system shares on the instance. For this version, only a single file share is supported.

§
kmsKeyName?: string
[src]

KMS key name used for data encryption.

§
labels?: {
[key: string]: string;
}
[src]

Resource labels to represent user provided metadata.

§
readonly name?: string
[src]

Output only. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}.

§
networks?: NetworkConfig[]
[src]

VPC networks to which the instance is connected. For this version, only a single network is supported.

§
readonly satisfiesPzi?: boolean
[src]

Output only. Reserved for future use.

§
readonly satisfiesPzs?: boolean
[src]

Output only. Reserved for future use.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "READY" | "REPAIRING" | "DELETING" | "ERROR" | "RESTORING" | "SUSPENDED" | "SUSPENDING" | "RESUMING" | "REVERTING"
[src]

Output only. The instance state.

§
readonly statusMessage?: string
[src]

Output only. Additional information about the instance state, if available.

§
readonly suspensionReasons?: "SUSPENSION_REASON_UNSPECIFIED" | "KMS_KEY_ISSUE"[]
[src]

Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.

§
tier?: "TIER_UNSPECIFIED" | "STANDARD" | "PREMIUM" | "BASIC_HDD" | "BASIC_SSD" | "HIGH_SCALE_SSD" | "ENTERPRISE" | "ZONAL" | "REGIONAL"
[src]

The service tier of the instance.