MockableSiteManagerTenantResource.GetEdgeSitesAsync 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.
list Site at SG scope
- Request Path: /providers/Microsoft.Management/serviceGroups/{servicegroupName}/providers/Microsoft.Edge/sites
- Operation Id: SitesByServiceGroup_ListByServiceGroup
- Default Api Version: 2025-03-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.SiteManager.EdgeSiteResource> GetEdgeSitesAsync(string servicegroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeSitesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SiteManager.EdgeSiteResource>
override this.GetEdgeSitesAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SiteManager.EdgeSiteResource>
Public Overridable Function GetEdgeSitesAsync (servicegroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EdgeSiteResource)
Parameters
- servicegroupName
- String
The name of the service group.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of EdgeSiteResource that may take multiple service requests to iterate over.
Exceptions
servicegroupName
is an empty string, and was expected to be non-empty.
servicegroupName
is null.