Share via


RelayExtensions.GetRelayNamespaceResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a RelayNamespaceResource object.

Exceptions

client is null.

Applies to