Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/sql/resource-manager/Microsoft.Sql/preview/2025-02-01-preview/DataMaskingRules.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/sql/resource-manager/Microsoft.Sql/preview/2025-02-01-preview/DataMaskingRules.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"version": "2025-02-01-preview",
Expand Down Expand Up @@ -47,6 +47,14 @@
"modelAsString": true
}
},
{
"name": "$skip",
"in": "query",
"description": "The number of elements in the collection to skip.",
"required": false,
"type": "integer",
"format": "int64"
},
{
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter"
},
Expand All @@ -56,7 +64,7 @@
],
"responses": {
"200": {
"description": "Successfully retrieved the list of server's Advanced Threat Protection states.",
"description": "Successfully retrieved the list of Data Masking Rules on the database.",
"schema": {
"$ref": "#/definitions/DataMaskingRuleListResult"
}
Expand Down Expand Up @@ -179,16 +187,6 @@
}
],
"properties": {
"location": {
"description": "The location of the data masking rule.",
"type": "string",
"readOnly": true
},
"kind": {
"description": "The kind of Data Masking Rule. Metadata, used for Azure portal.",
"type": "string",
"readOnly": true
},
"properties": {
"$ref": "#/definitions/DataMaskingRuleProperties",
"description": "Resource properties.",
Expand Down Expand Up @@ -239,7 +237,7 @@
"type": "string",
"x-ms-enum": {
"name": "DataMaskingRuleState",
"modelAsString": false
"modelAsString": true
}
},
"schemaName": {
Expand All @@ -254,10 +252,6 @@
"description": "The column name on which the data masking rule is applied.",
"type": "string"
},
"aliasName": {
"description": "The alias name. This is a legacy parameter and is no longer used.",
"type": "string"
},
"maskingFunction": {
"description": "The masking function that is used for the data masking rule.",
"enum": [
Expand All @@ -271,7 +265,7 @@
"type": "string",
"x-ms-enum": {
"name": "DataMaskingFunction",
"modelAsString": false
"modelAsString": true
}
},
"numberFrom": {
Expand Down
Loading