Share via


WebAppsOperationsExtensions.GetPrivateAccessAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.PrivateAccessInner> GetPrivateAccessAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetPrivateAccessAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.PrivateAccessInner>
<Extension()>
Public Function GetPrivateAccessAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateAccessInner)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

The name of the web app.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to