DevOpsRepositoryCollection.GetAllAsync(CancellationToken) Method

Definition

Returns a list of Azure DevOps repositories onboarded to the connector.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DevOpsRepositoryResource that may take multiple service requests to iterate over.

Applies to