Share via


SecurityInsightsHuntCommentCollection Class

Definition

A class representing a collection of SecurityInsightsHuntCommentResource and their operations. Each SecurityInsightsHuntCommentResource in the collection will belong to the same instance of SecurityInsightsHuntResource. To get a SecurityInsightsHuntCommentCollection instance call the GetSecurityInsightsHuntComments method from an instance of SecurityInsightsHuntResource.

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

Constructors

SecurityInsightsHuntCommentCollection()

Initializes a new instance of the SecurityInsightsHuntCommentCollection 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, SecurityInsightsHuntCommentData, CancellationToken)

Creates or updates a hunt relation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_CreateOrUpdate
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
CreateOrUpdateAsync(WaitUntil, String, SecurityInsightsHuntCommentData, CancellationToken)

Creates or updates a hunt relation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_CreateOrUpdate
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
Get(String, CancellationToken)

Gets a hunt comment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
GetAll(String, String, Nullable<Int32>, String, CancellationToken)

Gets all hunt comments

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments
  • Operation Id: HuntComments_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

Gets all hunt comments

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments
  • Operation Id: HuntComments_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
GetAsync(String, CancellationToken)

Gets a hunt comment

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/comments/{huntCommentId}
  • Operation Id: HuntComments_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntCommentResource
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<SecurityInsightsHuntCommentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsHuntCommentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to