Freigeben über


WebAppsOperationsExtensions.CreateOrUpdateFunctionSecretSlotAsync Methode

Definition

Hinzufügen oder Aktualisieren eines Funktionsgeheimnisses

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.KeyInfo> CreateOrUpdateFunctionSecretSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, string keyName, string slot, Microsoft.Azure.Management.WebSites.Models.KeyInfo key, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateFunctionSecretSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.KeyInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.KeyInfo>
<Extension()>
Public Function CreateOrUpdateFunctionSecretSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, functionName As String, keyName As String, slot As String, key As KeyInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KeyInfo)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Websitename.

functionName
String

Der Name der Funktion.

keyName
String

Der Name des Schlüssels.

slot
String

Name des Bereitstellungsslots.

key
KeyInfo

Der Schlüssel zum Erstellen oder Aktualisieren

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Hinzufügen oder Aktualisieren eines Funktionsgeheimnisses.

Gilt für: