Delen via


DevOpsConfigurationResource.GetAvailableGitLabGroupsAsync Method

Definition

Returns a list of all GitLab groups accessible by the user token consumed by the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/listAvailableGitLabGroups
  • Operation Id: GitLabGroups_ListAvailable
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitLabGroupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource> GetAvailableGitLabGroupsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableGitLabGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource>
override this.GetAvailableGitLabGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitLabGroupResource>
Public Overridable Function GetAvailableGitLabGroupsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityConnectorGitLabGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityConnectorGitLabGroupResource that may take multiple service requests to iterate over.

Applies to