Key |
Returned |
Description |
created_autoscaler
bool
|
When the creation of an Autoscaler was attempted. |
True if Autoscaler was attempted and created. False otherwise.
Sample:
True
|
created_instances
list
|
When instances are created. |
Names of instances created.
Sample:
['ansible-mig-new-0k4y', 'ansible-mig-new-0zk5', 'ansible-mig-new-kp68']
|
deleted_autoscaler
bool
|
When the delete of an Autoscaler was attempted. |
True if an Autoscaler delete attempted and succeeded. False returned if delete failed.
Sample:
True
|
deleted_instances
list
|
When instances are deleted. |
Names of instances deleted.
Sample:
['ansible-mig-new-0k4y', 'ansible-mig-new-0zk5', 'ansible-mig-new-kp68']
|
name
string
|
changed |
Name of the Managed Instance Group.
Sample:
my-managed-instance-group
|
named_ports
list
|
when named_ports are initially set or updated |
list of named ports acted upon
Sample:
[{'name': 'http', 'port': 80}, {'name': 'foo', 'port': 82}]
|
recreated_instances
list
|
When instances are recreated. |
Names of instances recreated.
Sample:
['ansible-mig-new-0k4y', 'ansible-mig-new-0zk5', 'ansible-mig-new-kp68']
|
resize_created_instances
list
|
When a resize results in the creation of instances. |
Names of instances created during resizing.
Sample:
['ansible-mig-new-0k4y', 'ansible-mig-new-0zk5', 'ansible-mig-new-kp68']
|
resize_deleted_instances
list
|
When a resize results in the deletion of instances. |
Names of instances deleted during resizing.
Sample:
['ansible-mig-new-0k4y', 'ansible-mig-new-0zk5', 'ansible-mig-new-kp68']
|
set_named_ports
bool
|
named_ports have been set |
True if the named_ports have been set
Sample:
True
|
size
int
|
changed |
Number of VMs in Managed Instance Group.
Sample:
4
|
template
string
|
changed |
Instance Template to use for VMs. Must exist prior to using with MIG.
Sample:
my-instance-template
|
updated_autoscaler
bool
|
When the update of an Autoscaler was attempted. |
True if an Autoscaler update was attempted and succeeded. False returned if update failed.
Sample:
True
|
updated_named_ports
bool
|
named_ports have been updated |
True if the named_ports have been updated
Sample:
True
|
zone
string
|
always |
Zone in which to launch MIG.
Sample:
us-central1-b
|