Udostępnij za pośrednictwem


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

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
PrivateAccess

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