Share via


MonitorExtensions.GetPipelineGroupAsync Method

Definition

Returns the specific pipeline group instance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/pipelineGroups/{pipelineGroupName}
  • Operation Id: PipelineGroups_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PipelineGroupResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.PipelineGroupResource>> GetPipelineGroupAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string pipelineGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetPipelineGroupAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.PipelineGroupResource>>
<Extension()>
Public Function GetPipelineGroupAsync (resourceGroupResource As ResourceGroupResource, pipelineGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PipelineGroupResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

pipelineGroupName
String

The name of pipeline group. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or pipelineGroupName is null.

pipelineGroupName is an empty string, and was expected to be non-empty.

Applies to