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 Path #20319

Closed
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
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "d7109bf4-4ca6-46b5-b582-722e2462b7f5",
"resourceGroupName": "Agile_Analytics_Prod",
"workspaceName": "mdesynwus2prd01",
"api-version": "2021-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/d7109bf4-4ca6-46b5-b582-722e2462b7f5/resourceGroups/Agile_Analytics_Prod/providers/Microsoft.Synapse/workspaces/mdesynwus2prd01/scopePools",
"name": "usrscpl01",
"type": "Microsoft.Synapse/workspaces/scopePools",
"location": "Japan East",
"properties": {
"creationDate": "2021-05-24T05:19:55.3133333Z",
"maxQueuedJobs": 10,
"maxRunningJobs": 2,
"maxTokens": 50,
"maxEcoTokens": 0,
"extendedProperties": {
"poolLimitAndPolicies": {
"maxTokensPerJob": 50,
"maxEcoTokensPerJob": 0
}
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,57 @@
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/scopePools": {
"get": {
"tags": [
"ScopePools"
],
"operationId": "ScopePools_ListByWorkspace",
"description": "Gets a list of scope pools",
"x-ms-examples": {
"Get list of restorable dropped Sql pools": {
"$ref": "./examples/GetScopePoolsList.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
}
],
"consumes": [],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ScopePoolsListResult"
}
},
"default": {
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": "Error"
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
}
},
},
"definitions": {
"AadAdminProperties": {
"description": "Workspace active directory administrator properties",
Expand Down Expand Up @@ -1512,6 +1561,113 @@
"value"
],
"description": "The response to a list restorable dropped Sql pools request"
},
"ScopePoolsListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ScopePools"
},
"description": "A list of Scope pools"
}
},
"required": [
"value"
],
"description": "The response to a list Scope pools request"
},
"ScopePools": {
"properties": {
"location": {
"type": "string",
"readOnly": true,
"description": "The geo-location where the resource lives"
},
"properties": {
"$ref": "#/definitions/ScopePoolProperties",
"description": "The properties of a Scope pool",
"x-ms-client-flatten": true
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
}
],
"description": "Scope pool"
},
"ScopePoolProperties": {
"properties": {
"creationDate": {
"description": "The Creation Date for Scope Pool",
"type": "string",
"format": "date-time",
"readOnly": true
},
"maxQueuedJobs": {
"readOnly": true,
"type": "number",
"format": "int32",
"description": "The maximum numbers of jobs that can queue up"
},
"maxRunningJobs": {
"readOnly": true,
"type": "number",
"format": "int32",
"description": "The maximum number of jobs that can run simultaneously"
},
"maxTokens": {
"readOnly": true,
"type": "number",
"format": "int32",
"description": "The max tokens per pool"
},
"maxEcoTokens": {
"readOnly": true,
"type": "number",
"format": "int32",
"description": "The max ECO tokens per pool"
},
"extendedProperties": {
"type": "object",
"description": "Scope Pool Extended Properties",
"properties": {
"poolLimitAndPolicies": {
"type": "object",
"description": "Scope pool Limit And Policies",
"properties": {
"maxTokensPerJob": {
"type": "number",
"format": "int32",
"description": "Max Tokens Per Job"
},
"maxEcoTokensPerJob": {
"type": "number",
"format": "int32",
"description": "Max ECO Tokens Per Job"
}
}
}
}
},
"provisioningState": {
"enum": [
"Provisioning",
"Succeeded",
"Deleting",
"Failed",
"DeleteError",
"UpdateError"
],
"description": "Provisioning State of Scope Pool",
"type": "string",
"x-ms-enum": {
"name": "WorkspaceprovisioningState",
"modelAsString": true
}
}
}
}
}
}
}