共用方式為


MockableNetworkArmClient.GetVirtualRouterResource(ResourceIdentifier) Method

Definition

Gets an object representing a VirtualRouterResource 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 VirtualRouterResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualRouterResource object.

Applies to