Aracılığıyla paylaş


ResourceGroupSecurityAlertCollection Class

Definition

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

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

Constructors

ResourceGroupSecurityAlertCollection()

Initializes a new instance of the ResourceGroupSecurityAlertCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
Get(String, CancellationToken)

Get an alert that is associated a resource group or a resource in a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetAll(CancellationToken)

List all the alerts that are associated with the resource group that are stored in a specific location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts
  • Operation Id: Alerts_ListResourceGroupLevelByRegion
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetAllAsync(CancellationToken)

List all the alerts that are associated with the resource group that are stored in a specific location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts
  • Operation Id: Alerts_ListResourceGroupLevelByRegion
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetAsync(String, CancellationToken)

Get an alert that is associated a resource group or a resource in a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
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<ResourceGroupSecurityAlertResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceGroupSecurityAlertResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to