다음을 통해 공유


WebAppsOperationsExtensions.CopySlotSlotAsync 메서드

정의

배포 슬롯을 앱의 다른 배포 슬롯에 복사합니다.

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

매개 변수

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

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

copySlotEntity
CsmCopySlotEntity

원본 슬롯 구성을 재정의하기 위한 대상 슬롯 이름 및 사이트 구성 속성을 포함하는 JSON 개체입니다. 예제를 참조하세요.

slot
String

원본 슬롯의 이름입니다. 슬롯을 지정하지 않으면 프로덕션 슬롯이 원본 슬롯으로 사용됩니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

에 대한 설명 앱의 다른 배포 슬롯에 배포 슬롯을 복사합니다.

적용 대상