IWebAppsOperations.CreateOrUpdateSourceControlSlotWithHttpMessagesAsync 메서드

정의

앱의 소스 제어 구성을 업데이트.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner>> CreateOrUpdateSourceControlSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner siteSourceControl, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateSourceControlSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner * string * 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.SiteSourceControlInner>>
Public Function CreateOrUpdateSourceControlSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, siteSourceControl As SiteSourceControlInner, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SiteSourceControlInner))

매개 변수

resourceGroupName
String

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

name
String

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

siteSourceControl
SiteSourceControlInner

SiteSourceControl 개체의 JSON 표현입니다. 예제를 참조하세요.

slot
String

배포 슬롯의 이름입니다. 슬롯을 지정하지 않으면 API는 프로덕션 슬롯에 대한 소스 제어 구성을 업데이트합니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

설명

앱의 소스 제어 구성을 업데이트 대한 설명입니다.

적용 대상