次の方法で共有


WebAppsOperationsExtensions.CreateOrUpdateHostSecret メソッド

定義

ホスト レベルのシークレットを追加または更新します。

public static Microsoft.Azure.Management.WebSites.Models.KeyInfo CreateOrUpdateHostSecret (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string keyType, string keyName, Microsoft.Azure.Management.WebSites.Models.KeyInfo key);
static member CreateOrUpdateHostSecret : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.KeyInfo -> Microsoft.Azure.Management.WebSites.Models.KeyInfo
<Extension()>
Public Function CreateOrUpdateHostSecret (operations As IWebAppsOperations, resourceGroupName As String, name As String, keyType As String, keyName As String, key As KeyInfo) As KeyInfo

パラメーター

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

サイト名。

keyType
String

ホスト キーの種類。

keyName
String

キーの名前です。

key
KeyInfo

作成または更新するキー

戻り値

注釈

「ホスト レベル シークレットを追加または更新する」の説明。

適用対象