다음을 통해 공유


IInstructionsOperations.PutWithHttpMessagesAsync 메서드

정의

명령을 만들거나 업데이트합니다. 사용자 지정 청구 지침이며 특정 고객에게만 적용됩니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.Instruction>> PutWithHttpMessagesAsync (string billingAccountName, string billingProfileName, string instructionName, Microsoft.Azure.Management.Billing.Models.Instruction parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PutWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Billing.Models.Instruction * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.Instruction>>
Public Function PutWithHttpMessagesAsync (billingAccountName As String, billingProfileName As String, instructionName As String, parameters As Instruction, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Instruction))

매개 변수

billingAccountName
String

청구 계정을 고유하게 식별하는 ID입니다.

billingProfileName
String

청구 프로필을 고유하게 식별하는 ID입니다.

instructionName
String

명령 이름입니다.

parameters
Instruction

새 명령입니다.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

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

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

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

적용 대상