MockableAppServiceSubscriptionResource.GetStaticSitesAsync 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.
Description for Get all Static Sites for a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites
- Operation Id: StaticSites_List
- Default Api Version: 2024-04-01
- Resource: StaticSiteResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.StaticSiteResource> GetStaticSitesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStaticSitesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.StaticSiteResource>
override this.GetStaticSitesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.StaticSiteResource>
Public Overridable Function GetStaticSitesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StaticSiteResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of StaticSiteResource that may take multiple service requests to iterate over.