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 and Properties #20389

Merged
Show file tree
Hide file tree
Changes from 4 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 @@ -935,6 +935,55 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/scopePools": {
"get": {
"tags": [
"ScopePools"
],
"operationId": "ScopePoolsListByWorkspace_Get",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between these two PRs?
#20319

"description": "Gets a list of scope pools",
"x-ms-examples": {
"Get list of scope 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": {
Expand Down Expand Up @@ -1599,6 +1648,115 @@
"x-ms-client-flatten": true
}
}
},
"ScopePoolsListResult": {
"type": "object",
"properties": {
"value": {
"type": "object",
"items": {
"$ref": "#/definitions/ScopePools"
},
"description": "A list of Scope pools"
}
},
"description": "The response to a list Scope pools request"
},
"ScopePools": {
"type": "object",
"title": "Scope Pools",
"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 for workspace"
},
"ScopePoolProperties": {
"type": "object",
"description": "Properties for Scope Pool",
"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": "string",
"description": "Scope Pool Extended Properties",
"properties": {
"poolLimitAndPolicies": {
"type": "string",
"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": "Workspace provisioning State",
"modelAsString": true
}
}
}
}
}
}