InstanceGroupsResourceApi class

Constructors

InstanceGroupsResourceApi(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

addInstances(InstanceGroupsAddInstancesRequest request, String project, String zone, String instanceGroup, {String requestId, String $fields}) Future<Operation>
Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. [...]
aggregatedList(String project, {String filter, bool includeAllScopes, int maxResults, String orderBy, String pageToken, String $fields}) Future<InstanceGroupAggregatedList>
Retrieves the list of instance groups and sorts them by zone. [...]
delete(String project, String zone, String instanceGroup, {String requestId, String $fields}) Future<Operation>
Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. [...]
get(String project, String zone, String instanceGroup, {String $fields}) Future<InstanceGroup>
Returns the specified instance group. Gets a list of available instance groups by making a list() request. [...]
insert(InstanceGroup request, String project, String zone, {String requestId, String $fields}) Future<Operation>
Creates an instance group in the specified project using the parameters that are included in the request. [...]
list(String project, String zone, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) Future<InstanceGroupList>
Retrieves the list of instance groups that are located in the specified project and zone. [...]
listInstances(InstanceGroupsListInstancesRequest request, String project, String zone, String instanceGroup, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) Future<InstanceGroupsListInstances>
Lists the instances in the specified instance group. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeInstances(InstanceGroupsRemoveInstancesRequest request, String project, String zone, String instanceGroup, {String requestId, String $fields}) Future<Operation>
Removes one or more instances from the specified instance group, but does not delete those instances. [...]
setNamedPorts(InstanceGroupsSetNamedPortsRequest request, String project, String zone, String instanceGroup, {String requestId, String $fields}) Future<Operation>
Sets the named ports for the specified instance group. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited