Aracılığıyla paylaş


MockableNetworkArmClient.GetNetworkWatcherResource(ResourceIdentifier) Method

Definition

Gets an object representing a NetworkWatcherResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a NetworkWatcherResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.NetworkWatcherResource GetNetworkWatcherResource (Azure.Core.ResourceIdentifier id);
abstract member GetNetworkWatcherResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.NetworkWatcherResource
override this.GetNetworkWatcherResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.NetworkWatcherResource
Public Overridable Function GetNetworkWatcherResource (id As ResourceIdentifier) As NetworkWatcherResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a NetworkWatcherResource object.

Applies to