InstructionsOperationsExtensions.GetAsync(IInstructionsOperations, String, String, String, CancellationToken) Method

Definition

Get the instruction by name. These are custom billing instructions and are only applicable for certain customers. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Instruction> GetAsync (this Microsoft.Azure.Management.Billing.IInstructionsOperations operations, string billingAccountName, string billingProfileName, string instructionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Billing.IInstructionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.Instruction>
<Extension()>
Public Function GetAsync (operations As IInstructionsOperations, billingAccountName As String, billingProfileName As String, instructionName As String, 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Instruction>

Applies to