Delen via


MockableNetworkArmClient.GetVpnGatewayNatRuleResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VpnGatewayNatRuleResource object.

Applies to