Share via


SecurityConnectorGitHubRepositoryCollection.GetAllAsync Method

Definition

Returns a list of GitHub repositories onboarded to the connector.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to