ArmSecurityInsightsModelFactory.SecurityInsightsHuntRelationData Method

Definition

public static Azure.ResourceManager.SecurityInsights.SecurityInsightsHuntRelationData SecurityInsightsHuntRelationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier relatedResourceId = default, string relatedResourceName = default, string relationType = default, string relatedResourceKind = default, System.Collections.Generic.IEnumerable<string> labels = default);
static member SecurityInsightsHuntRelationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * string * string * seq<string> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsHuntRelationData
Public Shared Function SecurityInsightsHuntRelationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional relatedResourceId As ResourceIdentifier = Nothing, Optional relatedResourceName As String = Nothing, Optional relationType As String = Nothing, Optional relatedResourceKind As String = Nothing, Optional labels As IEnumerable(Of String) = Nothing) As SecurityInsightsHuntRelationData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

relatedResourceId
ResourceIdentifier

The id of the related resource.

relatedResourceName
String

The name of the related resource.

relationType
String

The type of the hunt relation.

relatedResourceKind
String

The resource that the relation is related to.

labels
IEnumerable<String>

List of labels relevant to this hunt.

Returns

A new SecurityInsightsHuntRelationData instance for mocking.

Applies to