Share via


SecurityCenterExtensions.GetAdaptiveApplicationControlGroupsAsync Method

Definition

Gets a list of application control machine groups for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings
  • Operation Id: AdaptiveApplicationControls_List
  • Default Api Version: 2020-01-01
  • Resource: AdaptiveApplicationControlGroupResource
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupResource> GetAdaptiveApplicationControlGroupsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, bool? includePathRecommendations = default, bool? summary = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAdaptiveApplicationControlGroupsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.AdaptiveApplicationControlGroupResource>
<Extension()>
Public Function GetAdaptiveApplicationControlGroupsAsync (subscriptionResource As SubscriptionResource, Optional includePathRecommendations As Nullable(Of Boolean) = Nothing, Optional summary As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AdaptiveApplicationControlGroupResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

includePathRecommendations
Nullable<Boolean>

Include the policy rules.

summary
Nullable<Boolean>

Return output in a summarized form.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to