Skip to content
Merged
Show file tree
Hide file tree
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
Expand Up @@ -2301,70 +2301,13 @@
}
},
"definitions": {
"Resource": {
"description": "Azure Synapse top-level resource.",
"properties": {
"id": {
"type": "string",
"description": "The resource identifier.",
"readOnly": true
},
"name": {
"type": "string",
"description": "The resource name.",
"readOnly": true
},
"type": {
"type": "string",
"description": "The resource type.",
"readOnly": true
},
"location": {
"type": "string",
"description": "The resource location.",
"x-ms-mutability": [
"create",
"read"
]
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The resource tags."
},
"eTag": {
"type": "string",
"description": "Etag identifies change in the resource.",
"readOnly": true
}
}
},
"SubResource": {
"description": "Azure Synapse nested resource, which belongs to a workspace.",
"properties": {
"id": {
"type": "string",
"description": "The resource identifier.",
"readOnly": true
},
"name": {
"type": "string",
"description": "The resource name.",
"readOnly": true
},
"type": {
"type": "string",
"description": "The resource type.",
"readOnly": true
},
"etag": {
"type": "string",
"description": "Etag identifies change in the resource.",
"readOnly": true
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource"
}
}
]
},
"SubResourceDebugResource": {
"description": "Azure Synapse nested debug resource.",
Expand Down Expand Up @@ -3139,29 +3082,6 @@
}
}
},
"Workspace": {
"description": "Workspace resource type.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {
"identity": {
"$ref": "#/definitions/WorkspaceIdentity",
"description": "Managed service identity of the workspace."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/WorkspaceProperties",
"description": "Properties of the workspace."
}
},
"additionalProperties": {
"type": "object"
}
},
"WorkspaceUpdateParameters": {
"description": "Parameters for updating a workspace resource.",
"properties": {
Expand Down Expand Up @@ -3207,35 +3127,6 @@
"type"
]
},
"WorkspaceProperties": {
"description": "Workspace resource properties.",
"properties": {
"provisioningState": {
"description": "Workspace provisioning state, example Succeeded.",
"type": "string",
"readOnly": true
},
"createTime": {
"description": "Time the workspace was created in ISO8601 format.",
"type": "string",
"readOnly": true,
"format": "date-time"
},
"version": {
"description": "Version of the workspace.",
"type": "string",
"readOnly": true
},
"defaultStorage": {
"description": "Linked service reference.",
"$ref": "#/definitions/LinkedServiceReference"
},
"defaultSqlServer": {
"description": "Linked service reference.",
"$ref": "#/definitions/LinkedServiceReference"
}
}
},
"DatasetReference": {
"description": "Dataset reference type.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"swagger": "2.0",
"info": {
"version": "2019-06-01-preview",
"title": "ArtifactsClient"
},
"x-ms-parameterized-host": {
"hostTemplate": "{endpoint}",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Endpoint"
}
]
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/bigDataPools": {
"get": {
"tags": [
"BigDataPools"
],
"operationId": "BigDataPools_List",
"description": "List Big Data Pools",
"x-ms-examples": {
"List Big Data Pools": {
"$ref": "./examples/BigDataPools_List.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success response.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json#/definitions/BigDataPoolResourceInfoListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/workspace.json#/definitions/ErrorContract"
}
}
}
}
},
"/bigDataPools/{bigDataPoolName}": {
"get": {
"tags": [
"BigDataPools"
],
"operationId": "BigDataPools_Get",
"description": "Get Big Data Pool",
"x-ms-examples": {
"Get Big Data Pool": {
"$ref": "./examples/BigDataPools_Get.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/BigDataPoolNameParameter"
}
],
"responses": {
"200": {
"description": "Success response.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json#/definitions/BigDataPoolResourceInfo"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/workspace.json#/definitions/ErrorContract"
}
}
}
}
}
},
"definitions": {},
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The Synapse client API Version."
},
"Endpoint": {
"name": "endpoint",
"description": "The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-parameter-location": "client"
},
"BigDataPoolNameParameter": {
"name": "bigDataPoolName",
"in": "path",
"required": true,
"type": "string",
"description": "The Big Data Pool name",
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"bigDataPoolName": "pool1",
"api-version": "2020-01-01-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"creationDate": "2020-07-14T10:09:52.5133333Z",
"sparkVersion": "2.4",
"nodeCount": 3,
"nodeSize": "Small",
"nodeSizeFamily": "MemoryOptimized",
"autoScale": {
"enabled": true,
"minNodeCount": 3,
"maxNodeCount": 20
},
"autoPause": {
"enabled": true,
"delayInMinutes": 15
},
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Synapse/workspaces/exampleWorkspace/sparkComputes/pool1",
"name": "pool1",
"type": "Microsoft.Synapse/workspaces/sparkComputes",
"location": "southeastasia",
"tags": {}
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"api-version": "2020-01-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"creationDate": "2020-07-14T10:09:52.5133333Z",
"sparkVersion": "2.4",
"nodeCount": 3,
"nodeSize": "Small",
"nodeSizeFamily": "MemoryOptimized",
"autoScale": {
"enabled": true,
"minNodeCount": 3,
"maxNodeCount": 20
},
"autoPause": {
"enabled": true,
"delayInMinutes": 15
},
"provisioningState": "Succeeded"
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Synapse/workspaces/exampleWorkspace/sparkComputes/pool1",
"name": "pool1",
"type": "Microsoft.Synapse/workspaces/sparkComputes",
"location": "southeastasia",
"tags": {}
}
]
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"integrationRuntimeName": "IntegrationRuntime1",
"api-version": "2020-01-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Synapse/workspaces/exampleWorkspace/integrationruntimes/IntegrationRuntime1",
"name": "IntegrationRuntime1",
"type": "Microsoft.Synapse/workspaces/integrationruntimes",
"properties": {
"type": "Managed",
"typeProperties": {
"computeProperties": {
"location": "Australia Southeast",
"dataFlowProperties": {
"computeType": "General",
"coreCount": 8,
"timeToLive": 0
}
}
}
},
"etag": "00000000-0000-0000-0000-000000000000"
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Loading