forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing APIs in Synapse Swagger. (Azure#12424)
* Added missing APIs in Synapse Swagger. * Fixed spell check error * Swagger correctness changes. * Fixed prettier issues * Minor correctness error fixes. * Fixed prettier check * fixed lint errors * Fixed some more missing APIs. * Added newly reported Missing API Co-authored-by: Amogh Natu <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,184 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2066,4 +2066,4 @@ checkin | |
regionality | ||
Resource | ||
Metastores | ||
|
||
maintenancewindows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...icrosoft.Synapse/preview/2019-06-01-preview/examples/CreateOrUpdateGeoBackupPolicies.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"workspaceName": "testws", | ||
"sqlPoolName": "testdw", | ||
"geoBackupPolicyName": "Default", | ||
"api-version": "2019-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Synapse/workspaces/testws/databases/testdw/geoBackupPolicies/Default", | ||
"name": "Default", | ||
"type": "Microsoft.Synapse/workspaces/sqlpools/geoBackupPolicies", | ||
"location": null, | ||
"kind": null, | ||
"properties": { | ||
"state": "Enabled", | ||
"storageType": null | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Synapse/workspaces/testws/databases/testdw/geoBackupPolicies/Default", | ||
"name": "Default", | ||
"type": "Microsoft.Synapse/workspaces/sqlpools/geoBackupPolicies", | ||
"location": null, | ||
"kind": null, | ||
"properties": { | ||
"state": "Enabled", | ||
"storageType": null | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...crosoft.Synapse/preview/2019-06-01-preview/examples/CreateOrUpdateMaintenanceWindows.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "samplerg", | ||
"workspaceName": "testworkspace", | ||
"sqlPoolName": "testsp", | ||
"maintenanceWindowName": "current", | ||
"api-version": "2019-06-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"timeRanges": [ | ||
{ | ||
"dayOfWeek": "Saturday", | ||
"startTime": "00:00:00", | ||
"duration": "PT60M" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...rce-manager/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataMaskingRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "sqlcrudtest-6852", | ||
"workspaceName": "sqlcrudtest-2080", | ||
"sqlPoolName": "sqlcrudtest-331", | ||
"dataMaskingPolicyName": "Default", | ||
"dataMaskingRuleName": "rule1", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", | ||
"name": "rule1", | ||
"type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", | ||
"location": "Central US", | ||
"kind": null, | ||
"properties": { | ||
"id": "dbo_Table_1_test1", | ||
"ruleState": "Enabled", | ||
"schemaName": "dbo", | ||
"tableName": "Table_1", | ||
"columnName": "test1", | ||
"aliasName": null, | ||
"maskingFunction": "Text", | ||
"numberFrom": null, | ||
"numberTo": null, | ||
"prefixSize": "1", | ||
"suffixSize": "0", | ||
"replacementString": "asdf" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...er/Microsoft.Synapse/preview/2019-06-01-preview/examples/GetMaintenanceWindowOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "samplerg", | ||
"workspaceName": "testworkspace", | ||
"sqlPoolName": "testsp", | ||
"maintenanceWindowOptionsName": "current", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"isEnabled": true, | ||
"maintenanceWindowCycles": [ | ||
{ | ||
"dayOfWeek": "Saturday", | ||
"startTime": "00:00:00", | ||
"duration": "PT60M" | ||
} | ||
], | ||
"minDurationInMinutes": 60, | ||
"defaultDurationInMinutes": 120, | ||
"minCycles": 2, | ||
"timeGranularityInMinutes": 5, | ||
"allowMultipleMaintenanceWindowsPerCycle": true | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/samplerg/providers/Microsoft.Synapse/workspaces/testworkspace/sqlPools/testsp/maintenanceWindowOptions/current", | ||
"name": "current", | ||
"type": "Microsoft.Synapse/workspaces/sqlPools/maintenanceWindowOptions" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...-manager/Microsoft.Synapse/preview/2019-06-01-preview/examples/GetMaintenanceWindows.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "samplerg", | ||
"workspaceName": "testworkspace", | ||
"sqlPoolName": "testsp", | ||
"maintenanceWindowName": "current", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"timeRanges": [ | ||
{ | ||
"dayOfWeek": "Saturday", | ||
"startTime": "00:00:00", | ||
"duration": "PT60M" | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/samplerg/providers/Microsoft.Synapse/workspaces/testworkspace/sqlPools/testsp/maintenancewindows/current", | ||
"name": "current", | ||
"type": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...oft.Synapse/preview/2019-06-01-preview/examples/GetPrivateLinkHubPrivateLinkResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef", | ||
"resourceGroupName": "ExampleResourceGroup", | ||
"privateLinkHubName": "ExamplePrivateLinkHub", | ||
"privateLinkResourceName": "sql", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/privateLinkHubs/ExamplePrivateLinkHub/privateLinkResources/sql", | ||
"name": "sql", | ||
"type": "Microsoft.Synapse/privateLinkHubs/privateLinkResources", | ||
"properties": { | ||
"groupId": "sql", | ||
"requiredMembers": [ | ||
"sql" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.sql.azuresynapse.net" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...t.Synapse/preview/2019-06-01-preview/examples/ListPrivateLinkHubPrivateLinkResources.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef", | ||
"resourceGroupName": "ExampleResourceGroup", | ||
"privateLinkHubName": "ExamplePrivateLinkHub", | ||
"api-version": "2019-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/privateLinkHubs/ExamplePrivateLinkHub/privateLinkResources/sql", | ||
"name": "sql", | ||
"type": "Microsoft.Synapse/privateLinkHubs/privateLinkResources", | ||
"properties": { | ||
"groupId": "sql", | ||
"requiredMembers": [ | ||
"sql" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.sql.azuresynapse.net" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...Microsoft.Synapse/preview/2019-06-01-preview/examples/SensitivityLabelsCurrentUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "myRG", | ||
"workspaceName": "myWorkspace", | ||
"sqlPoolName": "mySqlPool", | ||
"api-version": "2019-06-01-preview", | ||
"parameters": { | ||
"operations": [ | ||
{ | ||
"properties": { | ||
"op": "set", | ||
"schema": "dbo", | ||
"table": "table1", | ||
"column": "column1", | ||
"sensitivityLabel": { | ||
"properties": { | ||
"labelName": "Highly Confidential", | ||
"labelId": "3A477B16-9423-432B-AA97-6069B481CEC3", | ||
"informationType": "Financial", | ||
"informationTypeId": "1D3652D6-422C-4115-82F1-65DAEBC665C8", | ||
"rank": "Low" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"op": "set", | ||
"schema": "dbo", | ||
"table": "table2", | ||
"column": "column2", | ||
"sensitivityLabel": { | ||
"properties": { | ||
"informationType": "PhoneNumber", | ||
"informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", | ||
"labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", | ||
"labelName": "PII", | ||
"rank": "Critical" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"op": "remove", | ||
"schema": "dbo", | ||
"table": "Table1", | ||
"column": "Column3" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...osoft.Synapse/preview/2019-06-01-preview/examples/SensitivityLabelsRecommendedUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "myRG", | ||
"workspaceName": "myWorkspace", | ||
"sqlPoolName": "mySqlPool", | ||
"api-version": "2019-06-01-preview", | ||
"parameters": { | ||
"operations": [ | ||
{ | ||
"properties": { | ||
"op": "enable", | ||
"schema": "dbo", | ||
"table": "table1", | ||
"column": "column1" | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"op": "enable", | ||
"schema": "dbo", | ||
"table": "table2", | ||
"column": "column2" | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"op": "disable", | ||
"schema": "dbo", | ||
"table": "table1", | ||
"column": "column3" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.