共用方式為


WebAppsOperationsExtensions.UpdateMetadataSlot Method

Definition

Replaces the metadata of an app.

public static Microsoft.Azure.Management.WebSites.Models.StringDictionary UpdateMetadataSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.StringDictionary metadata, string slot);
static member UpdateMetadataSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.StringDictionary * string -> Microsoft.Azure.Management.WebSites.Models.StringDictionary
<Extension()>
Public Function UpdateMetadataSlot (operations As IWebAppsOperations, resourceGroupName As String, name As String, metadata As StringDictionary, slot As String) As StringDictionary

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

metadata
StringDictionary

Edited metadata of the app or deployment slot. See example.

slot
String

Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.

Returns

Remarks

Description for Replaces the metadata of an app.

Applies to