次の方法で共有


WebAppsOperationsExtensions.CreateOrUpdateVnetConnection メソッド

定義

アプリまたはスロット (PUT) にVirtual Network接続を追加するか、接続プロパティ (PATCH) を更新します。

public static Microsoft.Azure.Management.WebSites.Models.VnetInfoResource CreateOrUpdateVnetConnection(this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string vnetName, Microsoft.Azure.Management.WebSites.Models.VnetInfoResource connectionEnvelope);
static member CreateOrUpdateVnetConnection : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.VnetInfoResource -> Microsoft.Azure.Management.WebSites.Models.VnetInfoResource
<Extension()>
Public Function CreateOrUpdateVnetConnection (operations As IWebAppsOperations, resourceGroupName As String, name As String, vnetName As String, connectionEnvelope As VnetInfoResource) As VnetInfoResource

パラメーター

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

アプリの名前。

vnetName
String

既存のVirtual Networkの名前。

connectionEnvelope
VnetInfoResource

Virtual Network接続のプロパティ。 例を参照してください。

戻り値

注釈

説明: アプリまたはスロットへのVirtual Network接続 (PUT) を追加するか、接続プロパティ (PATCH) を更新します。

適用対象