Udostępnij za pośrednictwem


WebSitePrivateAccessResource.GetAsync(CancellationToken) Method

Definition

Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks
  • Operation Id: WebApps_GetPrivateAccess
  • Default Api Version: 2024-04-01
  • Resource: WebSitePrivateAccessResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSitePrivateAccessResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSitePrivateAccessResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSitePrivateAccessResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSitePrivateAccessResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to