共用方式為


GitHubRepoCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of GitHubRepoResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to