Skip to content

Commit 9cbb172

Browse files
srinuthatisrinivas thatipamula
andauthored
correcting the placement constraint of publicnetworkaccess (#13674)
Co-authored-by: srinivas thatipamula <srthatip@microsoft.com>
1 parent 148997e commit 9cbb172

File tree

3 files changed

+31
-36
lines changed

3 files changed

+31
-36
lines changed

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/CreateOrUpdateWorkspace.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
}
4545
}
4646
},
47-
"networkSettings": {
48-
"publicNetworkAccess": "Enabled"
49-
}
47+
"publicNetworkAccess": "Enabled"
5048
},
5149
"location": "East US",
5250
"tags": {
@@ -118,9 +116,7 @@
118116
}
119117
}
120118
},
121-
"networkSettings": {
122-
"publicNetworkAccess": "Enabled"
123-
}
119+
"publicNetworkAccess": "Enabled"
124120
},
125121
"tags": {
126122
"key": "value"
@@ -167,9 +163,7 @@
167163
}
168164
}
169165
},
170-
"networkSettings": {
171-
"publicNetworkAccess": "Enabled"
172-
}
166+
"publicNetworkAccess": "Enabled"
173167
},
174168
"tags": {
175169
"key": "value"

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/UpdateWorkspace.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"keyVaultUrl": "https://vault.azure.net/keys/key1"
4040
}
4141
}
42-
}
42+
},
43+
"publicNetworkAccess": "Enabled"
4344
}
4445
}
4546
},
@@ -82,7 +83,8 @@
8283
"keyVaultUrl": "https://vault.azure.net/keys/key1"
8384
}
8485
}
85-
}
86+
},
87+
"publicNetworkAccess": "Enabled"
8688
},
8789
"tags": {
8890
"key": "value"
@@ -127,7 +129,8 @@
127129
"keyVaultUrl": "https://vault.azure.net/keys/key1"
128130
}
129131
}
130-
}
132+
},
133+
"publicNetworkAccess": "Enabled"
131134
},
132135
"tags": {
133136
"key": "value"

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/workspace.json

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,17 @@
12111211
"type": "string",
12121212
"readOnly": true
12131213
},
1214-
"networkSettings": {
1215-
"description": "Network Settings",
1216-
"$ref": "#/definitions/NetworkSettings"
1214+
"publicNetworkAccess": {
1215+
"enum": [
1216+
"Enabled",
1217+
"Disabled"
1218+
],
1219+
"description": "Enable or Disable pubic network access to workspace",
1220+
"type": "string",
1221+
"x-ms-enum": {
1222+
"name": "WorkspacePublicNetworkAccess",
1223+
"modelAsString": true
1224+
}
12171225
}
12181226
}
12191227
},
@@ -1268,9 +1276,17 @@
12681276
"description": "The encryption details of the workspace",
12691277
"$ref": "#/definitions/EncryptionDetails"
12701278
},
1271-
"networkSettings": {
1272-
"description": "Network Settings",
1273-
"$ref": "#/definitions/NetworkSettings"
1279+
"publicNetworkAccess": {
1280+
"enum": [
1281+
"Enabled",
1282+
"Disabled"
1283+
],
1284+
"description": "Enable or Disable pubic network access to workspace",
1285+
"type": "string",
1286+
"x-ms-enum": {
1287+
"name": "WorkspacePublicNetworkAccess",
1288+
"modelAsString": true
1289+
}
12741290
}
12751291
}
12761292
},
@@ -1401,24 +1417,6 @@
14011417
"value"
14021418
],
14031419
"description": "The response to a list restorable dropped Sql pools request"
1404-
},
1405-
"NetworkSettings": {
1406-
"description": "Network Settings",
1407-
"type": "object",
1408-
"properties": {
1409-
"publicNetworkAccess": {
1410-
"enum": [
1411-
"Enabled",
1412-
"Disabled"
1413-
],
1414-
"description": "Enable or Disable pubic network access to workspace",
1415-
"type": "string",
1416-
"x-ms-enum": {
1417-
"name": "WorkspacePublicNetworkAccess",
1418-
"modelAsString": true
1419-
}
1420-
}
1421-
}
14221420
}
14231421
},
14241422
"parameters": {

0 commit comments

Comments
 (0)