StreamAnalyticsExtensions.GetStreamingJobs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetStreamingJobs(ResourceGroupResource) |
Gets a collection of StreamingJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStreamingJobs() instead. |
GetStreamingJobs(SubscriptionResource, String, CancellationToken) |
Lists all of the streaming jobs in the given subscription.
|
GetStreamingJobs(ResourceGroupResource)
- Source:
- StreamAnalyticsExtensions.cs
- Source:
- StreamAnalyticsExtensions.cs
Gets a collection of StreamingJobResources in the ResourceGroupResource. MockingTo mock this method, please mock GetStreamingJobs() instead.
public static Azure.ResourceManager.StreamAnalytics.StreamingJobCollection GetStreamingJobs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetStreamingJobs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.StreamAnalytics.StreamingJobCollection
<Extension()>
Public Function GetStreamingJobs (resourceGroupResource As ResourceGroupResource) As StreamingJobCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of StreamingJobResources and their operations over a StreamingJobResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetStreamingJobs(SubscriptionResource, String, CancellationToken)
- Source:
- StreamAnalyticsExtensions.cs
- Source:
- StreamAnalyticsExtensions.cs
Lists all of the streaming jobs in the given subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/streamingjobs
- Operation Id: StreamingJobs_List
public static Azure.Pageable<Azure.ResourceManager.StreamAnalytics.StreamingJobResource> GetStreamingJobs (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetStreamingJobs : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StreamAnalytics.StreamingJobResource>
<Extension()>
Public Function GetStreamingJobs (subscriptionResource As SubscriptionResource, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StreamingJobResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- expand
- String
The $expand OData query parameter. This is a comma-separated list of additional streaming job properties to include in the response, beyond the default set returned when this parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of StreamingJobResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.