다음을 통해 공유


WebAppsOperationsExtensions.CreateOrUpdateVnetConnectionAsync 메서드

정의

앱 또는 슬롯(PUT)에 Virtual Network 연결을 추가하거나 연결 속성(PATCH)을 업데이트합니다.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.VnetInfoInner> CreateOrUpdateVnetConnectionAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string vnetName, Microsoft.Azure.Management.AppService.Fluent.Models.VnetInfoInner connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateVnetConnectionAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VnetInfoInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.VnetInfoInner>
<Extension()>
Public Function CreateOrUpdateVnetConnectionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, vnetName As String, connectionEnvelope As VnetInfoInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetInfoInner)

매개 변수

operations
IWebAppsOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

리소스가 속한 리소스 그룹의 이름입니다.

name
String

응용 프로그램의 이름입니다.

vnetName
String

기존 Virtual Network 이름입니다.

connectionEnvelope
VnetInfoInner

Virtual Network 연결의 속성입니다. 예제를 참조하세요.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

앱 또는 슬롯에 Virtual Network 연결을 추가하거나(PUT) 연결 속성(PATCH)을 업데이트하는 설명입니다.

적용 대상