共用方式為


NetworkWatcher Constructors

Definition

Overloads

NetworkWatcher()

Initializes a new instance of the NetworkWatcher class.

NetworkWatcher(String, String, String, String, IDictionary<String,String>, String, String)

Initializes a new instance of the NetworkWatcher class.

NetworkWatcher()

Initializes a new instance of the NetworkWatcher class.

public NetworkWatcher ();
Public Sub New ()

Applies to

NetworkWatcher(String, String, String, String, IDictionary<String,String>, String, String)

Initializes a new instance of the NetworkWatcher class.

public NetworkWatcher (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, string provisioningState = default);
new Microsoft.Azure.Management.Network.Models.NetworkWatcher : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string -> Microsoft.Azure.Management.Network.Models.NetworkWatcher
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
String

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

provisioningState
String

The provisioning state of the network watcher resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Applies to