共用方式為


DevOpsProjectCollection.GetAll(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.Pageable<Azure.ResourceManager.SecurityCenter.DevOpsProjectResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.DevOpsProjectResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.DevOpsProjectResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DevOpsProjectResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to