Share via


MockableNetworkArmClient.GetNatGatewayResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a NatGatewayResource object.

Applies to