Bagikan melalui


ManagedNetworkFabricExtensions.GetNetworkFabricResource Method

Definition

Gets an object representing a NetworkFabricResource 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 NetworkFabricResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNetworkFabricResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource GetNetworkFabricResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetNetworkFabricResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource
<Extension()>
Public Function GetNetworkFabricResource (client As ArmClient, id As ResourceIdentifier) As NetworkFabricResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a NetworkFabricResource object.

Exceptions

client is null.

Applies to