#include <managed_instance.h>
A Managed Instance resource.
◆ ManagedInstance() [1/2]
google_compute_api::ManagedInstance::ManagedInstance |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ManagedInstance() [2/2]
google_compute_api::ManagedInstance::ManagedInstance |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ManagedInstance()
google_compute_api::ManagedInstance::~ManagedInstance |
( |
| ) |
|
|
virtual |
◆ clear_current_action()
void google_compute_api::ManagedInstance::clear_current_action |
( |
| ) |
|
|
inline |
Clears the 'currentAction
' attribute.
◆ clear_id()
void google_compute_api::ManagedInstance::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_instance()
void google_compute_api::ManagedInstance::clear_instance |
( |
| ) |
|
|
inline |
Clears the 'instance
' attribute.
◆ clear_instance_status()
void google_compute_api::ManagedInstance::clear_instance_status |
( |
| ) |
|
|
inline |
Clears the 'instanceStatus
' attribute.
◆ clear_last_attempt()
void google_compute_api::ManagedInstance::clear_last_attempt |
( |
| ) |
|
|
inline |
Clears the 'lastAttempt
' attribute.
◆ clear_version()
void google_compute_api::ManagedInstance::clear_version |
( |
| ) |
|
|
inline |
Clears the 'version
' attribute.
◆ get_current_action()
const StringPiece google_compute_api::ManagedInstance::get_current_action |
( |
| ) |
const |
|
inline |
Get the value of the 'currentAction
' attribute.
◆ get_id()
uint64 google_compute_api::ManagedInstance::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_instance()
const StringPiece google_compute_api::ManagedInstance::get_instance |
( |
| ) |
const |
|
inline |
Get the value of the 'instance
' attribute.
◆ get_instance_status()
const StringPiece google_compute_api::ManagedInstance::get_instance_status |
( |
| ) |
const |
|
inline |
Get the value of the 'instanceStatus
' attribute.
◆ get_last_attempt()
Get a reference to the value of the 'lastAttempt
' attribute.
◆ get_version()
Get a reference to the value of the 'version
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::ManagedInstance::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_current_action()
bool google_compute_api::ManagedInstance::has_current_action |
( |
| ) |
const |
|
inline |
Determine if the 'currentAction
' attribute was set.
- Returns
- true if the '
currentAction
' attribute was set.
◆ has_id()
bool google_compute_api::ManagedInstance::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_instance()
bool google_compute_api::ManagedInstance::has_instance |
( |
| ) |
const |
|
inline |
Determine if the 'instance
' attribute was set.
- Returns
- true if the '
instance
' attribute was set.
◆ has_instance_status()
bool google_compute_api::ManagedInstance::has_instance_status |
( |
| ) |
const |
|
inline |
Determine if the 'instanceStatus
' attribute was set.
- Returns
- true if the '
instanceStatus
' attribute was set.
◆ has_last_attempt()
bool google_compute_api::ManagedInstance::has_last_attempt |
( |
| ) |
const |
|
inline |
Determine if the 'lastAttempt
' attribute was set.
- Returns
- true if the '
lastAttempt
' attribute was set.
◆ has_version()
bool google_compute_api::ManagedInstance::has_version |
( |
| ) |
const |
|
inline |
Determine if the 'version
' attribute was set.
- Returns
- true if the '
version
' attribute was set.
◆ mutable_lastAttempt()
Gets a reference to a mutable value of the 'lastAttempt
' property.
[Output Only] Information about the last attempt to create or delete the instance.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_version()
Gets a reference to a mutable value of the 'version
' property.
[Output Only] Intended version of this instance.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_current_action()
void google_compute_api::ManagedInstance::set_current_action |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'currentAction
' attribute.
[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.
- Parameters
-
◆ set_id()
void google_compute_api::ManagedInstance::set_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'id
' attribute.
[Output only] The unique identifier for this resource. This field is empty when instance does not exist.
- Parameters
-
◆ set_instance()
void google_compute_api::ManagedInstance::set_instance |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instance
' attribute.
[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.
- Parameters
-
◆ set_instance_status()
void google_compute_api::ManagedInstance::set_instance_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instanceStatus
' attribute.
[Output Only] The status of the instance. This field is empty when the instance does not exist.
- Parameters
-
The documentation for this class was generated from the following files: