[BindServiceMethod(typeof(TargetPools), "BindService")]
public abstract class TargetPoolsBase
Reference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsBase.
Base class for server-side implementations of TargetPools
Namespace
Google.Cloud.Compute.V1Assembly
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 |
Task<Operation> | 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 |
Task<Operation> | 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.
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 |
Task<TargetPoolAggregatedList> | 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 |
Task<Operation> | 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. Gets a list of available target pools by making a list() request.
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 |
Task<TargetPool> | 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 |
Task<TargetPoolInstanceHealth> | 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 |
Task<Operation> | 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 |
Task<TargetPoolList> | 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 |
Task<Operation> | 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 |
Task<Operation> | 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 |
Task<Operation> | The response to send back to the client (wrapped by a task). |