FreeInstanceMetadata
import type { FreeInstanceMetadata } from "https://googleapis.deno.dev/v1/spanner:v1.ts";
Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.
interface FreeInstanceMetadata {
expireBehavior?: "EXPIRE_BEHAVIOR_UNSPECIFIED" | "FREE_TO_PROVISIONED" | "REMOVE_AFTER_GRACE_PERIOD";
readonly expireTime?: Date;
readonly upgradeTime?: Date;
}§Properties
§
expireBehavior?: "EXPIRE_BEHAVIOR_UNSPECIFIED" | "FREE_TO_PROVISIONED" | "REMOVE_AFTER_GRACE_PERIOD"
[src]Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during
or after creation, and before expiration.
§
readonly expireTime?: Date
[src]Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.