Sdílet prostřednictvím


ArmNetworkModelFactory.NetworkWatcherData Method

Definition

Initializes a new instance of NetworkWatcherData.

public static Azure.ResourceManager.Network.NetworkWatcherData NetworkWatcherData (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, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NetworkWatcherData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.NetworkWatcherData
Public Shared Function NetworkWatcherData (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, Optional etag As Nullable(Of ETag) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NetworkWatcherData

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.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the network watcher resource.

Returns

A new NetworkWatcherData instance for mocking.

Applies to