Share via


RelayExtensions.GetRelayHybridConnectionResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a RelayHybridConnectionResource object.

Exceptions

client is null.

Applies to