IWebAppsOperations.CreateOrUpdateWithHttpMessagesAsync 메서드

정의

기존 리소스 그룹에 새 웹, 모바일 또는 API 앱을 만들거나 기존 앱을 업데이트합니다.

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

매개 변수

resourceGroupName
String

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

name
String

만들거나 업데이트할 앱의 고유 이름입니다. 배포 슬롯을 만들거나 업데이트하려면 {slot} 매개 변수를 사용합니다.

siteEnvelope
SiteInner

앱 속성의 JSON 표현입니다. 예제를 참조하세요.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

설명

설명 기존 리소스 그룹에 새 웹, 모바일 또는 API 앱을 만들거나 기존 앱을 업데이트합니다.

적용 대상