MockableSiteManagerTenantResource.UpdateSitesByServiceGroup 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.
update Site at SG scope
- Request Path: /providers/Microsoft.Management/serviceGroups/{servicegroupName}/providers/Microsoft.Edge/sites/{siteName}
- Operation Id: SitesByServiceGroup_Update
- Default Api Version: 2025-03-01-preview
public virtual Azure.Response<Azure.ResourceManager.SiteManager.EdgeSiteResource> UpdateSitesByServiceGroup(string servicegroupName, string siteName, Azure.ResourceManager.SiteManager.Models.EdgeSitePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSitesByServiceGroup : string * string * Azure.ResourceManager.SiteManager.Models.EdgeSitePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SiteManager.EdgeSiteResource>
override this.UpdateSitesByServiceGroup : string * string * Azure.ResourceManager.SiteManager.Models.EdgeSitePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SiteManager.EdgeSiteResource>
Public Overridable Function UpdateSitesByServiceGroup (servicegroupName As String, siteName As String, patch As EdgeSitePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EdgeSiteResource)
Parameters
- servicegroupName
- String
The name of the service group.
- siteName
- String
The name of the site.
- patch
- EdgeSitePatch
The properties 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
, siteName
or patch
is null.