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

ManagedInstance

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

A Managed Instance resource.

interface ManagedInstance {
readonly currentAction?:
| "ABANDONING"
| "CREATING"
| "CREATING_WITHOUT_RETRIES"
| "DELETING"
| "NONE"
| "RECREATING"
| "REFRESHING"
| "RESTARTING"
| "RESUMING"
| "STARTING"
| "STOPPING"
| "SUSPENDING"
| "VERIFYING";
readonly id?: bigint;
readonly instance?: string;
readonly instanceHealth?: ManagedInstanceInstanceHealth[];
readonly instanceStatus?:
| "DEPROVISIONING"
| "PENDING"
| "PROVISIONING"
| "REPAIRING"
| "RUNNING"
| "STAGING"
| "STOPPED"
| "STOPPING"
| "SUSPENDED"
| "SUSPENDING"
| "TERMINATED";
readonly lastAttempt?: ManagedInstanceLastAttempt;
readonly name?: string;
readonly preservedStateFromConfig?: PreservedState;
readonly preservedStateFromPolicy?: PreservedState;
readonly propertiesFromFlexibilityPolicy?: ManagedInstancePropertiesFromFlexibilityPolicy;
readonly version?: ManagedInstanceVersion;
}

§Properties

§
readonly currentAction?: "ABANDONING" | "CREATING" | "CREATING_WITHOUT_RETRIES" | "DELETING" | "NONE" | "RECREATING" | "REFRESHING" | "RESTARTING" | "RESUMING" | "STARTING" | "STOPPING" | "SUSPENDING" | "VERIFYING"
[src]

Output only. [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group'stargetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.

  • VERIFYING The managed instance group has created the instance and it is in the process of being verified.
§
readonly id?: bigint
[src]

Output only. [Output only] The unique identifier for this resource. This field is empty when instance does not exist.

§
readonly instance?: string
[src]

Output only. [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.

§
readonly instanceHealth?: ManagedInstanceInstanceHealth[]
[src]

Output only. [Output Only] Health state of the instance per health-check.

§
readonly instanceStatus?: "DEPROVISIONING" | "PENDING" | "PROVISIONING" | "REPAIRING" | "RUNNING" | "STAGING" | "STOPPED" | "STOPPING" | "SUSPENDED" | "SUSPENDING" | "TERMINATED"
[src]

Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist.

§
readonly lastAttempt?: ManagedInstanceLastAttempt
[src]

Output only. [Output Only] Information about the last attempt to create or delete the instance.

§
readonly name?: string
[src]

Output only. [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.

§
readonly preservedStateFromConfig?: PreservedState
[src]

Output only. [Output Only] Preserved state applied from per-instance config for this instance.

§
readonly preservedStateFromPolicy?: PreservedState
[src]

Output only. [Output Only] Preserved state generated based on stateful policy for this instance.

§
readonly propertiesFromFlexibilityPolicy?: ManagedInstancePropertiesFromFlexibilityPolicy
[src]

Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.

§
readonly version?: ManagedInstanceVersion
[src]

Output only. [Output Only] Intended version of this instance.