Skip to content

Commit

Permalink
rearranging of elements for use-cases (#521)
Browse files Browse the repository at this point in the history
* rearranging of elements for use-cases

* adding storage rbac

* adding azmon

* updated variable
  • Loading branch information
krnese authored Feb 1, 2024
1 parent 791e2a0 commit df4c1b0
Show file tree
Hide file tree
Showing 6 changed files with 499 additions and 16 deletions.
175 changes: 164 additions & 11 deletions fsi/solutions/generativeAi/EnterpriseAIPortal.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,34 @@
},
"visible": true
},
{
"name": "kvMonSection",
"type": "Microsoft.Common.Section",
"label": "Azure Monitor Settings",
"elements": [],
"visible": true
},
{
"name": "kvMonCreation",
"type": "Microsoft.Common.OptionsGroup",
"label": "Enable Diagnostic Settings for logging and threat detection",
"defaultValue": "Yes (recommended)",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Yes (recommended)",
"value": "Yes"
},
{
"label": "No",
"value": "No"
}
],
"required": true
},
"visible": true
},
{
"name": "nwSection",
"type": "Microsoft.Common.Section",
Expand Down Expand Up @@ -461,6 +489,34 @@
"required": true
},
"visible": true
},
{
"name": "stMonSection",
"type": "Microsoft.Common.Section",
"label": "Azure Monitor Settings",
"elements": [],
"visible": true
},
{
"name": "stMonCreation",
"type": "Microsoft.Common.OptionsGroup",
"label": "Enable Diagnostic Settings for logging and threat detection",
"defaultValue": "Yes (recommended)",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Yes (recommended)",
"value": "Yes"
},
{
"label": "No",
"value": "No"
}
],
"required": true
},
"visible": true
}
]
},
Expand Down Expand Up @@ -654,6 +710,34 @@
"required": true
},
"visible": true
},
{
"name": "aiMonSection",
"type": "Microsoft.Common.Section",
"label": "Azure Monitor Settings",
"elements": [],
"visible": true
},
{
"name": "aiMonCreation",
"type": "Microsoft.Common.OptionsGroup",
"label": "Enable Diagnostic Settings for logging and threat detection",
"defaultValue": "Yes (recommended)",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Yes (recommended)",
"value": "Yes"
},
{
"label": "No",
"value": "No"
}
],
"required": true
},
"visible": true
}
]
},
Expand Down Expand Up @@ -1356,24 +1440,61 @@
},
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]"
},

{
"name": "aiSearchInfo",
"type": "Microsoft.Common.InfoBox",
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]",
"name": "aiUseCaseSampleDeployment",
"type": "Microsoft.Common.OptionsGroup",
"label": "Start an ingestion job for the initial use-case",
"defaultValue": "Yes",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Yes",
"value": "Yes"
},
{
"label": "No",
"value": "No"
}
],
"required": true
},
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]"
},
{
"name": "aiFileUpload",
"type": "Microsoft.Common.FileUpload",
"label": "Upload your own files for ingestion",
"toolTip": "",
"constraints": {
"required": true,
"accept": ".doc,.docx,.xml,application/msword"
},
"options": {
"icon": "None",
"text": "Azure AI Search, an AI-powered information retrieval platform, helps developers build rich search experiences and generative AI apps that combine large language models with enterprise data. Implement search functionality for any mobile or search application within your organization or as part of software as a service (SaaS) apps.",
"uri": "https://www.microsoft.com"
}
"multiple": true,
"uploadMode": "file",
"openMode": "text",
"encoding": "UTF-8"
},
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseSampleDeployment, 'Yes')]"
},
{
"name": "aiEncryptionSection",
"name": "aSearchSection",
"type": "Microsoft.Common.Section",
"label": "Azure AI Search",
"elements": [],
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]"
},
{
"name": "aiSearchInfo",
"type": "Microsoft.Common.TextBlock",
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]",
"options": {
"icon": "None",
"text": "Azure AI Search, an AI-powered information retrieval platform, helps developers build rich search experiences and generative AI apps that combine large language models with enterprise data. Implement search functionality for any mobile or search application within your organization or as part of software as a service (SaaS) apps.",
"uri": "https://www.microsoft.com"
}
},
{
"name": "aiSearchNetworkSection",
"type": "Microsoft.Common.Section",
Expand Down Expand Up @@ -1453,7 +1574,7 @@
"constraints": {
"required": true
},
"visible": "[and(equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes'), equals(steps('aiSettings').aiSearchDisableNetworkAccess, 'Yes'))]"
"visible": "[and(equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes'), equals(steps('aiAuxiliarySettings').aiSearchDisableNetworkAccess, 'Yes'))]"
},
{
"name": "authzSection",
Expand Down Expand Up @@ -1503,6 +1624,34 @@
"required": true
},
"visible": "[equals(steps('aiAuxiliarySettings').aiUseCaseDeployment, 'Yes')]"
},
{
"name": "aiSearchMonSection",
"type": "Microsoft.Common.Section",
"label": "Azure Monitor Settings",
"elements": [],
"visible": true
},
{
"name": "aiSearchMonCreation",
"type": "Microsoft.Common.OptionsGroup",
"label": "Enable Diagnostic Settings for logging and threat detection",
"defaultValue": "Yes (recommended)",
"toolTip": "",
"constraints": {
"allowedValues": [
{
"label": "Yes (recommended)",
"value": "Yes"
},
{
"label": "No",
"value": "No"
}
],
"required": true
},
"visible": true
}
]
}
Expand Down Expand Up @@ -1553,7 +1702,11 @@
"aiSearchRbacAuthz": "[steps('aiAuxiliarySettings').aiSearchRbacAuthz]",
"aiSearchSubnetId": "[steps('aiAuxiliarySettings').aiSearchSubnetId]",
"aiSearchSystemIdentity": "[steps('aiAuxiliarySettings').aiSearchSystemIdentity]",
"aiUseCaseDeployment": "[steps('aiAuxiliarySettings').aiUseCaseDeployment]"
"aiUseCaseDeployment": "[steps('aiAuxiliarySettings').aiUseCaseDeployment]",
"kvMonCreation": "[steps('kvSettings').kvMonCreation]",
"stMonCreation": "[steps('stSettings').stMonCreation]",
"aiMonCreation": "[steps('aiSettings').aiMonCreation]",
"aiSearchMonCreation": "[steps('aiAuxiliarySettings').aiSearchMonCreation]"
},
"kind": "Subscription",
"location": "[steps('basics').resourceScope.location.name]",
Expand Down
Loading

0 comments on commit df4c1b0

Please sign in to comment.