openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 28.1 kB
JSON
{"openapi":"3.0.0","info":{"description":"The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities.","title":"SqlManagementClient","version":"2014-04-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/tableAuditing.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"sql-tableAuditing","x-tags":["Azure","Microsoft"]},"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingPolicies":{"get":{"deprecated":true,"description":"Lists a server's table auditing policies. Table auditing is deprecated, use blob auditing instead.","operationId":"ServerTableAuditingPolicies_ListByServer","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List server table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List server table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"List server table auditing policy":{"value":"2014-04-01"}}}],"responses":{"200":{"description":"Successfully retrieved the server table auditing policies.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerTableAuditingPolicyListResult"},"examples":{"List server table auditing policy":{"$ref":"#/components/examples/List_server_table_auditing_policy"}}}}}},"tags":["TableAuditing"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingPolicies/{tableAuditingPolicyName}":{"get":{"deprecated":true,"description":"Gets a server's table auditing policy. Table auditing is deprecated, use blob auditing instead.","operationId":"ServerTableAuditingPolicies_Get","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get server table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"$ref":"#/components/parameters/TableAuditingPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get server table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get server table auditing policy":{"value":"2014-04-01"}}}],"responses":{"200":{"description":"Successfully retrieved the server table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerTableAuditingPolicy"},"examples":{"Get server table auditing policy":{"$ref":"#/components/examples/Get_server_table_auditing_policy"}}}}}},"tags":["TableAuditing"]},"put":{"deprecated":true,"description":"Creates or updates a server's table auditing policy. Table auditing is deprecated, use blob auditing instead.","operationId":"ServerTableAuditingPolicies_CreateOrUpdate","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create or update server table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"$ref":"#/components/parameters/TableAuditingPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update server table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update server table auditing policy":{"value":"2014-04-01"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerTableAuditingPolicy"}}},"description":"The server table auditing policy.","required":true},"responses":{"200":{"description":"Successfully set the server table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerTableAuditingPolicy"},"examples":{"Create or update server table auditing policy":{"$ref":"#/components/examples/Create_or_update_server_table_auditing_policy"}}}}},"201":{"description":"Successfully created the server table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerTableAuditingPolicy"}}}}},"tags":["TableAuditing"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingPolicies":{"get":{"deprecated":true,"description":"Lists a database's table auditing policies. Table auditing is deprecated, use blob auditing instead.","operationId":"DatabaseTableAuditingPolicies_ListByDatabase","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the table audit policy is defined.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"testdb"}}},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"2014-04-01"}}}],"responses":{"200":{"description":"Successfully retrieved the database table auditing policies.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicyListResult"},"examples":{"Get database table auditing policy":{"$ref":"#/components/examples/Get_database_table_auditing_policy"}}}}}},"tags":["TableAuditing"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/auditingPolicies/{tableAuditingPolicyName}":{"get":{"deprecated":true,"description":"Gets a database's table auditing policy. Table auditing is deprecated, use blob auditing instead.","operationId":"DatabaseTableAuditingPolicies_Get","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the table audit policy is defined.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"testdb"}}},{"$ref":"#/components/parameters/TableAuditingPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"2014-04-01"}}}],"responses":{"200":{"description":"Successfully retrieved the database table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicy"},"examples":{"Get database table auditing policy":{"$ref":"#/components/examples/Get_database_table_auditing_policy"}}}}}},"tags":["TableAuditing"]},"put":{"deprecated":true,"description":"Creates or updates a database's table auditing policy. Table auditing is deprecated, use blob auditing instead.","operationId":"DatabaseTableAuditingPolicies_CreateOrUpdate","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create or update database table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the table auditing policy will be defined.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Create or update database table auditing policy":{"value":"testdb"}}},{"$ref":"#/components/parameters/TableAuditingPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update database table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update database table auditing policy":{"value":"2014-04-01"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicy"}}},"description":"The database table auditing policy.","required":true},"responses":{"200":{"description":"Successfully set the database table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicy"},"examples":{"Create or update database table auditing policy":{"$ref":"#/components/examples/Create_or_update_database_table_auditing_policy"}}}}},"201":{"description":"Successfully created the database table auditing policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicy"}}}}},"tags":["TableAuditing"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/connectionPolicies/{connectionPolicyName}":{"get":{"deprecated":true,"description":"Gets a database's connection policy, which is used with table auditing. Table auditing is deprecated, use blob auditing instead.","operationId":"DatabaseConnectionPolicies_Get","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the connection policy is defined.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"testdb"}}},{"$ref":"#/components/parameters/ConnectionPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Get database table auditing policy":{"value":"2014-04-01"}}}],"responses":{"200":{"description":"Successfully retrieved the database connection policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseConnectionPolicy"},"examples":{"Get database table auditing policy":{"$ref":"#/components/examples/Get_database_table_auditing_policy"}}}}}},"tags":["TableAuditing"]},"put":{"deprecated":true,"description":"Creates or updates a database's connection policy, which is used with table auditing. Table auditing is deprecated, use blob auditing instead.","operationId":"DatabaseConnectionPolicies_CreateOrUpdate","parameters":[{"description":"The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Create or update database connection policy":{"value":"blobauditingtest-6852"}}},{"$ref":"#/components/parameters/ServerNameParameter"},{"description":"The name of the database for which the connection policy will be defined.","in":"path","name":"databaseName","required":true,"schema":{"type":"string"},"examples":{"Create or update database connection policy":{"value":"testdb"}}},{"$ref":"#/components/parameters/ConnectionPolicyNameParameter"},{"description":"The subscription ID that identifies an Azure subscription.","in":"path","name":"subscriptionId","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update database connection policy":{"value":"00000000-1111-2222-3333-444444444444"}}},{"description":"The API version to use for the request.","in":"query","name":"api-version","required":true,"x-ms-parameter-location":"client","schema":{"type":"string"},"examples":{"Create or update database connection policy":{"value":"2014-04-01"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseConnectionPolicy"}}},"description":"The database connection policy.","required":true},"responses":{"200":{"description":"Successfully set the database connection policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseConnectionPolicy"},"examples":{"Create or update database connection policy":{"$ref":"#/components/examples/Create_or_update_database_connection_policy"}}}}},"201":{"description":"Successfully created the database connection policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseConnectionPolicy"}}}}},"tags":["TableAuditing"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_server_table_auditing_policy":{"value":{"value":[{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default","location":"West US","name":"Default","properties":{"auditLogsTableName":"Blobauditingtest2080","auditingState":"New","eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure","fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080","retentionDays":"0"},"type":"Microsoft.Sql/servers/databases/auditingPolicies"}]}},"Get_server_table_auditing_policy":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default","location":"West US","name":"Default","properties":{"auditLogsTableName":"Blobauditingtest2080","auditingState":"New","eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure","fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080","retentionDays":"0"},"type":"Microsoft.Sql/servers/databases/auditingPolicies"}},"Create_or_update_server_table_auditing_policy":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default","location":"West US","name":"Default","properties":{"auditLogsTableName":"Blobauditingtest2080","auditingState":"New","eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure","fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080","retentionDays":"0"},"type":"Microsoft.Sql/servers/databases/auditingPolicies"}},"Get_database_table_auditing_policy":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default","location":"West US","name":"default","properties":{"proxyDnsName":"blobauditingtest-2080.database.secure.windows.net","proxyPort":"1433","redirectionState":"Disabled","securityEnabledAccess":"Optional","state":"New","useServerDefault":"Enabled","visibility":"Visible"},"type":"Microsoft.Sql/servers/databases/connectionPolicies"}},"Create_or_update_database_table_auditing_policy":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/auditingPolicies/Default","location":"West US","name":"Default","properties":{"auditLogsTableName":"Blobauditingtest2080Testdb","auditingState":"New","eventTypesToAudit":"PlainSQL_Success,PlainSQL_Failure,ParameterizedSQL_Success,ParameterizedSQL_Failure,StoredProcedure_Success,StoredProcedure_Failure,Login_Success,Login_Failure,TransactionManagement_Success,TransactionManagement_Failure","fullAuditLogsTableName":"SQLDBAuditLogsBlobauditingtest2080Testdb","retentionDays":"0","useServerDefault":"Enabled"},"type":"Microsoft.Sql/servers/databases/auditingPolicies"}},"Create_or_update_database_connection_policy":{"value":{"id":"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Sql/servers/blobauditingtest-2080/databases/testdb/connectionPolicies/default","location":"West US","name":"default","properties":{"proxyDnsName":"blobauditingtest-2080.database.secure.windows.net","proxyPort":"1433","redirectionState":"Disabled","securityEnabledAccess":"Optional","state":"New","useServerDefault":"Enabled","visibility":"Visible"},"type":"Microsoft.Sql/servers/databases/connectionPolicies"}}},"parameters":{"ConnectionPolicyNameParameter":{"description":"The name of the connection policy.","in":"path","name":"connectionPolicyName","required":true,"x-ms-enum":{"modelAsString":true,"name":"ConnectionPolicyName"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["default"]},"examples":{"Get database table auditing policy":{"value":"default"},"Create or update database connection policy":{"value":"default"}}},"DatabaseNameParameter":{"description":"The name of the database.","in":"path","name":"databaseName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"}},"ServerNameParameter":{"description":"The name of the server.","in":"path","name":"serverName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List server table auditing policy":{"value":"blobauditingtest-2080"},"Get server table auditing policy":{"value":"blobauditingtest-2080"},"Create or update server table auditing policy":{"value":"blobauditingtest-2080"},"Get database table auditing policy":{"value":"blobauditingtest-2080"},"Create or update database table auditing policy":{"value":"blobauditingtest-2080"},"Create or update database connection policy":{"value":"blobauditingtest-2080"}}},"TableAuditingPolicyNameParameter":{"description":"The name of the table auditing policy.","in":"path","name":"tableAuditingPolicyName","required":true,"x-ms-enum":{"modelAsString":true,"name":"TableAuditingPolicyName"},"x-ms-parameter-location":"method","schema":{"type":"string","enum":["default"]},"examples":{"Get server table auditing policy":{"value":"default"},"Create or update server table auditing policy":{"value":"default"},"Get database table auditing policy":{"value":"default"},"Create or update database table auditing policy":{"value":"default"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"DatabaseConnectionPolicy":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"A database connection policy.","properties":{"kind":{"description":"Resource kind.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/DatabaseConnectionPolicyProperties"}},"type":"object"},"DatabaseConnectionPolicyProperties":{"description":"Properties of a database connection policy.","properties":{"proxyDnsName":{"description":"The fully qualified host name of the auditing proxy.","type":"string"},"proxyPort":{"description":"The port number of the auditing proxy.","type":"string"},"redirectionState":{"description":"The state of proxy redirection.","type":"string"},"securityEnabledAccess":{"description":"The state of security access.","type":"string"},"state":{"description":"The connection policy state.","type":"string"},"useServerDefault":{"description":"Whether server default is enabled or disabled.","type":"string"},"visibility":{"description":"The visibility of the auditing proxy.","type":"string"}},"type":"object"},"DatabaseTableAuditingPolicy":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"A database table auditing policy.","properties":{"kind":{"description":"Resource kind.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicyProperties"}},"type":"object"},"DatabaseTableAuditingPolicyListResult":{"description":"Represents the response to a list database table auditing policies request.","properties":{"value":{"description":"The list of database table auditing policies.","items":{"$ref":"#/components/schemas/DatabaseTableAuditingPolicy"},"type":"array"}},"required":["value"]},"DatabaseTableAuditingPolicyProperties":{"allOf":[{"$ref":"#/components/schemas/TableAuditingPolicyProperties"}],"description":"Properties of a database table auditing policy.","properties":{"useServerDefault":{"description":"Whether server default is enabled or disabled.","type":"string"}}},"ServerTableAuditingPolicy":{"allOf":[{"allOf":[{"description":"ARM resource.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true}],"description":"ARM proxy resource.","properties":{},"type":"object"}],"description":"A server table auditing policy.","properties":{"kind":{"description":"Resource kind.","readOnly":true,"type":"string"},"location":{"description":"Resource location.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/ServerTableAuditingPolicyProperties"}},"type":"object"},"ServerTableAuditingPolicyListResult":{"description":"Represents the response to a list server table auditing policies request.","properties":{"value":{"description":"The list of server table auditing policies.","items":{"$ref":"#/components/schemas/ServerTableAuditingPolicy"},"type":"array"}},"required":["value"]},"ServerTableAuditingPolicyProperties":{"allOf":[{"$ref":"#/components/schemas/TableAuditingPolicyProperties"}],"description":"Properties of a server table auditing policy."},"TableAuditingPolicyProperties":{"description":"Properties of a table auditing policy.","properties":{"auditLogsTableName":{"description":"The audit logs table name.","type":"string"},"auditingState":{"description":"The state of the policy.","type":"string"},"eventTypesToAudit":{"description":"Comma-separated list of event types to audit.","type":"string"},"fullAuditLogsTableName":{"description":"The full audit logs table name.","type":"string"},"retentionDays":{"description":"The number of days to keep in the audit logs.","type":"string"},"storageAccountKey":{"description":"The key of the auditing storage account.","type":"string"},"storageAccountName":{"description":"The table storage account name","type":"string"},"storageAccountResourceGroupName":{"description":"The table storage account resource group name","type":"string"},"storageAccountSecondaryKey":{"description":"The secondary key of the auditing storage account.","type":"string"},"storageAccountSubscriptionId":{"description":"The table storage subscription Id.","format":"uuid","type":"string"},"storageTableEndpoint":{"description":"The storage table endpoint.","type":"string"}},"type":"object"}}}}