共用方式為


SecurityConnectorGitHubRepositoryCollection.GetAll(CancellationToken) Method

Definition

Returns a list of GitHub repositories onboarded to the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/gitHubOwners/{ownerName}/repos
  • Operation Id: GitHubRepos_List
  • Default Api Version: 2023-09-01-preview
  • Resource: SecurityConnectorGitHubRepositoryResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubRepositoryResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubRepositoryResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorGitHubRepositoryResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityConnectorGitHubRepositoryResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to