SecureConnectionPolicyOperationsExtensions.CreateOrUpdateDatabasePolicy 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.
Creates or updates an Azure SQL Connection policy.
public static Microsoft.Azure.AzureOperationResponse CreateOrUpdateDatabasePolicy (this Microsoft.Azure.Management.Sql.LegacySdk.ISecureConnectionPolicyOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecureConnectionPolicyCreateOrUpdateParameters parameters);
static member CreateOrUpdateDatabasePolicy : Microsoft.Azure.Management.Sql.LegacySdk.ISecureConnectionPolicyOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseSecureConnectionPolicyCreateOrUpdateParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function CreateOrUpdateDatabasePolicy (operations As ISecureConnectionPolicyOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As DatabaseSecureConnectionPolicyCreateOrUpdateParameters) As 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.
Required. The required parameters for createing or updating a secure connection policy.
Returns
A standard service response including an HTTP status code and request ID.