IWebAppsOperations.CreateDeploymentSlotWithHttpMessagesAsync 메서드

정의

앱 또는 배포 슬롯에 대한 배포를 만듭니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.DeploymentInner>> CreateDeploymentSlotWithHttpMessagesAsync (string resourceGroupName, string name, string id, string slot, Microsoft.Azure.Management.AppService.Fluent.Models.DeploymentInner deployment, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateDeploymentSlotWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.DeploymentInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.DeploymentInner>>
Public Function CreateDeploymentSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, id As String, slot As String, deployment As DeploymentInner, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DeploymentInner))

매개 변수

resourceGroupName
String

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

name
String

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

id
String

기존 배포의 ID입니다.

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API는 프로덕션 슬롯에 대한 배포를 만듭니다.

deployment
DeploymentInner

배포 세부 정보.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

응답을 역직렬화할 수 없을 때 throw됨

필수 매개 변수가 null일 때 throw됨

설명

앱 또는 배포 슬롯에 대한 배포 만들기에 대한 설명입니다.

적용 대상