| Modifier and Type | Class and Description |
|---|---|
class |
Compute.InstanceGroups.AddInstances |
class |
Compute.InstanceGroups.AggregatedList |
class |
Compute.InstanceGroups.Delete |
class |
Compute.InstanceGroups.Get |
class |
Compute.InstanceGroups.Insert |
class |
Compute.InstanceGroups.List |
class |
Compute.InstanceGroups.ListInstances |
class |
Compute.InstanceGroups.RemoveInstances |
class |
Compute.InstanceGroups.SetNamedPorts |
| Constructor and Description |
|---|
InstanceGroups() |
| Modifier and Type | Method and Description |
|---|---|
Compute.InstanceGroups.AddInstances |
addInstances(String project,
String zone,
String instanceGroup,
InstanceGroupsAddInstancesRequest content)
Adds a list of instances to the specified instance group.
|
Compute.InstanceGroups.AggregatedList |
aggregatedList(String project)
Retrieves the list of instance groups and sorts them by zone.
|
Compute.InstanceGroups.Delete |
delete(String project,
String zone,
String instanceGroup)
Deletes the specified instance group.
|
Compute.InstanceGroups.Get |
get(String project,
String zone,
String instanceGroup)
Returns the specified instance group.
|
Compute.InstanceGroups.Insert |
insert(String project,
String zone,
InstanceGroup content)
Creates an instance group in the specified project using the parameters that are included in the
request.
|
Compute.InstanceGroups.List |
list(String project,
String zone)
Retrieves the list of instance groups that are located in the specified project and zone.
|
Compute.InstanceGroups.ListInstances |
listInstances(String project,
String zone,
String instanceGroup,
InstanceGroupsListInstancesRequest content)
Lists the instances in the specified instance group.
|
Compute.InstanceGroups.RemoveInstances |
removeInstances(String project,
String zone,
String instanceGroup,
InstanceGroupsRemoveInstancesRequest content)
Removes one or more instances from the specified instance group, but does not delete those
instances.
|
Compute.InstanceGroups.SetNamedPorts |
setNamedPorts(String project,
String zone,
String instanceGroup,
InstanceGroupsSetNamedPortsRequest content)
Sets the named ports for the specified instance group.
|
public Compute.InstanceGroups.AddInstances addInstances(String project, String zone, String instanceGroup, InstanceGroupsAddInstancesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group where you are adding instances.content - the InstanceGroupsAddInstancesRequestIOExceptionpublic Compute.InstanceGroups.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.InstanceGroups.Delete delete(String project, String zone, String instanceGroup) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group to delete.IOExceptionpublic Compute.InstanceGroups.Get get(String project, String zone, String instanceGroup) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group.IOExceptionpublic Compute.InstanceGroups.Insert insert(String project, String zone, InstanceGroup content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where you want to create the instance group.content - the InstanceGroupIOExceptionpublic Compute.InstanceGroups.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.IOExceptionpublic Compute.InstanceGroups.ListInstances listInstances(String project, String zone, String instanceGroup, InstanceGroupsListInstancesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group from which you want to generate a list of included instances.content - the InstanceGroupsListInstancesRequestIOExceptionpublic Compute.InstanceGroups.RemoveInstances removeInstances(String project, String zone, String instanceGroup, InstanceGroupsRemoveInstancesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group where the specified instances will be removed.content - the InstanceGroupsRemoveInstancesRequestIOExceptionpublic Compute.InstanceGroups.SetNamedPorts setNamedPorts(String project, String zone, String instanceGroup, InstanceGroupsSetNamedPortsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone where the instance group is located.instanceGroup - The name of the instance group where the named ports are updated.content - the InstanceGroupsSetNamedPortsRequestIOExceptionCopyright © 2011–2019 Google. All rights reserved.