Google Kubernetes Engine v1 API - Class ClusterManager.ClusterManagerBase (3.23.0)

[BindServiceMethod(typeof(ClusterManager), "BindService")]
public abstract class ClusterManager.ClusterManagerBase

Reference documentation and code samples for the Google Kubernetes Engine v1 API class ClusterManager.ClusterManagerBase.

Base class for server-side implementations of ClusterManager

Inheritance

object > ClusterManager.ClusterManagerBase

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Methods

CancelOperation(CancelOperationRequest, ServerCallContext)

public virtual Task<Empty> CancelOperation(CancelOperationRequest request, ServerCallContext context)

Cancels the specified operation.

Parameters
NameDescription
requestCancelOperationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCheckAutopilotCompatibilityRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCompleteIPRotationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCompleteNodePoolUpgradeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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
NameDescription
requestGetClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetJSONWebKeysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetOperationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetServerConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListClustersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListNodePoolsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListOperationsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListUsableSubnetworksRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestRollbackNodePoolUpgradeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetAddonsConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetLabelsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetLegacyAbacRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetLocationsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetLoggingServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetMaintenancePolicyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetMasterAuthRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetMonitoringServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetNetworkPolicyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetNodePoolAutoscalingRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetNodePoolManagementRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSetNodePoolSizeRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestStartIPRotationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateMasterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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