Freigeben über


WebSiteResource.UpdateMetadata Methode

Definition

Beschreibung für Ersetzt die Metadaten einer App.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata
  • Vorgangs-IdWebApps_UpdateMetadata
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary> UpdateMetadata (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary metadata, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMetadata : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
override this.UpdateMetadata : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
Public Overridable Function UpdateMetadata (metadata As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceConfigurationDictionary)

Parameter

metadata
AppServiceConfigurationDictionary

Bearbeitete Metadaten der App oder des Bereitstellungsslots. Weitere Informationen sind im Beispiel enthalten.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

metadata ist NULL.

Gilt für: