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 |
class |
Compute.TargetPools.SetSecurityPolicy |
Constructor and Description |
---|
TargetPools() |
Modifier and Type | Method and Description |
---|---|
Compute.TargetPools.AddHealthCheck |
addHealthCheck(String project,
String region,
String targetPool,
TargetPoolsAddHealthCheckRequest content)
Adds health check URLs to a target pool.
|
Compute.TargetPools.AddInstance |
addInstance(String project,
String region,
String targetPool,
TargetPoolsAddInstanceRequest content)
Adds an instance to a target pool.
|
Compute.TargetPools.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of target pools.
|
Compute.TargetPools.Delete |
delete(String project,
String region,
String targetPool)
Deletes the specified target pool.
|
Compute.TargetPools.Get |
get(String project,
String region,
String targetPool)
Returns the specified target pool.
|
Compute.TargetPools.GetHealth |
getHealth(String project,
String region,
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(String project,
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(String project,
String region)
Retrieves a list of target pools available to the specified project and region.
|
Compute.TargetPools.RemoveHealthCheck |
removeHealthCheck(String project,
String region,
String targetPool,
TargetPoolsRemoveHealthCheckRequest content)
Removes health check URL from a target pool.
|
Compute.TargetPools.RemoveInstance |
removeInstance(String project,
String region,
String targetPool,
TargetPoolsRemoveInstanceRequest content)
Removes instance URL from a target pool.
|
Compute.TargetPools.SetBackup |
setBackup(String project,
String region,
String targetPool,
TargetReference content)
Changes a backup target pool's configurations.
|
Compute.TargetPools.SetSecurityPolicy |
setSecurityPolicy(String project,
String region,
String targetPool,
SecurityPolicyReference content)
Sets the Google Cloud Armor security policy for the specified target pool.
|
public Compute.TargetPools.AddHealthCheck addHealthCheck(String project, String region, String targetPool, TargetPoolsAddHealthCheckRequest content) throws 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
IOException
public Compute.TargetPools.AddInstance addInstance(String project, String region, String targetPool, TargetPoolsAddInstanceRequest content) throws 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
IOException
public Compute.TargetPools.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.IOException
public Compute.TargetPools.Delete delete(String project, String region, String targetPool) throws 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.IOException
public Compute.TargetPools.Get get(String project, String region, String targetPool) throws 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.IOException
public Compute.TargetPools.GetHealth getHealth(String project, String region, String targetPool, InstanceReference content) throws 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
IOException
public Compute.TargetPools.Insert insert(String project, String region, TargetPool content) throws 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
IOException
public Compute.TargetPools.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region scoping this request.IOException
public Compute.TargetPools.RemoveHealthCheck removeHealthCheck(String project, String region, String targetPool, TargetPoolsRemoveHealthCheckRequest content) throws 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
IOException
public Compute.TargetPools.RemoveInstance removeInstance(String project, String region, String targetPool, TargetPoolsRemoveInstanceRequest content) throws 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
IOException
public Compute.TargetPools.SetBackup setBackup(String project, String region, String targetPool, TargetReference content) throws 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
IOException
public Compute.TargetPools.SetSecurityPolicy setSecurityPolicy(String project, String region, String targetPool, SecurityPolicyReference content) throws 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 security policy should be set. The name should conform
to RFC1035.content
- the SecurityPolicyReference
IOException
Copyright © 2011–2025 Google. All rights reserved.