共用方式為


CustomEntityStoreAssignmentCollection Class

Definition

A class representing a collection of CustomEntityStoreAssignmentResource and their operations. Each CustomEntityStoreAssignmentResource in the collection will belong to the same instance of ResourceGroupResource. To get a CustomEntityStoreAssignmentCollection instance call the GetCustomEntityStoreAssignments method from an instance of ResourceGroupResource.

public class CustomEntityStoreAssignmentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.CustomEntityStoreAssignmentResource>
type CustomEntityStoreAssignmentCollection = class
    inherit ArmCollection
    interface seq<CustomEntityStoreAssignmentResource>
    interface IEnumerable
    interface IAsyncEnumerable<CustomEntityStoreAssignmentResource>
Public Class CustomEntityStoreAssignmentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CustomEntityStoreAssignmentResource), IEnumerable(Of CustomEntityStoreAssignmentResource)
Inheritance
CustomEntityStoreAssignmentCollection
Implements

Constructors

CustomEntityStoreAssignmentCollection()

Initializes a new instance of the CustomEntityStoreAssignmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, CustomEntityStoreAssignmentCreateOrUpdateContent, CancellationToken)

Creates a custom entity store assignment for the provided subscription, if not already exists.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Create
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
CreateOrUpdateAsync(WaitUntil, String, CustomEntityStoreAssignmentCreateOrUpdateContent, CancellationToken)

Creates a custom entity store assignment for the provided subscription, if not already exists.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Create
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
Get(String, CancellationToken)

Gets a single custom entity store assignment by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetAll(CancellationToken)

List custom entity store assignments by a provided subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments
  • Operation Id: CustomEntityStoreAssignments_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetAllAsync(CancellationToken)

List custom entity store assignments by a provided subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments
  • Operation Id: CustomEntityStoreAssignments_ListByResourceGroup
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetAsync(String, CancellationToken)

Gets a single custom entity store assignment by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<CustomEntityStoreAssignmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CustomEntityStoreAssignmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to