Skip to content

Commit 9860bbd

Browse files
12VamshiKrishnaVamshiKrishna Chirra (Quadrant Resource)
andauthored
Added Path and example (#20425)
* Added Path and example * Parameter changes * Description added * value changes * Response changes * example changes * Property added * name changes * Definition changes * model validation * object added * Response/prettier changes Co-authored-by: VamshiKrishna Chirra (Quadrant Resource) <[email protected]>
1 parent bc2806d commit 9860bbd

File tree

2 files changed

+128
-0
lines changed

2 files changed

+128
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "89e2c1d6-3f1d-45d1-8ddf-d8ea6cab925e",
4+
"resourceGroupName": "lee-synapse-dev",
5+
"workspaceName": "lee-synws-dw-dev",
6+
"checkDefaultStorageAccountStatus": {
7+
"properties": {
8+
"isPrivateLinked": true,
9+
"privateEndpointResourceId": "abc123"
10+
}
11+
},
12+
"api-version": "2021-06-01-preview"
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"value": [
18+
{
19+
"id": "/subscriptions/89e2c1d6-3f1d-45d1-8ddf-d8ea6cab925e/resourceGroups/lee-synapse-dev/providers/Microsoft.Synapse/workspaces/lee-synws-dw-dev/checkDefaultStorageAccountStatus",
20+
"type": "Microsoft.Synapse/workspaces/checkDefaultStorageAccountStatus",
21+
"location": "Japan East",
22+
"properties": {
23+
"isPrivateLinked": true,
24+
"privateEndpointResourceId": "abc123"
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}

specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/workspace.json

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,66 @@
935935
}
936936
}
937937
}
938+
},
939+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/checkDefaultStorageAccountStatus": {
940+
"post": {
941+
"tags": [
942+
"Workspaces, checkDefaultStorageAccountStatus"
943+
],
944+
"operationId": "WorkspaceCheckDefaultStorageAccountStatus_Create",
945+
"description": "Check Default Storage Account Status",
946+
"parameters": [
947+
{
948+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
949+
},
950+
{
951+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
952+
},
953+
{
954+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
955+
},
956+
{
957+
"$ref": "../../../../common/v1/types.json../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
958+
},
959+
{
960+
"schema": {
961+
"type": "object",
962+
"items": {
963+
"$ref": "#/definitions/CheckDefaultStorageAccountStatus"
964+
}
965+
},
966+
"name": "checkDefaultStorageAccountStatus",
967+
"in": "body",
968+
"description": "Check Default Storage Account Status",
969+
"required": true
970+
}
971+
],
972+
"responses": {
973+
"200": {
974+
"schema": {
975+
"type": "object",
976+
"items": {
977+
"$ref": "#/definitions/CheckDefaultStorageAccountStatus"
978+
}
979+
},
980+
"description": "OK"
981+
},
982+
"default": {
983+
"schema": {
984+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
985+
},
986+
"description": "Error"
987+
}
988+
},
989+
"produces": [
990+
"application/json"
991+
],
992+
"x-ms-examples": {
993+
"Workspace check default storage account status": {
994+
"$ref": "./examples/CheckDefaultStorageAccountStatus.json"
995+
}
996+
}
997+
}
938998
}
939999
},
9401000
"definitions": {
@@ -1599,6 +1659,43 @@
15991659
"x-ms-client-flatten": true
16001660
}
16011661
}
1662+
},
1663+
"CheckDefaultStorageAccountStatusProperties": {
1664+
"description": "Properties of the Check Default Storage Account Status.",
1665+
"type": "object",
1666+
"properties": {
1667+
"isPrivateLinked": {
1668+
"description": "Is Storage Account Status Linked.",
1669+
"type": "boolean",
1670+
"readOnly": true
1671+
},
1672+
"privateEndpointResourceId": {
1673+
"description": "Endpoint ResourceId.",
1674+
"type": "string",
1675+
"readOnly": true
1676+
}
1677+
}
1678+
},
1679+
"CheckDefaultStorageAccountStatus": {
1680+
"description": "Workspace Check Default Storage Account Status.",
1681+
"type": "object",
1682+
"allOf": [
1683+
{
1684+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
1685+
}
1686+
],
1687+
"properties": {
1688+
"location": {
1689+
"type": "string",
1690+
"readOnly": true,
1691+
"description": "The geo-location where the resource lives"
1692+
},
1693+
"properties": {
1694+
"$ref": "#/definitions/CheckDefaultStorageAccountStatusProperties",
1695+
"description": "Workspace Check Default Storage Account Status Properties.",
1696+
"x-ms-client-flatten": true
1697+
}
1698+
}
16021699
}
16031700
}
16041701
}

0 commit comments

Comments
 (0)