public class Compute.InstanceGroupManagers
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Compute.InstanceGroupManagers.AbandonInstances |
class |
Compute.InstanceGroupManagers.AggregatedList |
class |
Compute.InstanceGroupManagers.Delete |
class |
Compute.InstanceGroupManagers.DeleteInstances |
class |
Compute.InstanceGroupManagers.Get |
class |
Compute.InstanceGroupManagers.Insert |
class |
Compute.InstanceGroupManagers.List |
class |
Compute.InstanceGroupManagers.ListManagedInstances |
class |
Compute.InstanceGroupManagers.RecreateInstances |
class |
Compute.InstanceGroupManagers.Resize |
class |
Compute.InstanceGroupManagers.SetInstanceTemplate |
class |
Compute.InstanceGroupManagers.SetTargetPools |
Constructor and Description |
---|
Compute.InstanceGroupManagers() |
Modifier and Type | Method and Description |
---|---|
Compute.InstanceGroupManagers.AbandonInstances |
abandonInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersAbandonInstancesRequest content)
Removes the specified instances from the managed instance group, and from any target pools where
they are a member.
|
Compute.InstanceGroupManagers.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves the list of managed instance groups, and groups them by project and zone.
|
Compute.InstanceGroupManagers.Delete |
delete(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager)
Deletes the specified managed instance group resource.
|
Compute.InstanceGroupManagers.DeleteInstances |
deleteInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersDeleteInstancesRequest content)
Deletes the specified instances.
|
Compute.InstanceGroupManagers.Get |
get(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager)
Returns the specified managed instance group resource.
|
Compute.InstanceGroupManagers.Insert |
insert(java.lang.String project,
java.lang.String zone,
InstanceGroupManager content)
Creates a managed instance group resource in the specified project using the data that is
included in the request.
|
Compute.InstanceGroupManagers.List |
list(java.lang.String project,
java.lang.String zone)
Retrieves a list of managed instance groups that are contained within the specified project and
zone.
|
Compute.InstanceGroupManagers.ListManagedInstances |
listManagedInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager)
Lists managed instances.
|
Compute.InstanceGroupManagers.RecreateInstances |
recreateInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersRecreateInstancesRequest content)
Recreates the specified instances.
|
Compute.InstanceGroupManagers.Resize |
resize(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
java.lang.Integer size)
Resizes the managed instance group.
|
Compute.InstanceGroupManagers.SetInstanceTemplate |
setInstanceTemplate(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersSetInstanceTemplateRequest content)
Specifies the instance template to use when creating new instances in this group.
|
Compute.InstanceGroupManagers.SetTargetPools |
setTargetPools(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersSetTargetPoolsRequest content)
Modifies the target pools to which all new instances in this group are assigned.
|
public Compute.InstanceGroupManagers.AbandonInstances abandonInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersAbandonInstancesRequest 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManagersAbandonInstancesRequest
java.io.IOException
public Compute.InstanceGroupManagers.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.InstanceGroupManagers.Delete delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager to delete.java.io.IOException
public Compute.InstanceGroupManagers.DeleteInstances deleteInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersDeleteInstancesRequest 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManagersDeleteInstancesRequest
java.io.IOException
public Compute.InstanceGroupManagers.Get get(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager resource.java.io.IOException
public Compute.InstanceGroupManagers.Insert insert(java.lang.String project, java.lang.String zone, InstanceGroupManager 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 managed instance group is located.content
- the InstanceGroupManager
java.io.IOException
public Compute.InstanceGroupManagers.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 managed instance group is located.java.io.IOException
public Compute.InstanceGroupManagers.ListManagedInstances listManagedInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) 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 managed instance group is located.instanceGroupManager
- The name of the managed instance group.java.io.IOException
public Compute.InstanceGroupManagers.RecreateInstances recreateInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersRecreateInstancesRequest 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManagersRecreateInstancesRequest
java.io.IOException
public Compute.InstanceGroupManagers.Resize resize(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, java.lang.Integer size) 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.size
- The number of running instances that the managed instance group should maintain at any given time.
The group automatically adds or removes instances to maintain the number of instances
specified by this parameter.java.io.IOException
public Compute.InstanceGroupManagers.SetInstanceTemplate setInstanceTemplate(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersSetInstanceTemplateRequest 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManagersSetInstanceTemplateRequest
java.io.IOException
public Compute.InstanceGroupManagers.SetTargetPools setTargetPools(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersSetTargetPoolsRequest 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 managed instance group is located.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManagersSetTargetPoolsRequest
java.io.IOException