Dela via


SqlServerJobStepCollection Class

Definition

A class representing a collection of SqlServerJobStepResource and their operations. Each SqlServerJobStepResource in the collection will belong to the same instance of SqlServerJobResource. To get a SqlServerJobStepCollection instance call the GetSqlServerJobSteps method from an instance of SqlServerJobResource.

public class SqlServerJobStepCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.SqlServerJobStepResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.SqlServerJobStepResource>
type SqlServerJobStepCollection = class
    inherit ArmCollection
    interface seq<SqlServerJobStepResource>
    interface IEnumerable
    interface IAsyncEnumerable<SqlServerJobStepResource>
Public Class SqlServerJobStepCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SqlServerJobStepResource), IEnumerable(Of SqlServerJobStepResource)
Inheritance
SqlServerJobStepCollection
Implements

Constructors

SqlServerJobStepCollection()

Initializes a new instance of the SqlServerJobStepCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SqlServerJobStepData, CancellationToken)

Creates or updates a job step. This will implicitly create a new job version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
CreateOrUpdateAsync(WaitUntil, String, SqlServerJobStepData, CancellationToken)

Creates or updates a job step. This will implicitly create a new job version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
Get(String, CancellationToken)

Gets a job step in a job's current version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
GetAll(CancellationToken)

Gets all job steps for a job's current version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps
  • Operation Id: JobSteps_ListByJob
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
GetAllAsync(CancellationToken)

Gets all job steps for a job's current version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps
  • Operation Id: JobSteps_ListByJob
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
GetAsync(String, CancellationToken)

Gets a job step in a job's current version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/steps/{stepName}
  • Operation Id: JobSteps_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobStepResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SqlServerJobStepResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerJobStepResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to