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