Class Google::Cloud::Compute::V1::ManagedInstance (v0.5.0)

A Managed Instance resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#current_action

def current_action() -> ::String
Returns
  • (::String) — [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.

#current_action=

def current_action=(value) -> ::String
Parameter
  • value (::String) — [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.
Returns
  • (::String) — [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.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output only] The unique identifier for this resource. This field is empty when instance does not exist.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output only] The unique identifier for this resource. This field is empty when instance does not exist.
Returns
  • (::Integer) — [Output only] The unique identifier for this resource. This field is empty when instance does not exist.

#instance

def instance() -> ::String
Returns
  • (::String) — [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
Returns
  • (::String) — [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.

#instance_health

def instance_health() -> ::Array<::Google::Cloud::Compute::V1::ManagedInstanceInstanceHealth>
Returns

#instance_health=

def instance_health=(value) -> ::Array<::Google::Cloud::Compute::V1::ManagedInstanceInstanceHealth>
Parameter
Returns

#instance_status

def instance_status() -> ::String
Returns
  • (::String) — [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.

#instance_status=

def instance_status=(value) -> ::String
Parameter
  • value (::String) — [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.
Returns
  • (::String) — [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.

#last_attempt

def last_attempt() -> ::Google::Cloud::Compute::V1::ManagedInstanceLastAttempt
Returns

#last_attempt=

def last_attempt=(value) -> ::Google::Cloud::Compute::V1::ManagedInstanceLastAttempt
Parameter
Returns

#preserved_state_from_config

def preserved_state_from_config() -> ::Google::Cloud::Compute::V1::PreservedState
Returns

#preserved_state_from_config=

def preserved_state_from_config=(value) -> ::Google::Cloud::Compute::V1::PreservedState
Parameter
Returns

#preserved_state_from_policy

def preserved_state_from_policy() -> ::Google::Cloud::Compute::V1::PreservedState
Returns

#preserved_state_from_policy=

def preserved_state_from_policy=(value) -> ::Google::Cloud::Compute::V1::PreservedState
Parameter
Returns

#version

def version() -> ::Google::Cloud::Compute::V1::ManagedInstanceVersion
Returns

#version=

def version=(value) -> ::Google::Cloud::Compute::V1::ManagedInstanceVersion
Parameter
Returns