Delen via


HybridDataJobCollection Class

Definition

A class representing a collection of HybridDataJobResource and their operations. Each HybridDataJobResource in the collection will belong to the same instance of HybridDataJobDefinitionResource. To get a HybridDataJobCollection instance call the GetHybridDataJobs method from an instance of HybridDataJobDefinitionResource.

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

Constructors

HybridDataJobCollection()

Initializes a new instance of the HybridDataJobCollection class for mocking.

Methods

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs/{jobId}
  • Operation Id: Jobs_Get
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs/{jobId}
  • Operation Id: Jobs_Get
Get(String, String, CancellationToken)

This method gets a data manager job given the jobId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs/{jobId}
  • Operation Id: Jobs_Get
GetAll(String, CancellationToken)

This method gets all the jobs of a given job definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs
  • Operation Id: Jobs_ListByJobDefinition
GetAllAsync(String, CancellationToken)

This method gets all the jobs of a given job definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs
  • Operation Id: Jobs_ListByJobDefinition
GetAsync(String, String, CancellationToken)

This method gets a data manager job given the jobId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobDefinitions/{jobDefinitionName}/jobs/{jobId}
  • Operation Id: Jobs_Get

Explicit Interface Implementations

IAsyncEnumerable<HybridDataJobResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridDataJobResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to