Skip to content

Commit 6af1afc

Browse files
authored
Fix update PublicNetworkAccess not work in Factory Update API (#17553)
* Fix update PublicNetworkAccess not work in Factory Update API * fix an issue * update
1 parent c02f047 commit 6af1afc

File tree

1 file changed

+22
-11
lines changed
  • specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01

1 file changed

+22
-11
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5216,6 +5216,24 @@
52165216
}
52175217
}
52185218
},
5219+
"FactoryUpdateProperties": {
5220+
"description": "Factory update resource properties.",
5221+
"type": "object",
5222+
"properties": {
5223+
"publicNetworkAccess": {
5224+
"description": "Whether or not public network access is allowed for the data factory.",
5225+
"enum": [
5226+
"Enabled",
5227+
"Disabled"
5228+
],
5229+
"type": "string",
5230+
"x-ms-enum": {
5231+
"name": "PublicNetworkAccess",
5232+
"modelAsString": true
5233+
}
5234+
}
5235+
}
5236+
},
52195237
"EncryptionConfiguration": {
52205238
"description": "Definition of CMK for the factory.",
52215239
"properties": {
@@ -5400,17 +5418,10 @@
54005418
"$ref": "#/definitions/FactoryIdentity",
54015419
"description": "Managed service identity of the factory."
54025420
},
5403-
"publicNetworkAccess": {
5404-
"description": "Whether or not public network access is allowed for the data factory.",
5405-
"enum": [
5406-
"Enabled",
5407-
"Disabled"
5408-
],
5409-
"type": "string",
5410-
"x-ms-enum": {
5411-
"name": "PublicNetworkAccess",
5412-
"modelAsString": true
5413-
}
5421+
"properties": {
5422+
"x-ms-client-flatten": true,
5423+
"$ref": "#/definitions/FactoryUpdateProperties",
5424+
"description": "Properties of update the factory."
54145425
}
54155426
}
54165427
},

0 commit comments

Comments
 (0)