共用方式為


MockableNetworkArmClient.GetLocalNetworkGatewayResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LocalNetworkGatewayResource object.

Applies to