MonitorExtensions.GetPipelineGroups 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
GetPipelineGroups(SubscriptionResource, CancellationToken) |
Lists all workspaces in the specified subscription
|
GetPipelineGroups(ResourceGroupResource) |
Gets a collection of PipelineGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPipelineGroups() instead. |
GetPipelineGroups(SubscriptionResource, CancellationToken)
- Source:
- MonitorExtensions.cs
Lists all workspaces in the specified subscription
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Monitor/pipelineGroups
- Operation Id: PipelineGroups_ListBySubscription
- Default Api Version: 2023-10-01-preview
- Resource: PipelineGroupResource
public static Azure.Pageable<Azure.ResourceManager.Monitor.PipelineGroupResource> GetPipelineGroups (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetPipelineGroups : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.PipelineGroupResource>
<Extension()>
Public Function GetPipelineGroups (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PipelineGroupResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of PipelineGroupResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
GetPipelineGroups(ResourceGroupResource)
- Source:
- MonitorExtensions.cs
Gets a collection of PipelineGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPipelineGroups() instead.
public static Azure.ResourceManager.Monitor.PipelineGroupCollection GetPipelineGroups (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetPipelineGroups : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Monitor.PipelineGroupCollection
<Extension()>
Public Function GetPipelineGroups (resourceGroupResource As ResourceGroupResource) As PipelineGroupCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of PipelineGroupResources and their operations over a PipelineGroupResource.
Exceptions
resourceGroupResource
is null.
Applies to
Azure SDK for .NET