Dela via


MockableNetworkArmClient.GetNetworkInterfaceResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a NetworkInterfaceResource object.

Applies to