instance_group_managers_managed_instances
Creates, updates, deletes, gets or lists a instance_group_managers_managed_instances
resource.
Overview
Name | instance_group_managers_managed_instances |
Type | Resource |
Id | google.compute.instance_group_managers_managed_instances |
Fields
Name | Datatype | Description |
---|---|---|
managedInstances | array | [Output Only] The list of instances in the managed instance group. |
nextPageToken | string | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_managed_instances | SELECT | instanceGroupManager, project, zone | Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The pageToken query parameter is supported only if the group's listManagedInstancesResults field is set to PAGINATED . |
SELECT
examples
Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The pageToken
query parameter is supported only if the group's listManagedInstancesResults
field is set to PAGINATED
.
SELECT
managedInstances,
nextPageToken
FROM google.compute.instance_group_managers_managed_instances
WHERE instanceGroupManager = '{{ instanceGroupManager }}'
AND project = '{{ project }}'
AND zone = '{{ zone }}';