public class TargetPools.TargetPoolsClient : ClientBase<TargetPools.TargetPoolsClient>
Reference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsClient.
Client for TargetPools
Inheritance
object > ClientBase > ClientBaseTargetPoolsTargetPoolsClient > TargetPools.TargetPoolsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
TargetPoolsClient()
protected TargetPoolsClient()
Protected parameterless constructor to allow creation of test doubles.
TargetPoolsClient(CallInvoker)
public TargetPoolsClient(CallInvoker callInvoker)
Creates a new client for TargetPools that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
TargetPoolsClient(ChannelBase)
public TargetPoolsClient(ChannelBase channel)
Creates a new client for TargetPools
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
TargetPoolsClient(ClientBaseConfiguration)
protected TargetPoolsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
AddHealthCheck(AddHealthCheckTargetPoolRequest, CallOptions)
public virtual Operation AddHealthCheck(AddHealthCheckTargetPoolRequest request, CallOptions options)
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddHealthCheck(AddHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddHealthCheck(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddHealthCheckAsync(AddHealthCheckTargetPoolRequest request, CallOptions options)
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddHealthCheckAsync(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddInstance(AddInstanceTargetPoolRequest, CallOptions)
public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, CallOptions options)
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddInstance(AddInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddInstanceAsync(AddInstanceTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddInstanceAsync(AddInstanceTargetPoolRequest request, CallOptions options)
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddInstanceAsync(AddInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddInstanceAsync(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AggregatedList(AggregatedListTargetPoolsRequest, CallOptions)
public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, CallOptions options)
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolAggregatedList | The response received from the server. |
AggregatedList(AggregatedListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetPoolAggregatedList | The response received from the server. |
AggregatedListAsync(AggregatedListTargetPoolsRequest, CallOptions)
public virtual AsyncUnaryCall<TargetPoolAggregatedList> AggregatedListAsync(AggregatedListTargetPoolsRequest request, CallOptions options)
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolAggregatedList | The call object. |
AggregatedListAsync(AggregatedListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolAggregatedList> AggregatedListAsync(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolAggregatedList | The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteTargetPoolRequest, CallOptions)
public virtual Operation Delete(DeleteTargetPoolRequest request, CallOptions options)
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeleteTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetPoolRequest request, CallOptions options)
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
Get(GetTargetPoolRequest, CallOptions)
public virtual TargetPool Get(GetTargetPoolRequest request, CallOptions options)
Returns the specified target pool.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPool | The response received from the server. |
Get(GetTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetPool Get(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified target pool.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetPool | The response received from the server. |
GetAsync(GetTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<TargetPool> GetAsync(GetTargetPoolRequest request, CallOptions options)
Returns the specified target pool.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPool | The call object. |
GetAsync(GetTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetPool> GetAsync(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified target pool.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPool | The call object. |
GetHealth(GetHealthTargetPoolRequest, CallOptions)
public virtual TargetPoolInstanceHealth GetHealth(GetHealthTargetPoolRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolInstanceHealth | The response received from the server. |
GetHealth(GetHealthTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetPoolInstanceHealth GetHealth(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetPoolInstanceHealth | The response received from the server. |
GetHealthAsync(GetHealthTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<TargetPoolInstanceHealth> GetHealthAsync(GetHealthTargetPoolRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolInstanceHealth | The call object. |
GetHealthAsync(GetHealthTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolInstanceHealth> GetHealthAsync(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolInstanceHealth | The call object. |
Insert(InsertTargetPoolRequest, CallOptions)
public virtual Operation Insert(InsertTargetPoolRequest request, CallOptions options)
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetPoolRequest request, CallOptions options)
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
List(ListTargetPoolsRequest, CallOptions)
public virtual TargetPoolList List(ListTargetPoolsRequest request, CallOptions options)
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolList | The response received from the server. |
List(ListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetPoolList List(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetPoolList | The response received from the server. |
ListAsync(ListTargetPoolsRequest, CallOptions)
public virtual AsyncUnaryCall<TargetPoolList> ListAsync(ListTargetPoolsRequest request, CallOptions options)
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolList | The call object. |
ListAsync(ListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolList> ListAsync(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetPoolList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override TargetPools.TargetPoolsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TargetPoolsTargetPoolsClient |
RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, CallOptions)
public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, CallOptions options)
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest request, CallOptions options)
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveInstance(RemoveInstanceTargetPoolRequest, CallOptions)
public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, CallOptions options)
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveInstance(RemoveInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveInstanceAsync(RemoveInstanceTargetPoolRequest request, CallOptions options)
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveInstanceAsync(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetBackup(SetBackupTargetPoolRequest, CallOptions)
public virtual Operation SetBackup(SetBackupTargetPoolRequest request, CallOptions options)
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetBackup(SetBackupTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation SetBackup(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetBackupAsync(SetBackupTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetBackupAsync(SetBackupTargetPoolRequest request, CallOptions options)
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetBackupAsync(SetBackupTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetBackupAsync(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, CallOptions)
public virtual Operation SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |