Class: Google::Cloud::Compute::V1::ManagedInstance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

A Managed Instance resource.

Defined Under Namespace

Modules: CurrentAction, InstanceStatus

Instance Attribute Summary collapse

Instance Attribute Details

#current_action::String

Returns [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.



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#id::Integer

Returns [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.



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#instance::String

Returns [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.



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#instance_health::Array<::Google::Cloud::Compute::V1::ManagedInstanceInstanceHealth>

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

Returns:



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#instance_status::String

Returns [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.



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#last_attempt::Google::Cloud::Compute::V1::ManagedInstanceLastAttempt

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

Returns:



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#preserved_state_from_config::Google::Cloud::Compute::V1::PreservedState

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

Returns:



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#preserved_state_from_policy::Google::Cloud::Compute::V1::PreservedState

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

Returns:



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end

#version::Google::Cloud::Compute::V1::ManagedInstanceVersion

Returns [Output Only] Intended version of this instance.

Returns:



17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 17441

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [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.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # 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.
    ABANDONING = 388244813

    # 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 = 455564985

    # 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.
    CREATING_WITHOUT_RETRIES = 428843785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528602024

    # The managed instance group has not scheduled any actions for this instance.
    NONE = 2402104

    # The managed instance group is recreating this instance.
    RECREATING = 287278572

    # 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.
    REFRESHING = 163266343

    # The managed instance group is restarting this instance.
    RESTARTING = 320534387

    # The managed instance group is resuming this instance.
    RESUMING = 446856618

    # The managed instance group is starting this instance.
    STARTING = 488820800

    # The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
    VERIFYING = 16982185
  end

  # [Output Only] The status of the instance. This field is empty when the instance does not exist.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428935662

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

    # All required resources have been allocated and the instance is being started.
    STAGING = 431072283

    # The instance has stopped successfully.
    STOPPED = 444276141

    STOPPING = 350791796

    # The instance has suspended.
    SUSPENDED = 51223995

    SUSPENDING = 514206246

    # The instance has stopped (either by explicit action or underlying failure).
    TERMINATED = 250018339
  end
end