Udostępnij za pośrednictwem


ArmNetworkModelFactory.NetworkResourceData Method

Definition

Initializes a new instance of NetworkResourceData.

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

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

Returns

A new NetworkResourceData instance for mocking.

Applies to