public class ClusterManagerClient : ClientBase<ClusterManager.ClusterManagerClient>
Reference documentation and code samples for the Google Kubernetes Engine v1 API class ClusterManager.ClusterManagerClient.
Client for ClusterManager
Inheritance
Object > ClientBase > ClientBase<ClusterManager.ClusterManagerClient> > ClusterManager.ClusterManagerClientNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
ClusterManagerClient()
protected ClusterManagerClient()
Protected parameterless constructor to allow creation of test doubles.
ClusterManagerClient(CallInvoker)
public ClusterManagerClient(CallInvoker callInvoker)
Creates a new client for ClusterManager that uses a custom CallInvoker
.
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ClusterManagerClient(ChannelBase)
public ClusterManagerClient(ChannelBase channel)
Creates a new client for ClusterManager
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ClusterManagerClient(ClientBase.ClientBaseConfiguration)
protected ClusterManagerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CancelOperation(CancelOperationRequest, CallOptions)
public virtual Empty CancelOperation(CancelOperationRequest request, CallOptions options)
Cancels the specified operation.
Name | Description |
request | CancelOperationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Empty | The response received from the server. |
CancelOperation(CancelOperationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CancelOperation(CancelOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels the specified operation.
Name | Description |
request | CancelOperationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Empty | The response received from the server. |
CancelOperationAsync(CancelOperationRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CancelOperationAsync(CancelOperationRequest request, CallOptions options)
Cancels the specified operation.
Name | Description |
request | CancelOperationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CancelOperationAsync(CancelOperationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CancelOperationAsync(CancelOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Cancels the specified operation.
Name | Description |
request | CancelOperationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CompleteIPRotation(CompleteIPRotationRequest, CallOptions)
public virtual Operation CompleteIPRotation(CompleteIPRotationRequest request, CallOptions options)
Completes master IP rotation.
Name | Description |
request | CompleteIPRotationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Operation | The response received from the server. |
CompleteIPRotation(CompleteIPRotationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CompleteIPRotation(CompleteIPRotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Completes master IP rotation.
Name | Description |
request | CompleteIPRotationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Operation | The response received from the server. |
CompleteIPRotationAsync(CompleteIPRotationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CompleteIPRotationAsync(CompleteIPRotationRequest request, CallOptions options)
Completes master IP rotation.
Name | Description |
request | CompleteIPRotationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CompleteIPRotationAsync(CompleteIPRotationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CompleteIPRotationAsync(CompleteIPRotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Completes master IP rotation.
Name | Description |
request | CompleteIPRotationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest, CallOptions)
public virtual Empty CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, CallOptions options)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
Name | Description |
request | CompleteNodePoolUpgradeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Empty | The response received from the server. |
CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
Name | Description |
request | CompleteNodePoolUpgradeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Empty | The response received from the server. |
CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest request, CallOptions options)
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
Name | Description |
request | CompleteNodePoolUpgradeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> CompleteNodePoolUpgradeAsync(CompleteNodePoolUpgradeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
Name | Description |
request | CompleteNodePoolUpgradeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
CreateCluster(CreateClusterRequest, CallOptions)
public virtual Operation CreateCluster(CreateClusterRequest request, CallOptions options)
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.
By default, the cluster is created in the project's default network.
One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.
Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
Name | Description |
request | CreateClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Operation | The response received from the server. |
CreateCluster(CreateClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateCluster(CreateClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.
By default, the cluster is created in the project's default network.
One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.
Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
Name | Description |
request | CreateClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Operation | The response received from the server. |
CreateClusterAsync(CreateClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateClusterAsync(CreateClusterRequest request, CallOptions options)
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.
By default, the cluster is created in the project's default network.
One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.
Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
Name | Description |
request | CreateClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateClusterAsync(CreateClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateClusterAsync(CreateClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances.
By default, the cluster is created in the project's default network.
One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster.
Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
Name | Description |
request | CreateClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateNodePool(CreateNodePoolRequest, CallOptions)
public virtual Operation CreateNodePool(CreateNodePoolRequest request, CallOptions options)
Creates a node pool for a cluster.
Name | Description |
request | CreateNodePoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Operation | The response received from the server. |
CreateNodePool(CreateNodePoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateNodePool(CreateNodePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a node pool for a cluster.
Name | Description |
request | CreateNodePoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Operation | The response received from the server. |
CreateNodePoolAsync(CreateNodePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateNodePoolAsync(CreateNodePoolRequest request, CallOptions options)
Creates a node pool for a cluster.
Name | Description |
request | CreateNodePoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateNodePoolAsync(CreateNodePoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateNodePoolAsync(CreateNodePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a node pool for a cluster.
Name | Description |
request | CreateNodePoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteCluster(DeleteClusterRequest, CallOptions)
public virtual Operation DeleteCluster(DeleteClusterRequest request, CallOptions options)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
Name | Description |
request | DeleteClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Operation | The response received from the server. |
DeleteCluster(DeleteClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteCluster(DeleteClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
Name | Description |
request | DeleteClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Operation | The response received from the server. |
DeleteClusterAsync(DeleteClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteClusterAsync(DeleteClusterRequest request, CallOptions options)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
Name | Description |
request | DeleteClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteClusterAsync(DeleteClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteClusterAsync(DeleteClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
Firewalls and routes that were configured during cluster creation are also deleted.
Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
Name | Description |
request | DeleteClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteNodePool(DeleteNodePoolRequest, CallOptions)
public virtual Operation DeleteNodePool(DeleteNodePoolRequest request, CallOptions options)
Deletes a node pool from a cluster.
Name | Description |
request | DeleteNodePoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Operation | The response received from the server. |
DeleteNodePool(DeleteNodePoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteNodePool(DeleteNodePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a node pool from a cluster.
Name | Description |
request | DeleteNodePoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Operation | The response received from the server. |
DeleteNodePoolAsync(DeleteNodePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteNodePoolAsync(DeleteNodePoolRequest request, CallOptions options)
Deletes a node pool from a cluster.
Name | Description |
request | DeleteNodePoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteNodePoolAsync(DeleteNodePoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteNodePoolAsync(DeleteNodePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a node pool from a cluster.
Name | Description |
request | DeleteNodePoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetCluster(GetClusterRequest, CallOptions)
public virtual Cluster GetCluster(GetClusterRequest request, CallOptions options)
Gets the details of a specific cluster.
Name | Description |
request | GetClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
Cluster | The response received from the server. |
GetCluster(GetClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Cluster GetCluster(GetClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the details of a specific cluster.
Name | Description |
request | GetClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
Cluster | The response received from the server. |
GetClusterAsync(GetClusterRequest, CallOptions)
public virtual AsyncUnaryCall<Cluster> GetClusterAsync(GetClusterRequest request, CallOptions options)
Gets the details of a specific cluster.
Name | Description |
request | GetClusterRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<Cluster> | The call object. |
GetClusterAsync(GetClusterRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Cluster> GetClusterAsync(GetClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the details of a specific cluster.
Name | Description |
request | GetClusterRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<Cluster> | The call object. |
GetJSONWebKeys(GetJSONWebKeysRequest, CallOptions)
public virtual GetJSONWebKeysResponse GetJSONWebKeys(GetJSONWebKeysRequest request, CallOptions options)
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
Name | Description |
request | GetJSONWebKeysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
GetJSONWebKeysResponse | The response received from the server. |
GetJSONWebKeys(GetJSONWebKeysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual GetJSONWebKeysResponse GetJSONWebKeys(GetJSONWebKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
Name | Description |
request | GetJSONWebKeysRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
GetJSONWebKeysResponse | The response received from the server. |
GetJSONWebKeysAsync(GetJSONWebKeysRequest, CallOptions)
public virtual AsyncUnaryCall<GetJSONWebKeysResponse> GetJSONWebKeysAsync(GetJSONWebKeysRequest request, CallOptions options)
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
Name | Description |
request | GetJSONWebKeysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Type | Description |
AsyncUnaryCall<GetJSONWebKeysResponse> | The call object. |
GetJSONWebKeysAsync(GetJSONWebKeysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<GetJSONWebKeysResponse> GetJSONWebKeysAsync(GetJSONWebKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
Name | Description |
request | GetJSONWebKeysRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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. |
Type | Description |
AsyncUnaryCall<GetJSONWebKeysResponse> | The call object. |
GetNodePool(GetNodePoolRequest, CallOptions)
public virtual NodePool GetNodePool(GetNodePoolRequest request, CallOptions options)
Retrieves the requested node pool.
Name | Description |
request | GetNodePoolRequest The request to send to the server. |
options | CallOptions The options for the call. |