共用方式為


SecurityInsightsHuntRelationCollection Class

Definition

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

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

Constructors

SecurityInsightsHuntRelationCollection()

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

Creates or updates a hunt relation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations/{huntRelationId}
  • Operation Id: HuntRelations_CreateOrUpdate
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntRelationResource
CreateOrUpdateAsync(WaitUntil, String, SecurityInsightsHuntRelationData, CancellationToken)

Creates or updates a hunt relation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/hunts/{huntId}/relations/{huntRelationId}
  • Operation Id: HuntRelations_CreateOrUpdate
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntRelationResource
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}/relations/{huntRelationId}
  • Operation Id: HuntRelations_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntRelationResource
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}/relations/{huntRelationId}
  • Operation Id: HuntRelations_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsHuntRelationResource
Get(String, CancellationToken)

Gets a hunt relation

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

Gets all hunt relations

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

Gets all hunt relations

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

Gets a hunt relation

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsHuntRelationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to