Dela via


SecurityCenterExtensions.GetCustomEntityStoreAssignments Method

Definition

Overloads

GetCustomEntityStoreAssignments(ResourceGroupResource)

Gets a collection of CustomEntityStoreAssignmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCustomEntityStoreAssignments() instead.

GetCustomEntityStoreAssignments(SubscriptionResource, CancellationToken)

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

GetCustomEntityStoreAssignments(ResourceGroupResource)

Source:
SecurityCenterExtensions.cs
Source:
SecurityCenterExtensions.cs

Gets a collection of CustomEntityStoreAssignmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCustomEntityStoreAssignments() instead.

public static Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentCollection GetCustomEntityStoreAssignments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetCustomEntityStoreAssignments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentCollection
<Extension()>
Public Function GetCustomEntityStoreAssignments (resourceGroupResource As ResourceGroupResource) As CustomEntityStoreAssignmentCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of CustomEntityStoreAssignmentResources and their operations over a CustomEntityStoreAssignmentResource.

Exceptions

resourceGroupResource is null.

Applies to

GetCustomEntityStoreAssignments(SubscriptionResource, CancellationToken)

Source:
SecurityCenterExtensions.cs
Source:
SecurityCenterExtensions.cs

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to