Share via


SqlServerJobExecutionStepTargetCollection.GetAll Method

Definition

Overloads

GetAll(SqlServerJobExecutionStepTargetCollectionGetAllOptions, CancellationToken)

Lists the target executions of a job step execution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets
  • Operation Id: JobTargetExecutions_ListByStep
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobExecutionStepTargetResource
GetAll(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists the target executions of a job step execution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets
  • Operation Id: JobTargetExecutions_ListByStep

GetAll(SqlServerJobExecutionStepTargetCollectionGetAllOptions, CancellationToken)

Source:
SqlServerJobExecutionStepTargetCollection.cs
Source:
SqlServerJobExecutionStepTargetCollection.cs

Lists the target executions of a job step execution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets
  • Operation Id: JobTargetExecutions_ListByStep
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobExecutionStepTargetResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource> GetAll (Azure.ResourceManager.Sql.Models.SqlServerJobExecutionStepTargetCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.ResourceManager.Sql.Models.SqlServerJobExecutionStepTargetCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
override this.GetAll : Azure.ResourceManager.Sql.Models.SqlServerJobExecutionStepTargetCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
Public Overridable Function GetAll (options As SqlServerJobExecutionStepTargetCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerJobExecutionStepTargetResource)

Parameters

options
SqlServerJobExecutionStepTargetCollectionGetAllOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SqlServerJobExecutionStepTargetResource that may take multiple service requests to iterate over.

Applies to

GetAll(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Source:
SqlServerJobExecutionStepTargetCollection.cs
Source:
SqlServerJobExecutionStepTargetCollection.cs

Lists the target executions of a job step execution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions/{jobExecutionId}/steps/{stepName}/targets
  • Operation Id: JobTargetExecutions_ListByStep
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource> GetAll (DateTimeOffset? createTimeMin = default, DateTimeOffset? createTimeMax = default, DateTimeOffset? endTimeMin = default, DateTimeOffset? endTimeMax = default, bool? isActive = default, int? skip = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
override this.GetAll : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionStepTargetResource>
Public Overridable Function GetAll (Optional createTimeMin As Nullable(Of DateTimeOffset) = Nothing, Optional createTimeMax As Nullable(Of DateTimeOffset) = Nothing, Optional endTimeMin As Nullable(Of DateTimeOffset) = Nothing, Optional endTimeMax As Nullable(Of DateTimeOffset) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerJobExecutionStepTargetResource)

Parameters

createTimeMin
Nullable<DateTimeOffset>

If specified, only job executions created at or after the specified time are included.

createTimeMax
Nullable<DateTimeOffset>

If specified, only job executions created before the specified time are included.

endTimeMin
Nullable<DateTimeOffset>

If specified, only job executions completed at or after the specified time are included.

endTimeMax
Nullable<DateTimeOffset>

If specified, only job executions completed before the specified time are included.

isActive
Nullable<Boolean>

If specified, only active or only completed job executions are included.

skip
Nullable<Int32>

The number of elements in the collection to skip.

top
Nullable<Int32>

The number of elements to return from the collection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SqlServerJobExecutionStepTargetResource that may take multiple service requests to iterate over.

Applies to