Share via


DevOpsConfigurationResource.GetAvailableDevOpsOrgsAsync Method

Definition

Returns a list of all Azure DevOps organizations accessible by the user token consumed by the connector.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to