{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-tableauditing","description":"SqlManagementClient","version":"2014-04-01","base_url":"https://management.azure.com","endpoints":8,"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 2014-04-01\n@auth OAuth2\n@common_fields {serverName: any # The name of the server.}\n@endpoints 8\n@toc subscriptions(8)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingPolicies/{tableAuditingPolicyName}\n@desc Gets a server's table auditing policy. Table auditing is deprecated, use blob auditing instead.\n@required {tableAuditingPolicyName: any # The name of the table auditing policy.}\n@returns(200) Successfully retrieved the server table auditing policy.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingPolicies/{tableAuditingPolicyName}\n@desc Creates or updates a server's table auditing policy. Table auditing is deprecated, use blob auditing instead.\n@required {tableAuditingPolicyName: any # The name of the table auditing policy., parameters: map # The server table auditing policy.}\n@returns(200) Successfully set the server table auditing policy.\n@returns(201) Successfully created the server table auditing policy.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingPolicies\n@desc Lists a server's table auditing policies. Table auditing is deprecated, use blob auditing instead.\n@returns(200) Successfully retrieved the server table auditing policies.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingPolicies/{tableAuditingPolicyName}\n@desc Gets a database's table auditing policy. Table auditing is deprecated, use blob auditing instead.\n@required {databaseName: any # The name of the database for which the table audit policy is defined., tableAuditingPolicyName: any # The name of the table auditing policy.}\n@returns(200) Successfully retrieved the database table auditing policy.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingPolicies/{tableAuditingPolicyName}\n@desc Creates or updates a database's table auditing policy. Table auditing is deprecated, use blob auditing instead.\n@required {databaseName: any # The name of the database for which the table auditing policy will be defined., tableAuditingPolicyName: any # The name of the table auditing policy., parameters: map # The database table auditing policy.}\n@returns(200) Successfully set the database table auditing policy.\n@returns(201) Successfully created the database table auditing policy.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingPolicies\n@desc Lists a database's table auditing policies. Table auditing is deprecated, use blob auditing instead.\n@required {databaseName: any # The name of the database for which the table audit policy is defined.}\n@returns(200) Successfully retrieved the database table auditing policies.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/connectionPolicies/{connectionPolicyName}\n@desc Gets a database's connection policy, which is used with table auditing. Table auditing is deprecated, use blob auditing instead.\n@required {databaseName: any # The name of the database for which the connection policy is defined., connectionPolicyName: any # The name of the connection policy.}\n@returns(200) Successfully retrieved the database connection policy.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/connectionPolicies/{connectionPolicyName}\n@desc Creates or updates a database's connection policy, which is used with table auditing. Table auditing is deprecated, use blob auditing instead.\n@required {databaseName: any # The name of the database for which the connection policy will be defined., connectionPolicyName: any # The name of the connection policy., parameters: map # The database connection policy.}\n@returns(200) Successfully set the database connection policy.\n@returns(201) Successfully created the database connection policy.\n\n@end\n"}