InstanceGroupManagersResourceApi class

Constructors

InstanceGroupManagersResourceApi(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

abandonInstances(InstanceGroupManagersAbandonInstancesRequest request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. [...]
aggregatedList(String project, { String filter int maxResults, String orderBy String pageToken String $fields }) → Future<InstanceGroupManagerAggregatedList>
Retrieves the list of managed instance groups and groups them by zone. [...]
delete(String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. [...]
deleteInstances(InstanceGroupManagersDeleteInstancesRequest request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. [...]
get(String project, { String zone, { String instanceGroupManager, { String $fields }) → Future<InstanceGroupManager>
Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request. [...]
insert(InstanceGroupManager request, String project, { String zone, { String requestId String $fields }) → Future<Operation>
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. [...]
list(String project, { String zone, { String filter int maxResults, String orderBy String pageToken String $fields }) → Future<InstanceGroupManagerList>
Retrieves a list of managed instance groups that are contained within the specified project and zone. [...]
listManagedInstances(String project, { String zone, { String instanceGroupManager, { String filter int maxResults, String orderBy String pageToken String $fields }) → Future<InstanceGroupManagersListManagedInstancesResponse>
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. [...]
patch(InstanceGroupManager request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. [...]
recreateInstances(InstanceGroupManagersRecreateInstancesRequest request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. [...]
resize(String project, String zone, String instanceGroupManager, int size, { String requestId String $fields }) → Future<Operation>
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. [...]
setInstanceTemplate(InstanceGroupManagersSetInstanceTemplateRequest request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them. [...]
setTargetPools(InstanceGroupManagersSetTargetPoolsRequest request, String project, { String zone, { String instanceGroupManager, { String requestId String $fields }) → Future<Operation>
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited