Delen via


DevOpsProjectCollection.GetAllAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to