Compute Engine v1 API - Class ManagedInstance (2.15.0)

public sealed class ManagedInstance : IMessage<ManagedInstance>, IEquatable<ManagedInstance>, IDeepCloneable<ManagedInstance>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class ManagedInstance.

A Managed Instance resource.

Inheritance

object > ManagedInstance

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ManagedInstance()

public ManagedInstance()

ManagedInstance(ManagedInstance)

public ManagedInstance(ManagedInstance other)
Parameter
NameDescription
otherManagedInstance

Properties

CurrentAction

public string CurrentAction { get; set; }

[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's targetSize 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. Check the CurrentAction enum for the list of possible values.

Property Value
TypeDescription
string

HasCurrentAction

public bool HasCurrentAction { get; }

Gets whether the "current_action" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
TypeDescription
bool

HasInstanceStatus

public bool HasInstanceStatus { get; }

Gets whether the "instance_status" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

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

Property Value
TypeDescription
ulong

Instance

public string Instance { get; set; }

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

Property Value
TypeDescription
string

InstanceHealth

public RepeatedField<ManagedInstanceInstanceHealth> InstanceHealth { get; }

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

Property Value
TypeDescription
RepeatedFieldManagedInstanceInstanceHealth

InstanceStatus

public string InstanceStatus { get; set; }

[Output Only] The status of the instance. This field is empty when the instance does not exist. Check the InstanceStatus enum for the list of possible values.

Property Value
TypeDescription
string

LastAttempt

public ManagedInstanceLastAttempt LastAttempt { get; set; }

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

Property Value
TypeDescription
ManagedInstanceLastAttempt

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

PreservedStateFromConfig

public PreservedState PreservedStateFromConfig { get; set; }

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

Property Value
TypeDescription
PreservedState

PreservedStateFromPolicy

public PreservedState PreservedStateFromPolicy { get; set; }

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

Property Value
TypeDescription
PreservedState

Version

public ManagedInstanceVersion Version { get; set; }

[Output Only] Intended version of this instance.

Property Value
TypeDescription
ManagedInstanceVersion