IWebAppsOperations.CreateOrUpdateHostNameBindingSlotWithHttpMessagesAsync 메서드

정의

앱에 대한 호스트 이름 바인딩을 만듭니다.

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

매개 변수

resourceGroupName
String

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

name
String

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

hostName
String

호스트 이름 바인딩의 호스트 이름입니다.

hostNameBinding
HostNameBindingInner

바인딩 세부 정보. HostNameBinding 개체의 JSON 표현입니다.

slot
String

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

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

응답을 역직렬화할 수 없는 경우 throw됨

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

설명

앱에 대한 호스트 이름 바인딩 만들기에 대한 설명입니다.

적용 대상