IWebAppsOperations.PutPrivateAccessVnetSlotWithHttpMessagesAsync(String, String, PrivateAccess, String, Dictionary<String,List<String>>, CancellationToken) IWebAppsOperations.PutPrivateAccessVnetSlotWithHttpMessagesAsync(String, String, PrivateAccess, String, Dictionary<String,List<String>>, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.WebSites.Models.PrivateAccess>> PutPrivateAccessVnetSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.PrivateAccess access, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member PutPrivateAccessVnetSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.WebSites.Models.PrivateAccess * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.WebSites.Models.PrivateAccess>>

Parameters

resourceGroupName
String String

Name of the resource group to which the resource belongs.

name
String String

The name of the web app.

access
PrivateAccess PrivateAccess

The information for the private access

slot
String String

The name of the slot for the web app.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.AzureOperationResponse<PrivateAccess>>

Exceptions

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Remarks

Sets data around private site access enablement and authorized

Virtual Networks that can access the site.

Applies to