Share via


RelayExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Relay.

public static class RelayExtensions
type RelayExtensions = class
Public Module RelayExtensions
Inheritance
RelayExtensions

Methods

CheckRelayNamespaceNameAvailability(SubscriptionResource, RelayNameAvailabilityContent, CancellationToken)

Check the specified namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
CheckRelayNamespaceNameAvailabilityAsync(SubscriptionResource, RelayNameAvailabilityContent, CancellationToken)

Check the specified namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability
  • Operation Id: Namespaces_CheckNameAvailability
GetRelayHybridConnectionAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a RelayHybridConnectionAuthorizationRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a RelayHybridConnectionAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRelayHybridConnectionAuthorizationRuleResource(ResourceIdentifier) instead.

GetRelayHybridConnectionResource(ArmClient, ResourceIdentifier)

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.

GetRelayNamespace(ResourceGroupResource, String, CancellationToken)

Returns the description for the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
GetRelayNamespaceAsync(ResourceGroupResource, String, CancellationToken)

Returns the description for the specified namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}
  • Operation Id: Namespaces_Get
GetRelayNamespaceAuthorizationRuleResource(ArmClient, ResourceIdentifier)

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

GetRelayNamespaceResource(ArmClient, ResourceIdentifier)

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.

GetRelayNamespaces(ResourceGroupResource)

Gets a collection of RelayNamespaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetRelayNamespaces() instead.

GetRelayNamespaces(SubscriptionResource, CancellationToken)

Lists all the available namespaces within the subscription regardless of the resourceGroups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces
  • Operation Id: Namespaces_List
GetRelayNamespacesAsync(SubscriptionResource, CancellationToken)

Lists all the available namespaces within the subscription regardless of the resourceGroups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces
  • Operation Id: Namespaces_List
GetRelayNetworkRuleSetResource(ArmClient, ResourceIdentifier)

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

GetRelayPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

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

GetRelayPrivateLinkResource(ArmClient, ResourceIdentifier)

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

GetWcfRelayAuthorizationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a WcfRelayAuthorizationRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a WcfRelayAuthorizationRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetWcfRelayAuthorizationRuleResource(ResourceIdentifier) instead.

GetWcfRelayResource(ArmClient, ResourceIdentifier)

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

Applies to