Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing APIs in Synapse Swagger. #12424

Merged
merged 9 commits into from
Jan 16, 2021
Merged
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2065,4 +2065,4 @@ checkin
regionality
Resource
Metastores

maintenancewindows
Original file line number Diff line number Diff line change
Expand Up @@ -416,14 +416,19 @@
"type": "boolean",
"description": "Whether compute isolation is required or not."
},
"haveLibraryRequirementsChanged": {
"type": "boolean",
"description": "Whether library requirements changed."
},
"sessionLevelPackagesEnabled": {
"type": "boolean",
"description": "Whether session level packages enabled."
},
"cacheSize": {
"type": "integer",
"format": "int32",
"description": "The cache size"
},
"dynamicExecutorAllocation": {
"$ref": "#/definitions/DynamicExecutorAllocation",
"description": "Dynamic Executor Allocation"
},
"sparkEventsFolder": {
"type": "string",
"description": "The Spark events folder"
Expand Down Expand Up @@ -517,6 +522,16 @@
}
}
},
"DynamicExecutorAllocation": {
"type": "object",
"description": "Dynamic Executor Allocation Properties",
"properties": {
"enabled": {
"type": "boolean",
"description": "Indicates whether Dynamic Executor Allocation is enabled or not."
}
}
},
"LibraryRequirements": {
"type": "object",
"description": "Library requirements for a Big Data pool powered by Apache Spark",
Expand Down
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": {}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading