Freigeben über


WebSiteSlotResource.UpdateMetadataSlot Methode

Definition

Beschreibung für Ersetzt die Metadaten einer App.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata
  • Vorgang IdWebApps_UpdateMetadataSlot
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary> UpdateMetadataSlot (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary metadata, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMetadataSlot : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
override this.UpdateMetadataSlot : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
Public Overridable Function UpdateMetadataSlot (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: