次の方法で共有


WebSiteResource.UpdateMetadata メソッド

定義

[説明] アプリのメタデータを置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata
  • 操作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)

パラメーター

metadata
AppServiceConfigurationDictionary

アプリまたはデプロイ スロットのメタデータを編集しました。 例を参照してください。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

metadata が null です。

適用対象