NetworkWatcherInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. NetworkWatcherInner
- com.
- com.
- com.
public final class NetworkWatcherInner
extends Resource
Network watcher in a resource group.
Constructor Summary
Constructor | Description |
---|---|
NetworkWatcherInner() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Network |
withId(String id)
Set the id property: Resource ID. |
Network |
withLocation(String location) |
Network |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
NetworkWatcherInner
public NetworkWatcherInner()
Creates an instance of NetworkWatcherInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static NetworkWatcherInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkWatcherInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
NetworkWatcherInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
NetworkWatcherInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the network watcher resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkWatcherInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
NetworkWatcherInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public NetworkWatcherInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public NetworkWatcherInner withLocation(String location)
Overrides:
NetworkWatcherInner.withLocation(String location)Parameters:
withTags
public NetworkWatcherInner withTags(Map
Overrides:
NetworkWatcherInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java