-
Notifications
You must be signed in to change notification settings - Fork 5.6k
pricing tier swagger #9094
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
pricing tier swagger #9094
Changes from 6 commits
71ae97a
72872d6
80b1b67
1684ad1
d8c61aa
f74f359
b354832
061b7ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2159,6 +2159,60 @@ | |
| } | ||
| } | ||
| } | ||
| }, | ||
| "/skus/Spring": { | ||
| "get": { | ||
| "tags": [ | ||
| "AppPlatform" | ||
| ], | ||
| "operationId": "Sku_ListServiceSku", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "#/parameters/ApiVersionParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Success", | ||
| "schema": { | ||
| "$ref": "#/definitions/ResourceTypeSkuCollection" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CloudError" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "/skus/Spring/apps/deployments": { | ||
| "get": { | ||
| "tags": [ | ||
| "AppPlatform" | ||
| ], | ||
| "operationId": "Sku_ListDeploymentSku", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "#/parameters/ApiVersionParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Success", | ||
| "schema": { | ||
| "$ref": "#/definitions/ResourceTypeSkuCollection" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/CloudError" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
|
|
@@ -2175,6 +2229,10 @@ | |
| "$ref": "#/definitions/ClusterResourceProperties", | ||
| "description": "Properties of the Service resource", | ||
| "x-ms-client-flatten": false | ||
| }, | ||
| "sku": { | ||
pilor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "$ref": "#/definitions/Sku", | ||
| "description": "Sku of the Service resource" | ||
| } | ||
| } | ||
| }, | ||
|
|
@@ -2267,6 +2325,28 @@ | |
| } | ||
| } | ||
| }, | ||
| "Sku": { | ||
| "description": "Sku of Azure Spring Cloud", | ||
| "required": [ | ||
| "name" | ||
| ], | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "description": "Name of the Sku", | ||
| "type": "string" | ||
| }, | ||
pilor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "tier": { | ||
| "description": "Tier of the Sku", | ||
| "type": "string" | ||
| }, | ||
| "capacity": { | ||
| "format": "int32", | ||
| "description": "Current capacity of the target resource", | ||
| "type": "integer" | ||
| } | ||
pilor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| }, | ||
| "ConfigServerProperties": { | ||
| "description": "Config server git properties payload", | ||
| "type": "object", | ||
|
|
@@ -3403,6 +3483,112 @@ | |
| } | ||
| } | ||
| }, | ||
| "ResourceTypeSkuCollection": { | ||
| "description": "Collection of supported Skus of Azure Spring Cloud resources", | ||
| "type": "object", | ||
| "properties": { | ||
| "value": { | ||
| "description": "Collection of supported Skus", | ||
| "uniqueItems": false, | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/ResourceTypeSku" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "ResourceTypeSku": { | ||
|
||
| "description": "Supported Skus of Azure Spring Cloud resources", | ||
| "type": "object", | ||
| "properties": { | ||
| "resourceType": { | ||
| "description": "Resource type", | ||
| "type": "string" | ||
| }, | ||
| "skus": { | ||
| "description": "Supported Skus", | ||
| "uniqueItems": false, | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/SkuSetting" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "SkuSetting": { | ||
| "description": "Supported Sku settings of Azure Spring Cloud", | ||
| "required": [ | ||
| "name" | ||
| ], | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "description": "Name of the Sku", | ||
| "type": "string" | ||
| }, | ||
| "tier": { | ||
| "description": "Tier of the Sku", | ||
| "type": "string" | ||
| }, | ||
| "locations": { | ||
| "description": "Locations of the Sku", | ||
| "uniqueItems": false, | ||
| "type": "array", | ||
| "items": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "requiredFeatures": { | ||
| "description": "Required features of the Sku", | ||
| "uniqueItems": false, | ||
| "type": "array", | ||
| "items": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "capacity": { | ||
| "$ref": "#/definitions/SkuCapacity", | ||
| "description": "Capacity of the SKU" | ||
| } | ||
| } | ||
| }, | ||
| "SkuCapacity": { | ||
| "description": "The SKU capacity", | ||
| "required": [ | ||
| "minimum" | ||
| ], | ||
| "type": "object", | ||
| "properties": { | ||
| "minimum": { | ||
| "format": "int32", | ||
| "description": "Gets or sets the minimum.", | ||
| "type": "integer" | ||
| }, | ||
| "maximum": { | ||
| "format": "int32", | ||
| "description": "Gets or sets the maximum.", | ||
| "type": "integer" | ||
| }, | ||
| "default": { | ||
| "format": "int32", | ||
| "description": "Gets or sets the default.", | ||
| "type": "integer" | ||
| }, | ||
| "scaleType": { | ||
| "description": "Gets or sets the type of the scale.", | ||
| "enum": [ | ||
| "None", | ||
| "Manual", | ||
| "Automatic" | ||
| ], | ||
| "type": "string", | ||
| "x-ms-enum": { | ||
| "name": "SkuScaleType", | ||
| "modelAsString": true | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "CloudError": { | ||
| "description": "An error response from the service.", | ||
| "properties": { | ||
|
|
@@ -3531,4 +3717,4 @@ | |
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.