다음을 통해 공유


WebAppsOperationsExtensions.CreateOrUpdateVnetConnectionSlotAsync 메서드

정의

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

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

매개 변수

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

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

vnetName
String

기존 Virtual Network 이름입니다.

connectionEnvelope
VnetInfoInner

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

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API는 프로덕션 슬롯에 대한 연결을 추가하거나 업데이트합니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

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

적용 대상