Share via


WebAppsOperationsExtensions.PutPrivateAccessVnetAsync Method

Definition

Sets 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> PutPrivateAccessVnetAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.PrivateAccessInner access, System.Threading.CancellationToken cancellationToken = default);
static member PutPrivateAccessVnetAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.PrivateAccessInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.PrivateAccessInner>
<Extension()>
Public Function PutPrivateAccessVnetAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, access As PrivateAccessInner, 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.

access
PrivateAccessInner

The information for the private access

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to