WebAppsOperationsExtensions.PutPrivateAccessVnetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> PutPrivateAccessVnetAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.PrivateAccess access, System.Threading.CancellationToken cancellationToken = default);
static member PutPrivateAccessVnetAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.PrivateAccess * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.PrivateAccess>
<Extension()>
Public Function PutPrivateAccessVnetAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, access As PrivateAccess, 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
- 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
Azure SDK for .NET