SqlServerJobVersionCollection Class

Definition

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

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

Constructors

SqlServerJobVersionCollection()

Initializes a new instance of the SqlServerJobVersionCollection 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

Exists(Int32, 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}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
ExistsAsync(Int32, 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}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
Get(Int32, CancellationToken)

Gets a job version.

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

Gets all versions of a job.

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

Gets all versions of a job.

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

Gets a job version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
GetIfExists(Int32, 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}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
GetIfExistsAsync(Int32, 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}/versions/{jobVersion}
  • Operation Id: JobVersions_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobVersionResource
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<SqlServerJobVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerJobVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to