Udostępnij za pośrednictwem


ArmNetworkModelFactory.NetworkTrackedResourceData Method

Definition

Initializes a new instance of NetworkTrackedResourceData.

public static Azure.ResourceManager.Network.Models.NetworkTrackedResourceData NetworkTrackedResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member NetworkTrackedResourceData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Network.Models.NetworkTrackedResourceData
Public Shared Function NetworkTrackedResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As NetworkTrackedResourceData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

Returns

A new NetworkTrackedResourceData instance for mocking.

Applies to