[BindServiceMethod(typeof(ClusterManager), "BindService")]
public abstract class ClusterManager.ClusterManagerBaseReference documentation and code samples for the Google Kubernetes Engine v1 API class ClusterManager.ClusterManagerBase.
Base class for server-side implementations of ClusterManager
Namespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Methods
CancelOperation(CancelOperationRequest, ServerCallContext)
public virtual Task<Empty> CancelOperation(CancelOperationRequest request, ServerCallContext context)Cancels the specified operation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelOperationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest, ServerCallContext)
public virtual Task<CheckAutopilotCompatibilityResponse> CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest request, ServerCallContext context)Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckAutopilotCompatibilityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckAutopilotCompatibilityResponse |
The response to send back to the client (wrapped by a task). |
CompleteIPRotation(CompleteIPRotationRequest, ServerCallContext)
public virtual Task<Operation> CompleteIPRotation(CompleteIPRotationRequest request, ServerCallContext context)Completes master IP rotation.
| Parameters | |
|---|---|
| Name | Description |
request |
CompleteIPRotationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest, ServerCallContext)
public virtual Task<Empty> CompleteNodePoolUpgrade(CompleteNodePoolUpgradeRequest request, ServerCallContext context)CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
| Parameters | |
|---|---|
| Name | Description |
request |
CompleteNodePoolUpgradeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
CreateCluster(CreateClusterRequest, ServerCallContext)
public virtual Task<Operation> CreateCluster(CreateClusterRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CreateNodePool(CreateNodePoolRequest, ServerCallContext)
public virtual Task<Operation> CreateNodePool(CreateNodePoolRequest request, ServerCallContext context)Creates a node pool for a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNodePoolRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeleteCluster(DeleteClusterRequest, ServerCallContext)
public virtual Task<Operation> DeleteCluster(DeleteClusterRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeleteNodePool(DeleteNodePoolRequest, ServerCallContext)
public virtual Task<Operation> DeleteNodePool(DeleteNodePoolRequest request, ServerCallContext context)Deletes a node pool from a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNodePoolRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
FetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest, ServerCallContext)
public virtual Task<ClusterUpgradeInfo> FetchClusterUpgradeInfo(FetchClusterUpgradeInfoRequest request, ServerCallContext context)Fetch upgrade information of a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchClusterUpgradeInfoRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskClusterUpgradeInfo |
The response to send back to the client (wrapped by a task). |
FetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest, ServerCallContext)
public virtual Task<NodePoolUpgradeInfo> FetchNodePoolUpgradeInfo(FetchNodePoolUpgradeInfoRequest request, ServerCallContext context)Fetch upgrade information of a specific nodepool.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchNodePoolUpgradeInfoRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskNodePoolUpgradeInfo |
The response to send back to the client (wrapped by a task). |
GetCluster(GetClusterRequest, ServerCallContext)
public virtual Task<Cluster> GetCluster(GetClusterRequest request, ServerCallContext context)Gets the details of a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCluster |
The response to send back to the client (wrapped by a task). |
GetJSONWebKeys(GetJSONWebKeysRequest, ServerCallContext)
public virtual Task<GetJSONWebKeysResponse> GetJSONWebKeys(GetJSONWebKeysRequest request, ServerCallContext context)Gets the public component of the cluster signing keys in JSON Web Key format.
| Parameters | |
|---|---|
| Name | Description |
request |
GetJSONWebKeysRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGetJSONWebKeysResponse |
The response to send back to the client (wrapped by a task). |
GetNodePool(GetNodePoolRequest, ServerCallContext)
public virtual Task<NodePool> GetNodePool(GetNodePoolRequest request, ServerCallContext context)Retrieves the requested node pool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNodePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskNodePool |
The response to send back to the client (wrapped by a task). |
GetOperation(GetOperationRequest, ServerCallContext)
public virtual Task<Operation> GetOperation(GetOperationRequest request, ServerCallContext context)Gets the specified operation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOperationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetServerConfig(GetServerConfigRequest, ServerCallContext)
public virtual Task<ServerConfig> GetServerConfig(GetServerConfigRequest request, ServerCallContext context)Returns configuration info about the Google Kubernetes Engine service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServerConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskServerConfig |
The response to send back to the client (wrapped by a task). |
ListClusters(ListClustersRequest, ServerCallContext)
public virtual Task<ListClustersResponse> ListClusters(ListClustersRequest request, ServerCallContext context)Lists all clusters owned by a project in either the specified zone or all zones.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClustersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListClustersResponse |
The response to send back to the client (wrapped by a task). |
ListNodePools(ListNodePoolsRequest, ServerCallContext)
public virtual Task<ListNodePoolsResponse> ListNodePools(ListNodePoolsRequest request, ServerCallContext context)Lists the node pools for a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNodePoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListNodePoolsResponse |
The response to send back to the client (wrapped by a task). |
ListOperations(ListOperationsRequest, ServerCallContext)
public virtual Task<ListOperationsResponse> ListOperations(ListOperationsRequest request, ServerCallContext context)Lists all operations in a project in a specific zone or all zones.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOperationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListOperationsResponse |
The response to send back to the client (wrapped by a task). |
ListUsableSubnetworks(ListUsableSubnetworksRequest, ServerCallContext)
public virtual Task<ListUsableSubnetworksResponse> ListUsableSubnetworks(ListUsableSubnetworksRequest request, ServerCallContext context)Lists subnetworks that are usable for creating clusters in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListUsableSubnetworksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListUsableSubnetworksResponse |
The response to send back to the client (wrapped by a task). |
RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest, ServerCallContext)
public virtual Task<Operation> RollbackNodePoolUpgrade(RollbackNodePoolUpgradeRequest request, ServerCallContext context)Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
| Parameters | |
|---|---|
| Name | Description |
request |
RollbackNodePoolUpgradeRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetAddonsConfig(SetAddonsConfigRequest, ServerCallContext)
public virtual Task<Operation> SetAddonsConfig(SetAddonsConfigRequest request, ServerCallContext context)Sets the addons for a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetAddonsConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetLabels(SetLabelsRequest, ServerCallContext)
public virtual Task<Operation> SetLabels(SetLabelsRequest request, ServerCallContext context)Sets labels on a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetLegacyAbac(SetLegacyAbacRequest, ServerCallContext)
public virtual Task<Operation> SetLegacyAbac(SetLegacyAbacRequest request, ServerCallContext context)Enables or disables the ABAC authorization mechanism on a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLegacyAbacRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetLocations(SetLocationsRequest, ServerCallContext)
[Obsolete]
public virtual Task<Operation> SetLocations(SetLocationsRequest request, ServerCallContext context)Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLocationsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetLoggingService(SetLoggingServiceRequest, ServerCallContext)
public virtual Task<Operation> SetLoggingService(SetLoggingServiceRequest request, ServerCallContext context)Sets the logging service for a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLoggingServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetMaintenancePolicy(SetMaintenancePolicyRequest, ServerCallContext)
public virtual Task<Operation> SetMaintenancePolicy(SetMaintenancePolicyRequest request, ServerCallContext context)Sets the maintenance policy for a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetMaintenancePolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetMasterAuth(SetMasterAuthRequest, ServerCallContext)
public virtual Task<Operation> SetMasterAuth(SetMasterAuthRequest request, ServerCallContext context)Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
| Parameters | |
|---|---|
| Name | Description |
request |
SetMasterAuthRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetMonitoringService(SetMonitoringServiceRequest, ServerCallContext)
public virtual Task<Operation> SetMonitoringService(SetMonitoringServiceRequest request, ServerCallContext context)Sets the monitoring service for a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetMonitoringServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetNetworkPolicy(SetNetworkPolicyRequest, ServerCallContext)
public virtual Task<Operation> SetNetworkPolicy(SetNetworkPolicyRequest request, ServerCallContext context)Enables or disables Network Policy for a cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
SetNetworkPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest, ServerCallContext)
public virtual Task<Operation> SetNodePoolAutoscaling(SetNodePoolAutoscalingRequest request, ServerCallContext context)Sets the autoscaling settings for the specified node pool.
| Parameters | |
|---|---|
| Name | Description |
request |
SetNodePoolAutoscalingRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetNodePoolManagement(SetNodePoolManagementRequest, ServerCallContext)
public virtual Task<Operation> SetNodePoolManagement(SetNodePoolManagementRequest request, ServerCallContext context)Sets the NodeManagement options for a node pool.
| Parameters | |
|---|---|
| Name | Description |
request |
SetNodePoolManagementRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetNodePoolSize(SetNodePoolSizeRequest, ServerCallContext)
public virtual Task<Operation> SetNodePoolSize(SetNodePoolSizeRequest request, ServerCallContext context)Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying [NodePool.locations][google.container.v1.NodePool.locations].
| Parameters | |
|---|---|
| Name | Description |
request |
SetNodePoolSizeRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
StartIPRotation(StartIPRotationRequest, ServerCallContext)
public virtual Task<Operation> StartIPRotation(StartIPRotationRequest request, ServerCallContext context)Starts master IP rotation.
| Parameters | |
|---|---|
| Name | Description |
request |
StartIPRotationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateCluster(UpdateClusterRequest, ServerCallContext)
public virtual Task<Operation> UpdateCluster(UpdateClusterRequest request, ServerCallContext context)Updates the settings of a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateClusterRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateMaster(UpdateMasterRequest, ServerCallContext)
public virtual Task<Operation> UpdateMaster(UpdateMasterRequest request, ServerCallContext context)Updates the master for a specific cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMasterRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateNodePool(UpdateNodePoolRequest, ServerCallContext)
public virtual Task<Operation> UpdateNodePool(UpdateNodePoolRequest request, ServerCallContext context)Updates the version and/or image type for the specified node pool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNodePoolRequestThe request received from the client. |
context |
ServerCallContextThe 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). |