MockableHybridNetworkSubscriptionResource.GetPublishersAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.