다음을 통해 공유


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
  • Default Api Version: 2022-09-01-preview
  • Resource: GitHubRepoResource
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