{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-manageddatabasesecurityalertpolicies","description":"SqlManagementClient","version":"2017-03-01-preview","base_url":"https://management.azure.com","endpoints":3,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api SqlManagementClient\n@base https://management.azure.com\n@version 2017-03-01-preview\n@auth OAuth2\n@endpoints 3\n@toc subscriptions(3)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}\n@desc Gets a managed database's security alert policy.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance., databaseName: any # The name of the managed database for which the security alert policy is defined., securityAlertPolicyName: any # The name of the security alert policy., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the managed database security alert policy.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}\n@desc Creates or updates a database's security alert policy.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance., databaseName: any # The name of the managed database for which the security alert policy is defined., securityAlertPolicyName: any # The name of the security alert policy., parameters: map # The database security alert policy., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully set the managed database security alert policy.\n@returns(201) Successfully created the managed database security alert policy.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies\n@desc Gets a list of managed database's security alert policies.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., managedInstanceName: any # The name of the managed instance., databaseName: any # The name of the managed database for which the security alert policies are defined., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the managed database security alert policies.\n\n@end\n"}