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;
readonly customPerformanceSupported?: boolean;
deletionProtectionEnabled?: boolean;
deletionProtectionReason?: string;
description?: string;
etag?: string;
fileShares?: FileShareConfig[];
kmsKeyName?: string;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
networks?: NetworkConfig[];
performanceConfig?: PerformanceConfig;
readonly performanceLimits?: PerformanceLimits;
protocol?: "FILE_PROTOCOL_UNSPECIFIED" | "NFS_V3" | "NFS_V4_1";
replication?: Replication;
readonly satisfiesPzi?: boolean;
readonly satisfiesPzs?: boolean;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "REPAIRING"
| "DELETING"
| "ERROR"
| "RESTORING"
| "SUSPENDED"
| "SUSPENDING"
| "RESUMING"
| "REVERTING"
| "PROMOTING";
readonly statusMessage?: string;
readonly suspensionReasons?: "SUSPENSION_REASON_UNSPECIFIED" | "KMS_KEY_ISSUE"[];
tags?: {
[key: string]: string;
}
;
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.

§
readonly customPerformanceSupported?: boolean
[src]

Output only. Indicates whether this instance supports configuring its performance. If true, the user can configure the instance's performance by using the 'performance_config' field.

§
deletionProtectionEnabled?: boolean
[src]

Optional. Indicates whether the instance is protected against deletion.

§
deletionProtectionReason?: string
[src]

Optional. The reason for enabling deletion protection.

§
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.

§
performanceConfig?: PerformanceConfig
[src]

Optional. Used to configure performance.

§
readonly performanceLimits?: PerformanceLimits
[src]

Output only. Used for getting performance limits.

§
protocol?: "FILE_PROTOCOL_UNSPECIFIED" | "NFS_V3" | "NFS_V4_1"
[src]

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.

§
replication?: Replication
[src]

Optional. Replication configuration.

§
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" | "PROMOTING"
[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.

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

Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key

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

The service tier of the instance.