Delen via


MockableSecurityCenterSubscriptionResource.GetSecurityConnectorsAsync Method

Definition

Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to