Share via


MockableSiteManagerTenantResource.DeleteSitesByServiceGroupAsync Method

Definition

delete Site at SG scope

  • Request Path: /providers/Microsoft.Management/serviceGroups/{servicegroupName}/providers/Microsoft.Edge/sites/{siteName}
  • Operation Id: SitesByServiceGroup_Delete
  • Default Api Version: 2025-03-01-preview
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteSitesByServiceGroupAsync(string servicegroupName, string siteName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSitesByServiceGroupAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteSitesByServiceGroupAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteSitesByServiceGroupAsync (servicegroupName As String, siteName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

servicegroupName
String

The name of the service group.

siteName
String

The name of the site.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

servicegroupName or siteName is an empty string, and was expected to be non-empty.

servicegroupName or siteName is null.

Applies to