共用方式為


GitHubConnectorResource.GetGitHubReposByConnectorAsync 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.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource> GetGitHubReposByConnectorAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubReposByConnectorAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
override this.GetGitHubReposByConnectorAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityDevOps.GitHubRepoResource>
Public Overridable Function GetGitHubReposByConnectorAsync (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