SecurityConnectorGitLabGroupCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitLabGroups/{groupFQName}
  • Operation Id: GitLabGroups_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabGroupResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource>> GetIfExistsAsync (string groupFQName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource>>
Public Overridable Function GetIfExistsAsync (groupFQName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SecurityConnectorGitLabGroupResource))

Parameters

groupFQName
String

The GitLab group fully-qualified name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

groupFQName is null.

Applies to