共用方式為


MockableHybridNetworkSubscriptionResource.GetSiteNetworkServicesAsync Method

Definition

Lists all sites in the network service in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to