Partilhar via


PipelineGroupCollection.GetIfExistsAsync(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • 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 virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Monitor.PipelineGroupResource>> GetIfExistsAsync (string pipelineGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Monitor.PipelineGroupResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Monitor.PipelineGroupResource>>
Public Overridable Function GetIfExistsAsync (pipelineGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of PipelineGroupResource))

Parameters

pipelineGroupName
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

pipelineGroupName is null.

Applies to