Share via


SiteManagerExtensions.GetServiceGroupEdgeSite Method

Definition

Get Site at SG scope

  • Request Path: /providers/Microsoft.Management/serviceGroups/{servicegroupName}/providers/Microsoft.Edge/sites/{siteName}
  • Operation Id: Site_Get
  • Default Api Version: 2025-06-01
  • Resource: ServiceGroupEdgeSiteResource
<item>MockingTo mock this method, please mock GetServiceGroupEdgeSite(ResourceIdentifier, String, CancellationToken) instead.</item>
public static Azure.Response<Azure.ResourceManager.SiteManager.ServiceGroupEdgeSiteResource> GetServiceGroupEdgeSite(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string siteName, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceGroupEdgeSite : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SiteManager.ServiceGroupEdgeSiteResource>
<Extension()>
Public Function GetServiceGroupEdgeSite (client As ArmClient, scope As ResourceIdentifier, siteName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceGroupEdgeSiteResource)

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against. Expected resource type includes the following: Microsoft.Management/serviceGroups.

siteName
String

The name of the Site.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client or siteName is null.

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

Applies to