SecureConnectionPolicyOperationsExtensions.CreateOrUpdateDatabasePolicyAsync Method

Definition

Creates or updates an Azure SQL Connection policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateDatabasePolicyAsync (this Microsoft.Azure.Management.Sql.LegacySdk.ISecureConnectionPolicyOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecureConnectionPolicyCreateOrUpdateParameters parameters);
static member CreateOrUpdateDatabasePolicyAsync : Microsoft.Azure.Management.Sql.LegacySdk.ISecureConnectionPolicyOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecureConnectionPolicyCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateOrUpdateDatabasePolicyAsync (operations As ISecureConnectionPolicyOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As DatabaseSecureConnectionPolicyCreateOrUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
ISecureConnectionPolicyOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.ISecureConnectionPolicyOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database for which the policy applies.

parameters
DatabaseSecureConnectionPolicyCreateOrUpdateParameters

Required. The required parameters for createing or updating a secure connection policy.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to