共用方式為


MockableHybridNetworkSubscriptionResource.GetPublishersAsync Method

Definition

Lists all the publishers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridNetwork/publishers
  • Operation Id: Publishers_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.HybridNetwork.PublisherResource> GetPublishersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublishersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridNetwork.PublisherResource>
override this.GetPublishersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HybridNetwork.PublisherResource>
Public Overridable Function GetPublishersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PublisherResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of PublisherResource that may take multiple service requests to iterate over.

Applies to