次の方法で共有


WebAppsOperationsExtensions.CreateOrUpdateFunctionSecretAsync メソッド

定義

関数シークレットを追加または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.KeyInfo> CreateOrUpdateFunctionSecretAsync(this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, string keyName, Microsoft.Azure.Management.WebSites.Models.KeyInfo key, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateFunctionSecretAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * 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 CreateOrUpdateFunctionSecretAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, functionName As String, keyName As String, key As KeyInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KeyInfo)

パラメーター

operations
IWebAppsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソースが属しているリソース グループの名前。

name
String

サイト名。

functionName
String

関数の名前です。

keyName
String

キーの名前です。

key
KeyInfo

作成または更新するキー

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

関数シークレットの追加または更新に関する説明。

適用対象