InstructionsOperationsExtensions.PutAsync Method

Definition

Creates or updates an instruction. These are custom billing instructions and are only applicable for certain customers.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Instruction> PutAsync (this Microsoft.Azure.Management.Billing.IInstructionsOperations operations, string billingAccountName, string billingProfileName, string instructionName, Microsoft.Azure.Management.Billing.Models.Instruction parameters, System.Threading.CancellationToken cancellationToken = default);
static member PutAsync : Microsoft.Azure.Management.Billing.IInstructionsOperations * string * string * string * Microsoft.Azure.Management.Billing.Models.Instruction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Instruction>
<Extension()>
Public Function PutAsync (operations As IInstructionsOperations, billingAccountName As String, billingProfileName As String, instructionName As String, parameters As Instruction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Instruction)

Parameters

operations
IInstructionsOperations

The operations group for this extension method.

billingAccountName
String

The ID that uniquely identifies a billing account.

billingProfileName
String

The ID that uniquely identifies a billing profile.

instructionName
String

Instruction Name.

parameters
Instruction

The new instruction.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to