Skip to content

Commit

Permalink
Enable Dapr AI Connection string for Microsoft.App connected environm…
Browse files Browse the repository at this point in the history
…ent (#19974)

* Enable Dapr AI Connection string for Microsoft.App connected environment

* Fix dapr ai connection string

* remove read

* remove read permission of dapr ai connection string and instrument key for managed environment

* fixes for comments
  • Loading branch information
LaylaLiu-gmail authored Jul 29, 2022
1 parent ec34aa3 commit 83d8432
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,11 @@
"staticIp": {
"description": "Static IP of the connectedEnvironment",
"type": "string"
},
"daprAIConnectionString": {
"type": "string",
"description": "Application Insights connection string used by Dapr to export Service to Service communication telemetry",
"x-ms-secret": true
}
},
"x-ms-client-flatten": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,19 +751,11 @@
"daprAIInstrumentationKey": {
"type": "string",
"description": "Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry",
"x-ms-mutability": [
"create",
"read"
],
"x-ms-secret": true
},
"daprAIConnectionString": {
"type": "string",
"description": "Application Insights connection string used by Dapr to export Service to Service communication telemetry",
"x-ms-mutability": [
"create",
"read"
],
"x-ms-secret": true
},
"vnetConfiguration": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"environmentEnvelope": {
"location": "East US",
"properties": {
"staticIp": "1.2.3.4"
"staticIp": "1.2.3.4",
"daprAIConnectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/"
}
}
},
Expand Down

0 comments on commit 83d8432

Please sign in to comment.