Share via


ArmSecurityCenterModelFactory.SecurityTopologyResource Method

Definition

Initializes a new instance of SecurityTopologyResource.

public static Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource SecurityTopologyResource (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? calculatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResource> topologyResources = default, Azure.Core.AzureLocation? location = default);
static member SecurityTopologyResource : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResource> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource
Public Shared Function SecurityTopologyResource (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional calculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional topologyResources As IEnumerable(Of TopologySingleResource) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As SecurityTopologyResource

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

calculatedOn
Nullable<DateTimeOffset>

The UTC time on which the topology was calculated.

topologyResources
IEnumerable<TopologySingleResource>

Azure resources which are part of this topology resource.

location
Nullable<AzureLocation>

Location where the resource is stored.

Returns

A new SecurityTopologyResource instance for mocking.

Applies to