Freigeben über


KubeEnvironmentResource.UpdateAsync Methode

Definition

Beschreibung für Erstellt oder aktualisiert eine Kubernetes-Umgebung.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Vorgang IdKubeEnvironments_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.KubeEnvironmentResource>> UpdateAsync (Azure.ResourceManager.AppService.Models.KubeEnvironmentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.Models.KubeEnvironmentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.KubeEnvironmentResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.Models.KubeEnvironmentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.KubeEnvironmentResource>>
Public Overridable Function UpdateAsync (patch As KubeEnvironmentPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KubeEnvironmentResource))

Parameter

patch
KubeEnvironmentPatch

Konfigurationsdetails der Kubernetes-Umgebung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: