Compute Engine v1 API - Class TargetPools.TargetPoolsBase (2.15.0)

[BindServiceMethod(typeof(TargetPools), "BindService")]
public abstract class TargetPools.TargetPoolsBase

Reference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsBase.

Base class for server-side implementations of TargetPools

Inheritance

object > TargetPools.TargetPoolsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AddHealthCheck(AddHealthCheckTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> AddHealthCheck(AddHealthCheckTargetPoolRequest request, ServerCallContext context)

Adds health check URLs to a target pool.

Parameters
Name Description
request AddHealthCheckTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

AddInstance(AddInstanceTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> AddInstance(AddInstanceTargetPoolRequest request, ServerCallContext context)

Adds an instance to a target pool.

Parameters
Name Description
request AddInstanceTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

AggregatedList(AggregatedListTargetPoolsRequest, ServerCallContext)

public virtual Task<TargetPoolAggregatedList> AggregatedList(AggregatedListTargetPoolsRequest request, ServerCallContext context)

Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetPoolsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTargetPoolAggregatedList

The response to send back to the client (wrapped by a task).

Delete(DeleteTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteTargetPoolRequest request, ServerCallContext context)

Deletes the specified target pool.

Parameters
Name Description
request DeleteTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetTargetPoolRequest, ServerCallContext)

public virtual Task<TargetPool> Get(GetTargetPoolRequest request, ServerCallContext context)

Returns the specified target pool.

Parameters
Name Description
request GetTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTargetPool

The response to send back to the client (wrapped by a task).

GetHealth(GetHealthTargetPoolRequest, ServerCallContext)

public virtual Task<TargetPoolInstanceHealth> GetHealth(GetHealthTargetPoolRequest request, ServerCallContext context)

Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.

Parameters
Name Description
request GetHealthTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTargetPoolInstanceHealth

The response to send back to the client (wrapped by a task).

Insert(InsertTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertTargetPoolRequest request, ServerCallContext context)

Creates a target pool in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListTargetPoolsRequest, ServerCallContext)

public virtual Task<TargetPoolList> List(ListTargetPoolsRequest request, ServerCallContext context)

Retrieves a list of target pools available to the specified project and region.

Parameters
Name Description
request ListTargetPoolsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTargetPoolList

The response to send back to the client (wrapped by a task).

RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, ServerCallContext context)

Removes health check URL from a target pool.

Parameters
Name Description
request RemoveHealthCheckTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

RemoveInstance(RemoveInstanceTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> RemoveInstance(RemoveInstanceTargetPoolRequest request, ServerCallContext context)

Removes instance URL from a target pool.

Parameters
Name Description
request RemoveInstanceTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

SetBackup(SetBackupTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> SetBackup(SetBackupTargetPoolRequest request, ServerCallContext context)

Changes a backup target pool's configurations.

Parameters
Name Description
request SetBackupTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, ServerCallContext context)

Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview

Parameters
Name Description
request SetSecurityPolicyTargetPoolRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).