Share via


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

access
PrivateAccessInner

The information for the private access

slot
String

The name of the slot for the web app.

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