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.ApplyUpdatesToInstances |
class |
Compute.InstanceGroupManagers.CreateInstances |
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.Patch |
class |
Compute.InstanceGroupManagers.RecreateInstances |
class |
Compute.InstanceGroupManagers.Resize |
class |
Compute.InstanceGroupManagers.SetInstanceTemplate |
class |
Compute.InstanceGroupManagers.SetTargetPools |
Constructor and Description |
---|
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)
Flags the specified instances to be removed from the managed instance group.
|
Compute.InstanceGroupManagers.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves the list of managed instance groups and groups them by zone.
|
Compute.InstanceGroupManagers.ApplyUpdatesToInstances |
applyUpdatesToInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersApplyUpdatesRequest content)
Apply changes to selected instances on the managed instance group.
|
Compute.InstanceGroupManagers.CreateInstances |
createInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersCreateInstancesRequest content)
Creates instances with per-instance configs in this managed instance group.
|
Compute.InstanceGroupManagers.Delete |
delete(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager)
Deletes the specified managed instance group and all of the instances in that group.
|
Compute.InstanceGroupManagers.DeleteInstances |
deleteInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersDeleteInstancesRequest content)
Flags the specified instances in the managed instance group for immediate deletion.
|
Compute.InstanceGroupManagers.Get |
get(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager)
Returns all of the details about the specified managed instance group.
|
Compute.InstanceGroupManagers.Insert |
insert(java.lang.String project,
java.lang.String zone,
InstanceGroupManager content)
Creates a managed instance group using the information that you specify 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 all of the instances in the managed instance group.
|
Compute.InstanceGroupManagers.Patch |
patch(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManager content)
Updates a managed instance group using the information that you specify in the request.
|
Compute.InstanceGroupManagers.RecreateInstances |
recreateInstances(java.lang.String project,
java.lang.String zone,
java.lang.String instanceGroupManager,
InstanceGroupManagersRecreateInstancesRequest content)
Flags the specified instances in the managed instance group to be immediately recreated.
|
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 instances in this managed instance 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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.java.io.IOException
public Compute.InstanceGroupManagers.ApplyUpdatesToInstances applyUpdatesToInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersApplyUpdatesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.project
- Project ID for this request.zone
- The name of the zone where the managed instance group is located. Should conform to RFC1035.instanceGroupManager
- The name of the managed instance group, should conform to RFC1035.content
- the InstanceGroupManagersApplyUpdatesRequest
java.io.IOException
public Compute.InstanceGroupManagers.CreateInstances createInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManagersCreateInstancesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone where the managed instance group is located. It should conform to RFC1035.instanceGroupManager
- The name of the managed instance group. It should conform to RFC1035.content
- the InstanceGroupManagersCreateInstancesRequest
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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group 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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.zone
- The name of the zone where you want to create the managed instance group.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
- Project ID for this request.zone
- The name 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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.java.io.IOException
public Compute.InstanceGroupManagers.Patch patch(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, InstanceGroupManager content) throws java.io.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 managed instance group.instanceGroupManager
- The name of the instance group manager.content
- the InstanceGroupManager
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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.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
- Project ID for this request.zone
- The name of the zone where the managed instance group is located.instanceGroupManager
- The name of the managed instance group.content
- the InstanceGroupManagersSetTargetPoolsRequest
java.io.IOException