public class Compute.TargetPools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Compute.TargetPools.AddHealthCheck |
class |
Compute.TargetPools.AddInstance |
class |
Compute.TargetPools.AggregatedList |
class |
Compute.TargetPools.Delete |
class |
Compute.TargetPools.Get |
class |
Compute.TargetPools.GetHealth |
class |
Compute.TargetPools.Insert |
class |
Compute.TargetPools.List |
class |
Compute.TargetPools.RemoveHealthCheck |
class |
Compute.TargetPools.RemoveInstance |
class |
Compute.TargetPools.SetBackup |
Constructor and Description |
---|
Compute.TargetPools() |
Modifier and Type | Method and Description |
---|---|
Compute.TargetPools.AddHealthCheck |
addHealthCheck(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsAddHealthCheckRequest content)
Adds health check URL to targetPool.
|
Compute.TargetPools.AddInstance |
addInstance(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsAddInstanceRequest content)
Adds instance url to targetPool.
|
Compute.TargetPools.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves the list of target pools grouped by scope.
|
Compute.TargetPools.Delete |
delete(java.lang.String project,
java.lang.String region,
java.lang.String targetPool)
Deletes the specified TargetPool resource.
|
Compute.TargetPools.Get |
get(java.lang.String project,
java.lang.String region,
java.lang.String targetPool)
Returns the specified TargetPool resource.
|
Compute.TargetPools.GetHealth |
getHealth(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
InstanceReference content)
Gets the most recent health check results for each IP for the given instance that is referenced
by given TargetPool.
|
Compute.TargetPools.Insert |
insert(java.lang.String project,
java.lang.String region,
TargetPool content)
Creates a TargetPool resource in the specified project and region using the data included in the
request.
|
Compute.TargetPools.List |
list(java.lang.String project,
java.lang.String region)
Retrieves the list of TargetPool resources available to the specified project and region.
|
Compute.TargetPools.RemoveHealthCheck |
removeHealthCheck(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsRemoveHealthCheckRequest content)
Removes health check URL from targetPool.
|
Compute.TargetPools.RemoveInstance |
removeInstance(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsRemoveInstanceRequest content)
Removes instance URL from targetPool.
|
Compute.TargetPools.SetBackup |
setBackup(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetReference content)
Changes backup pool configurations.
|
public Compute.TargetPools.AddHealthCheck addHealthCheck(java.lang.String project, java.lang.String region, java.lang.String targetPool, TargetPoolsAddHealthCheckRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to which health_check_url is to be added.content
- the TargetPoolsAddHealthCheckRequest
java.io.IOException
public Compute.TargetPools.AddInstance addInstance(java.lang.String project, java.lang.String region, java.lang.String targetPool, TargetPoolsAddInstanceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to which instance_url is to be added.content
- the TargetPoolsAddInstanceRequest
java.io.IOException
public Compute.TargetPools.AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.java.io.IOException
public Compute.TargetPools.Delete delete(java.lang.String project, java.lang.String region, java.lang.String targetPool) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to delete.java.io.IOException
public Compute.TargetPools.Get get(java.lang.String project, java.lang.String region, java.lang.String targetPool) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to return.java.io.IOException
public Compute.TargetPools.GetHealth getHealth(java.lang.String project, java.lang.String region, java.lang.String targetPool, InstanceReference content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to which the queried instance belongs.content
- the InstanceReference
java.io.IOException
public Compute.TargetPools.Insert insert(java.lang.String project, java.lang.String region, TargetPool content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.region
- Name of the region scoping this request.content
- the TargetPool
java.io.IOException
public Compute.TargetPools.List list(java.lang.String project, java.lang.String region) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.region
- Name of the region scoping this request.java.io.IOException
public Compute.TargetPools.RemoveHealthCheck removeHealthCheck(java.lang.String project, java.lang.String region, java.lang.String targetPool, TargetPoolsRemoveHealthCheckRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to which health_check_url is to be removed.content
- the TargetPoolsRemoveHealthCheckRequest
java.io.IOException
public Compute.TargetPools.RemoveInstance removeInstance(java.lang.String project, java.lang.String region, java.lang.String targetPool, TargetPoolsRemoveInstanceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to which instance_url is to be removed.content
- the TargetPoolsRemoveInstanceRequest
java.io.IOException
public Compute.TargetPools.SetBackup setBackup(java.lang.String project, java.lang.String region, java.lang.String targetPool, TargetReference content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource for which the backup is to be set.content
- the TargetReference
java.io.IOException