Skip to content

Commit 94d84ee

Browse files
authored
Add additional Dapr options (2022-06-01-preview) (#19886)
* Add additional Dapr options * Update examples for 2022-06-01-preview * force ci * force ci * force ci
1 parent bb43ed1 commit 94d84ee

File tree

6 files changed

+44
-5
lines changed

6 files changed

+44
-5
lines changed

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,31 @@
593593
},
594594
"httpReadBufferSize": {
595595
"type": "integer",
596+
"description": "Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.",
596597
"format": "int32"
598+
},
599+
"httpMaxRequestSize": {
600+
"type": "integer",
601+
"description": "Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.",
602+
"format": "int32"
603+
},
604+
"logLevel": {
605+
"description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.",
606+
"enum": [
607+
"info",
608+
"debug",
609+
"warn",
610+
"error"
611+
],
612+
"type": "string",
613+
"x-ms-enum": {
614+
"name": "logLevel",
615+
"modelAsString": true
616+
}
617+
},
618+
"enableApiLogging": {
619+
"description": "Enables API logging for the Dapr sidecar",
620+
"type": "boolean"
597621
}
598622
}
599623
},

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
"enabled": true,
3737
"appPort": 3000,
3838
"appProtocol": "http",
39-
"httpReadBufferSize": 30
39+
"httpReadBufferSize": 30,
40+
"httpMaxRequestSize": 10,
41+
"logLevel": "debug",
42+
"enableApiLogging": true
4043
}
4144
},
4245
"template": {

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
"enabled": true,
5252
"appPort": 3000,
5353
"appProtocol": "http",
54-
"httpReadBufferSize": 30
54+
"httpReadBufferSize": 30,
55+
"httpMaxRequestSize": 10,
56+
"logLevel": "debug",
57+
"enableApiLogging": true
5558
}
5659
},
5760
"template": {

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
"enabled": true,
5353
"appPort": 3000,
5454
"appProtocol": "http",
55-
"httpReadBufferSize": 30
55+
"httpReadBufferSize": 30,
56+
"httpMaxRequestSize": 10,
57+
"logLevel": "debug",
58+
"enableApiLogging": true
5659
}
5760
},
5861
"template": {

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
"enabled": true,
5252
"appPort": 3000,
5353
"appProtocol": "http",
54-
"httpReadBufferSize": 30
54+
"httpReadBufferSize": 30,
55+
"httpMaxRequestSize": 10,
56+
"logLevel": "debug",
57+
"enableApiLogging": true
5558
}
5659
},
5760
"template": {

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
"enabled": true,
4040
"appPort": 3000,
4141
"appProtocol": "http",
42-
"httpReadBufferSize": 30
42+
"httpReadBufferSize": 30,
43+
"httpMaxRequestSize": 10,
44+
"logLevel": "debug",
45+
"enableApiLogging": true
4346
}
4447
},
4548
"template": {

0 commit comments

Comments
 (0)