IScriptExecutionsOperations.CreateOrUpdateWithHttpMessagesAsync 메서드

정의

프라이빗 클라우드에서 스크립트 실행 만들기 또는 업데이트

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.ScriptExecution>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string privateCloudName, string scriptExecutionName, Microsoft.Azure.Management.Avs.Models.ScriptExecution scriptExecution, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Avs.Models.ScriptExecution * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Avs.Models.ScriptExecution>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, scriptExecution As ScriptExecution, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ScriptExecution))

매개 변수

resourceGroupName
String

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

privateCloudName
String

프라이빗 클라우드의 이름입니다.

scriptExecutionName
String

사용자가 호출한 스크립트 실행 리소스의 이름

scriptExecution
ScriptExecution

프라이빗 클라우드에서 실행되는 스크립트

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

적용 대상