MockableHybridNetworkArmClient.GetComponentResource Method

Definition

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

public virtual Azure.ResourceManager.HybridNetwork.ComponentResource GetComponentResource (Azure.Core.ResourceIdentifier id);
abstract member GetComponentResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HybridNetwork.ComponentResource
override this.GetComponentResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HybridNetwork.ComponentResource
Public Overridable Function GetComponentResource (id As ResourceIdentifier) As ComponentResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ComponentResource object.

Applies to