共用方式為


SecurityInsightsSourceControlCollection.GetAll(CancellationToken) Method

Definition

Gets all source controls, without source control items.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols
  • Operation Id: SourceControls_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsSourceControlResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsSourceControlResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsSourceControlResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsSourceControlResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityInsightsSourceControlResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to