Share via


JobStepsOperationsExtensions.ListByVersionAsync Method

Definition

Gets all job steps in the specified job version.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.JobStepInner>> ListByVersionAsync (this Microsoft.Azure.Management.Sql.Fluent.IJobStepsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, int jobVersion, System.Threading.CancellationToken cancellationToken = default);
static member ListByVersionAsync : Microsoft.Azure.Management.Sql.Fluent.IJobStepsOperations * string * string * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.JobStepInner>>
<Extension()>
Public Function ListByVersionAsync (operations As IJobStepsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, jobName As String, jobVersion As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of JobStepInner))

Parameters

operations
IJobStepsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

jobAgentName
String

The name of the job agent.

jobName
String

The name of the job to get.

jobVersion
Int32

The version of the job to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to