共用方式為


GitHubConnectorResource.GetGitHubReposByConnector(CancellationToken) Method

Definition

Returns a list of monitored GitHub repositories.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}/repos
  • Operation Id: GitHubRepo_ListByConnector
public virtual Azure.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource> GetGitHubReposByConnector (System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubReposByConnector : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
override this.GetGitHubReposByConnector : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
Public Overridable Function GetGitHubReposByConnector (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