Compartilhar via


NetworkCloudKubernetesClusterResource.RestartNode Method

Definition

Restart a targeted node of a Kubernetes cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/restartNode
  • Operation Id: KubernetesClusters_RestartNode
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudKubernetesClusterResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult> RestartNode (Azure.WaitUntil waitUntil, Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterRestartNodeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RestartNode : Azure.WaitUntil * Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterRestartNodeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult>
override this.RestartNode : Azure.WaitUntil * Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterRestartNodeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudOperationStatusResult>
Public Overridable Function RestartNode (waitUntil As WaitUntil, content As KubernetesClusterRestartNodeContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkCloudOperationStatusResult)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
KubernetesClusterRestartNodeContent

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to