다음을 통해 공유


WebAppsOperationsExtensions.GetVnetConnectionSlotAsync 메서드

정의

앱(또는 배포 슬롯)이 이름으로 연결된 가상 네트워크를 가져옵니다.

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

매개 변수

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

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

vnetName
String

가상 네트워크의 이름입니다.

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API는 프로덕션 슬롯에 대해 명명된 가상 네트워크를 가져옵니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

설명 앱(또는 배포 슬롯)이 이름으로 연결된 가상 네트워크를 가져옵니다.

적용 대상