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