共用方式為


RelayNamespaceCollection.GetAll(CancellationToken) Method

Definition

Lists all the available namespaces within the ResourceGroup.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces
  • Operation Id: Namespaces_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Relay.RelayNamespaceResource>
Public Overridable Function GetAll (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