Share via


MockableNetworkArmClient.GetVirtualNetworkGatewayNatRuleResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualNetworkGatewayNatRuleResource object.

Applies to