Skip to content

Commit d540b24

Browse files
author
SDKAuto
committed
CodeGen from PR 17697 in Azure/azure-rest-api-specs
Merge 6a2d393e781b1d0ec333fbece63126f43fc00d52 into b7ceedcb657cac760383b17627cd2c1f47dd1521
1 parent d120ab6 commit d540b24

File tree

3 files changed

+167
-2
lines changed

3 files changed

+167
-2
lines changed

schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,22 @@
11041104
"BlobReferenceInputDataSourceProperties": {
11051105
"type": "object",
11061106
"properties": {
1107+
"authenticationMode": {
1108+
"oneOf": [
1109+
{
1110+
"type": "string",
1111+
"enum": [
1112+
"Msi",
1113+
"UserToken",
1114+
"ConnectionString"
1115+
]
1116+
},
1117+
{
1118+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1119+
}
1120+
],
1121+
"description": "Authentication Mode."
1122+
},
11071123
"container": {
11081124
"type": "string",
11091125
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."
@@ -1166,6 +1182,22 @@
11661182
"BlobStreamInputDataSourceProperties": {
11671183
"type": "object",
11681184
"properties": {
1185+
"authenticationMode": {
1186+
"oneOf": [
1187+
{
1188+
"type": "string",
1189+
"enum": [
1190+
"Msi",
1191+
"UserToken",
1192+
"ConnectionString"
1193+
]
1194+
},
1195+
{
1196+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1197+
}
1198+
],
1199+
"description": "Authentication Mode."
1200+
},
11691201
"container": {
11701202
"type": "string",
11711203
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."

schemas/2020-03-01/Microsoft.StreamAnalytics.json

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,72 @@
468468
},
469469
"description": "The properties that are associated with an Azure Data Lake Store."
470470
},
471+
"AzureFunctionOutputDataSource": {
472+
"type": "object",
473+
"properties": {
474+
"properties": {
475+
"oneOf": [
476+
{
477+
"$ref": "#/definitions/AzureFunctionOutputDataSourceProperties"
478+
},
479+
{
480+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
481+
}
482+
],
483+
"description": "The properties that are associated with an Azure Function output."
484+
},
485+
"type": {
486+
"type": "string",
487+
"enum": [
488+
"Microsoft.AzureFunction"
489+
]
490+
}
491+
},
492+
"required": [
493+
"type"
494+
],
495+
"description": "Defines the metadata of AzureFunctionOutputDataSource"
496+
},
497+
"AzureFunctionOutputDataSourceProperties": {
498+
"type": "object",
499+
"properties": {
500+
"apiKey": {
501+
"type": "string",
502+
"description": "If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function."
503+
},
504+
"functionAppName": {
505+
"type": "string",
506+
"description": "The name of your Azure Functions app."
507+
},
508+
"functionName": {
509+
"type": "string",
510+
"description": "The name of the function in your Azure Functions app."
511+
},
512+
"maxBatchCount": {
513+
"oneOf": [
514+
{
515+
"type": "number"
516+
},
517+
{
518+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
519+
}
520+
],
521+
"description": "A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100."
522+
},
523+
"maxBatchSize": {
524+
"oneOf": [
525+
{
526+
"type": "number"
527+
},
528+
{
529+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
530+
}
531+
],
532+
"description": "A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB)."
533+
}
534+
},
535+
"description": "The properties that are associated with an Azure Function output."
536+
},
471537
"AzureMachineLearningWebServiceFunctionBinding": {
472538
"type": "object",
473539
"properties": {
@@ -1013,6 +1079,22 @@
10131079
"BlobReferenceInputDataSourceProperties": {
10141080
"type": "object",
10151081
"properties": {
1082+
"authenticationMode": {
1083+
"oneOf": [
1084+
{
1085+
"type": "string",
1086+
"enum": [
1087+
"Msi",
1088+
"UserToken",
1089+
"ConnectionString"
1090+
]
1091+
},
1092+
{
1093+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1094+
}
1095+
],
1096+
"description": "Authentication Mode."
1097+
},
10161098
"container": {
10171099
"type": "string",
10181100
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."
@@ -1075,6 +1157,22 @@
10751157
"BlobStreamInputDataSourceProperties": {
10761158
"type": "object",
10771159
"properties": {
1160+
"authenticationMode": {
1161+
"oneOf": [
1162+
{
1163+
"type": "string",
1164+
"enum": [
1165+
"Msi",
1166+
"UserToken",
1167+
"ConnectionString"
1168+
]
1169+
},
1170+
{
1171+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1172+
}
1173+
],
1174+
"description": "Authentication Mode."
1175+
},
10781176
"container": {
10791177
"type": "string",
10801178
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."
@@ -1934,6 +2032,9 @@
19342032
{
19352033
"$ref": "#/definitions/DocumentDbOutputDataSource"
19362034
},
2035+
{
2036+
"$ref": "#/definitions/AzureFunctionOutputDataSource"
2037+
},
19372038
{
19382039
"$ref": "#/definitions/ServiceBusQueueOutputDataSource"
19392040
},

schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@
377377
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
378378
}
379379
],
380-
"description": "The properties that are associated with a DocumentDB output."
380+
"description": "The properties that are associated with an Azure Function output."
381381
},
382382
"type": {
383383
"type": "string",
@@ -429,7 +429,7 @@
429429
"description": "A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB)."
430430
}
431431
},
432-
"description": "The properties that are associated with a DocumentDB output."
432+
"description": "The properties that are associated with an Azure Function output."
433433
},
434434
"AzureMachineLearningServiceFunctionBinding": {
435435
"type": "object",
@@ -1116,6 +1116,22 @@
11161116
"BlobReferenceInputDataSourceProperties": {
11171117
"type": "object",
11181118
"properties": {
1119+
"authenticationMode": {
1120+
"oneOf": [
1121+
{
1122+
"type": "string",
1123+
"enum": [
1124+
"Msi",
1125+
"UserToken",
1126+
"ConnectionString"
1127+
]
1128+
},
1129+
{
1130+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1131+
}
1132+
],
1133+
"description": "Authentication Mode."
1134+
},
11191135
"container": {
11201136
"type": "string",
11211137
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."
@@ -1178,6 +1194,22 @@
11781194
"BlobStreamInputDataSourceProperties": {
11791195
"type": "object",
11801196
"properties": {
1197+
"authenticationMode": {
1198+
"oneOf": [
1199+
{
1200+
"type": "string",
1201+
"enum": [
1202+
"Msi",
1203+
"UserToken",
1204+
"ConnectionString"
1205+
]
1206+
},
1207+
{
1208+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1209+
}
1210+
],
1211+
"description": "Authentication Mode."
1212+
},
11811213
"container": {
11821214
"type": "string",
11831215
"description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests."

0 commit comments

Comments
 (0)