Udostępnij za pośrednictwem


SecurityCenterExtensions.GetCustomEntityStoreAssignmentsAsync Method

Definition

List custom entity store assignments by provided subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments
  • Operation Id: CustomEntityStoreAssignments_ListBySubscription
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentResource> GetCustomEntityStoreAssignmentsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCustomEntityStoreAssignmentsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentResource>
<Extension()>
Public Function GetCustomEntityStoreAssignmentsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CustomEntityStoreAssignmentResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to