SecurityCenterExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorResource> GetSecurityConnectorsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityConnectorsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityConnectorResource>
<Extension()>
Public Function GetSecurityConnectorsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityConnectorResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to