{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-manageddatabasesensitivitylabels","description":"SqlManagementClient","version":"2018-06-01-preview","base_url":"https://management.azure.com","endpoints":7,"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 2018-06-01-preview\n@auth OAuth2\n@common_fields {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 database., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 7\n@toc subscriptions(7)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}\n@desc Gets the sensitivity label of a given column\n@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column., sensitivityLabelSource: any # The source of the sensitivity label.}\n@returns(200) Successfully retrieved the sensitivity label.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}\n@desc Creates or updates the sensitivity label of a given column\n@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column., sensitivityLabelSource: any # The source of the sensitivity label., parameters: map # The column sensitivity label resource.}\n@returns(200) Successfully updated the sensitivity label.\n@returns(201) Successfully created the sensitivity label.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}\n@desc Deletes the sensitivity label of a given column\n@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column., sensitivityLabelSource: any # The source of the sensitivity label.}\n@returns(200) Successfully deleted the sensitivity label.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable\n@desc Disables sensitivity recommendations on a given column\n@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column., sensitivityLabelSource: any}\n@returns(200) Successfully disabled the sensitivity recommendations on the given column.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable\n@desc Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)\n@required {schemaName: any # The name of the schema., tableName: any # The name of the table., columnName: any # The name of the column., sensitivityLabelSource: any}\n@returns(200) Successfully enabled the sensitivity recommendations on the given column.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels\n@desc Gets the sensitivity labels of a given database\n@optional {$filter: any # An OData filter expression that filters elements in the collection.}\n@returns(200) Successfully retrieved the sensitivity labels.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels\n@desc Gets the sensitivity labels of a given database\n@optional {includeDisabledRecommendations: any # Specifies whether to include disabled recommendations or not., $skipToken: any, $filter: any # An OData filter expression that filters elements in the collection.}\n@returns(200) Successfully retrieved the sensitivity labels.\n\n@end\n"}