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
System.String

Name of the resource group to which the resource belongs.

name
System.String

The name of the web app.

access
PrivateAccessInner

The information for the private access

slot
System.String

The name of the slot for the web app.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PrivateAccessInner>

Remarks

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

Applies to