public class Compute.InstanceGroups
extends java.lang.Object
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 |
---|
Compute.InstanceGroups() |
Modifier and Type | Method and Description |
---|---|
Compute.InstanceGroups.AddInstances |
addInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsAddInstancesRequest content)
Adds a list of instances to an instance group.
|
Compute.InstanceGroups.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves the list of instance groups, and sorts them by zone.
|
Compute.InstanceGroups.Delete |
delete(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup)
Deletes the specified instance group.
|
Compute.InstanceGroups.Get |
get(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup)
Returns the specified instance group resource.
|
Compute.InstanceGroups.Insert |
insert(java.lang.String project,
java.lang.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(java.lang.String project,
java.lang.String zone)
Retrieves the list of instance groups that are located in the specified project and zone.
|
Compute.InstanceGroups.ListInstances |
listInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsListInstancesRequest content)
Lists instances in an instance group.
|
Compute.InstanceGroups.RemoveInstances |
removeInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsRemoveInstancesRequest content)
Removes a list of instances from an instance group.
|
Compute.InstanceGroups.SetNamedPorts |
setNamedPorts(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroup,
InstanceGroupsSetNamedPortsRequest content)
Sets the named ports in an instance group.
|
public Compute.InstanceGroups.AddInstances addInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup, InstanceGroupsAddInstancesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.instanceGroup
- The name of the instance group where you are adding instances.content
- the InstanceGroupsAddInstancesRequest
java.io.IOException
public Compute.InstanceGroups.AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.java.io.IOException
public Compute.InstanceGroups.Delete delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.instanceGroup
- The name of the instance group to delete.java.io.IOException
public Compute.InstanceGroups.Get get(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.instanceGroup
- The name of the instance group.java.io.IOException
public Compute.InstanceGroups.Insert insert(java.lang.String project, java.lang.String zone, InstanceGroup content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.content
- the InstanceGroup
java.io.IOException
public Compute.InstanceGroups.List list(java.lang.String project, java.lang.String zone) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.java.io.IOException
public Compute.InstanceGroups.ListInstances listInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup, InstanceGroupsListInstancesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL 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 InstanceGroupsListInstancesRequest
java.io.IOException
public Compute.InstanceGroups.RemoveInstances removeInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup, InstanceGroupsRemoveInstancesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL 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 InstanceGroupsRemoveInstancesRequest
java.io.IOException
public Compute.InstanceGroups.SetNamedPorts setNamedPorts(java.lang.String project, java.lang.String zone, java.lang.String instanceGroup, InstanceGroupsSetNamedPortsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.zone
- The URL of the zone where the instance group is located.instanceGroup
- The name of the instance group where the named ports are updated.content
- the InstanceGroupsSetNamedPortsRequest
java.io.IOException