Share via


GitHubRepoCollection.GetAllAsync(CancellationToken) Method

Definition

Returns a list of monitored GitHub repositories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/owners/{gitHubOwnerName}/repos
  • Operation Id: GitHubRepo_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GitHubRepoResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to