Share via


MockableRelaySubscriptionResource.GetRelayNamespaces Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces
  • Operation Id: Namespaces_List
public virtual Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource> GetRelayNamespaces (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRelayNamespaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource>
override this.GetRelayNamespaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource>
Public Overridable Function GetRelayNamespaces (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RelayNamespaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of RelayNamespaceResource that may take multiple service requests to iterate over.

Applies to