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 URLs to a target pool.
|
Compute.TargetPools.AddInstance |
addInstance(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsAddInstanceRequest content)
Adds an instance to a target pool.
|
Compute.TargetPools.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves an aggregated list of target pools.
|
Compute.TargetPools.Delete |
delete(java.lang.String project,
java.lang.String region,
java.lang.String targetPool)
Deletes the specified target pool.
|
Compute.TargetPools.Get |
get(java.lang.String project,
java.lang.String region,
java.lang.String targetPool)
Returns the specified target pool.
|
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 instance that is referenced by the
given target pool.
|
Compute.TargetPools.Insert |
insert(java.lang.String project,
java.lang.String region,
TargetPool content)
Creates a target pool 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 a list of target pools 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 a target pool.
|
Compute.TargetPools.RemoveInstance |
removeInstance(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetPoolsRemoveInstanceRequest content)
Removes instance URL from a target pool.
|
Compute.TargetPools.SetBackup |
setBackup(java.lang.String project,
java.lang.String region,
java.lang.String targetPool,
TargetReference content)
Changes a backup target pool's 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
- Project ID for this request.region
- Name of the region scoping this request.targetPool
- Name of the target pool to add a health check to.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
- Project ID for this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to add instances to.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
- Project ID for 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
- Project ID for 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
- Project ID for 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
- Project ID for this request.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
- Project ID for 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
- Project ID for 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
- Project ID for this request.region
- Name of the region for this request.targetPool
- Name of the target pool to remove health checks from.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
- Project ID for this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to remove instances from.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
- Project ID for this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource to set a backup pool for.content
- the TargetReference
java.io.IOException