共用方式為


HybridDataServiceResource.GetJobsAsync(String, CancellationToken) Method

Definition

This method gets all the jobs of a data service type in a given resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataServices/{dataServiceName}/jobs
  • Operation Id: Jobs_ListByDataService
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridData.HybridDataJobResource> GetJobsAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJobsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridData.HybridDataJobResource>
override this.GetJobsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridData.HybridDataJobResource>
Public Overridable Function GetJobsAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HybridDataJobResource)

Parameters

filter
String

OData Filter options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of HybridDataJobResource that may take multiple service requests to iterate over.

Applies to