diff --git a/Commands/self-help/_check-name-availability.md b/Commands/self-help/_check-name-availability.md index 479c96728..b0b3e7129 100644 --- a/Commands/self-help/_check-name-availability.md +++ b/Commands/self-help/_check-name-availability.md @@ -1,6 +1,6 @@ # [Command] _self-help check-name-availability_ -This API is used to check the uniqueness of a resource name used for a diagnostic check. +This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions ## Versions @@ -14,3 +14,16 @@ This API is used to check the uniqueness of a resource name used for a diagnosti ```bash self-help check-name-availability --scope subscriptionId/{subId} --name {diagnostic-name} --type 'Microsoft.Help/diagnostics' ``` + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Check Resource Uniqueness + ```bash + self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name diagnostic-name --type 'Microsoft.Help/diagnostics' + self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name solution-name --type 'Microsoft.Help/solutions' + self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name 12345678-BBBb-cCCCC-0000-123456789012 --type 'Microsoft.Help/troubleshooters' + ``` diff --git a/Commands/self-help/diagnostic/_create.md b/Commands/self-help/diagnostic/_create.md index 948e2ef7f..b5f499b00 100644 --- a/Commands/self-help/diagnostic/_create.md +++ b/Commands/self-help/diagnostic/_create.md @@ -14,3 +14,14 @@ Creates a diagnostics that will help you troubleshoot an issue with your azure r ```bash self-help diagnostic create --diagnostic-name {diagnostic-name} --insights [{solutionId:Demo2InsightV2}] --scope {scope} ``` + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Create Diagnostic at Resource Level + ```bash + self-help diagnostic create --diagnostic-name diagnostic-name --insights [{solutionId:Demo2InsightV2}] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/diagnostic/_show.md b/Commands/self-help/diagnostic/_show.md index e0ec5ad40..0ed66c386 100644 --- a/Commands/self-help/diagnostic/_show.md +++ b/Commands/self-help/diagnostic/_show.md @@ -14,3 +14,14 @@ Get the diagnostics using the 'diagnosticsResourceName' you chose while creating ```bash self-help diagnostic show --diagnostic-name {diagnostic-name} --scope {scope} ``` + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Show Diagnostic at Resource Level + ```bash + self-help diagnostic show --diagnostic-name diagnostic-name --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/discovery-solution/_list.md b/Commands/self-help/discovery-solution/_list.md index 06eb37dc1..c50ae7b88 100644 --- a/Commands/self-help/discovery-solution/_list.md +++ b/Commands/self-help/discovery-solution/_list.md @@ -1,6 +1,6 @@ # [Command] _self-help discovery-solution list_ -list the existing available solutions for the problemClassificationId or the resourceUri for the Azure resource. +List the relevant Azure diagnostics and solutions using problemClassificationId API AND resourceUri or resourceType. ## Versions @@ -14,3 +14,14 @@ list the existing available solutions for the problemClassificationId or the res ```bash self-help discovery-solution list --scope {scope} ``` + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- List DiscoverySolution results for a resource + ```bash + self-help discovery-solution list --filter "ProblemClassificationId eq '00000000-0000-0000-0000-000000000000'" --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/discovery-solution/readme.md b/Commands/self-help/discovery-solution/readme.md index d1d89ced9..47472f462 100644 --- a/Commands/self-help/discovery-solution/readme.md +++ b/Commands/self-help/discovery-solution/readme.md @@ -5,4 +5,4 @@ discovery-solution command will help you discover available solutions based on y ## Commands - [list](/Commands/self-help/discovery-solution/_list.md) -: list the existing available solutions for the problemClassificationId or the resourceUri for the Azure resource. +: List the relevant Azure diagnostics and solutions using problemClassificationId API AND resourceUri or resourceType. diff --git a/Commands/self-help/readme.md b/Commands/self-help/readme.md index e78527a4f..8beab4516 100644 --- a/Commands/self-help/readme.md +++ b/Commands/self-help/readme.md @@ -10,7 +10,13 @@ Azure SelfHelp will help you troubleshoot issues with Azure resources. - [discovery-solution](/Commands/self-help/discovery-solution/readme.md) : discovery-solution command will help you discover available solutions based on your resource type and problem classification Id. +- [solution](/Commands/self-help/solution/readme.md) +: solution command will help you create solutions for azure resources. + +- [troubleshooter](/Commands/self-help/troubleshooter/readme.md) +: troubleshooter command will help you create troubleshooters for azure resources. + ## Commands - [check-name-availability](/Commands/self-help/_check-name-availability.md) -: This API is used to check the uniqueness of a resource name used for a diagnostic check. +: This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions diff --git a/Commands/self-help/solution/_create.md b/Commands/self-help/solution/_create.md new file mode 100644 index 000000000..f98ac5c0e --- /dev/null +++ b/Commands/self-help/solution/_create.md @@ -0,0 +1,16 @@ +# [Command] _self-help solution create_ + +Create a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Create Solution at Resource Level + ```bash + self-help solution create --solution-name solution-name --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/solution/_show.md b/Commands/self-help/solution/_show.md new file mode 100644 index 000000000..810c9b1ee --- /dev/null +++ b/Commands/self-help/solution/_show.md @@ -0,0 +1,16 @@ +# [Command] _self-help solution show_ + +Get the solution using the applicable solutionResourceName while creating the solution. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Show Solution at Resource Level + ```bash + self-help solution show --solution-name solution-name --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/solution/_update.md b/Commands/self-help/solution/_update.md new file mode 100644 index 000000000..46ffb3c74 --- /dev/null +++ b/Commands/self-help/solution/_update.md @@ -0,0 +1,16 @@ +# [Command] _self-help solution update_ + +Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Update Solution at Resource Level + ```bash + self-help solution update --solution-name solution-name --trigger-criteria [{name:ReplacementKey,value:}] --parameters {SearchText:CanNotRDP,SymptomId:KeyVaultVaultNotFoundInsight} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/solution/readme.md b/Commands/self-help/solution/readme.md new file mode 100644 index 000000000..e51b579c9 --- /dev/null +++ b/Commands/self-help/solution/readme.md @@ -0,0 +1,14 @@ +# [Group] _self-help solution_ + +solution command will help you create solutions for azure resources. + +## Commands + +- [create](/Commands/self-help/solution/_create.md) +: Create a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions. + +- [show](/Commands/self-help/solution/_show.md) +: Get the solution using the applicable solutionResourceName while creating the solution. + +- [update](/Commands/self-help/solution/_update.md) +: Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions. diff --git a/Commands/self-help/troubleshooter/_continue.md b/Commands/self-help/troubleshooter/_continue.md new file mode 100644 index 000000000..3f5794ef1 --- /dev/null +++ b/Commands/self-help/troubleshooter/_continue.md @@ -0,0 +1,16 @@ +# [Command] _self-help troubleshooter continue_ + +Uses stepId and responses as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Continue Troubleshooter at Resource Level + ```bash + self-help troubleshooter continue --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --step-id step-id --responses [] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/troubleshooter/_create.md b/Commands/self-help/troubleshooter/_create.md new file mode 100644 index 000000000..56f689754 --- /dev/null +++ b/Commands/self-help/troubleshooter/_create.md @@ -0,0 +1,16 @@ +# [Command] _self-help troubleshooter create_ + +Create the specific troubleshooter action under a resource or subscription. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Create Troubleshooter at Resource Level + ```bash + self-help troubleshooter create --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --solution-id e104dbdf-9e14-4c9f-bc78-21ac90382231 --parameters {ResourceUri:'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/troubleshooter/_end.md b/Commands/self-help/troubleshooter/_end.md new file mode 100644 index 000000000..4390bb7ae --- /dev/null +++ b/Commands/self-help/troubleshooter/_end.md @@ -0,0 +1,16 @@ +# [Command] _self-help troubleshooter end_ + +Ends the troubleshooter action + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- End Troubleshooter at Resource Level + ```bash + self-help troubleshooter end --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/troubleshooter/_restart.md b/Commands/self-help/troubleshooter/_restart.md new file mode 100644 index 000000000..2fe5443a3 --- /dev/null +++ b/Commands/self-help/troubleshooter/_restart.md @@ -0,0 +1,16 @@ +# [Command] _self-help troubleshooter restart_ + +Restarts the troubleshooter API using applicable troubleshooter resource name as the input. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Restart Troubleshooter at Resource Level + ```bash + self-help troubleshooter restart --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/troubleshooter/_show.md b/Commands/self-help/troubleshooter/_show.md new file mode 100644 index 000000000..411d47250 --- /dev/null +++ b/Commands/self-help/troubleshooter/_show.md @@ -0,0 +1,16 @@ +# [Command] _self-help troubleshooter show_ + +Get troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed. + +## Versions + +### [2023-09-01-preview](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.xml) **Preview** + + + +#### examples + +- Show Troubleshooter at Resource Level + ```bash + self-help troubleshooter show --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read' + ``` diff --git a/Commands/self-help/troubleshooter/readme.md b/Commands/self-help/troubleshooter/readme.md new file mode 100644 index 000000000..c3533924f --- /dev/null +++ b/Commands/self-help/troubleshooter/readme.md @@ -0,0 +1,20 @@ +# [Group] _self-help troubleshooter_ + +troubleshooter command will help you create troubleshooters for azure resources. + +## Commands + +- [continue](/Commands/self-help/troubleshooter/_continue.md) +: Uses stepId and responses as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name. + +- [create](/Commands/self-help/troubleshooter/_create.md) +: Create the specific troubleshooter action under a resource or subscription. + +- [end](/Commands/self-help/troubleshooter/_end.md) +: Ends the troubleshooter action + +- [restart](/Commands/self-help/troubleshooter/_restart.md) +: Restarts the troubleshooter API using applicable troubleshooter resource name as the input. + +- [show](/Commands/self-help/troubleshooter/_show.md) +: Get troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed. diff --git a/Commands/tree.json b/Commands/tree.json index 03cf47d93..04922f6b5 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -104876,6 +104876,25 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "self-help diagnostic create --diagnostic-name diagnostic-name --insights [{solutionId:Demo2InsightV2}] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Create Diagnostic at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/diagnostics/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" } ] }, @@ -104907,6 +104926,25 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "self-help diagnostic show --diagnostic-name diagnostic-name --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Show Diagnostic at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/diagnostics/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" } ] } @@ -104923,7 +104961,7 @@ "commands": { "list": { "help": { - "short": "list the existing available solutions for the problemClassificationId or the resourceUri for the Azure resource." + "short": "List the relevant Azure diagnostics and solutions using problemClassificationId API AND resourceUri or resourceType." }, "names": [ "self-help", @@ -104949,6 +104987,25 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "self-help discovery-solution list --filter \"ProblemClassificationId eq '00000000-0000-0000-0000-000000000000'\" --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "List DiscoverySolution results for a resource" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/discoverysolutions", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" } ] } @@ -104960,12 +105017,282 @@ "self-help", "discovery-solution" ] + }, + "solution": { + "commands": { + "create": { + "help": { + "short": "Create a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions." + }, + "names": [ + "self-help", + "solution", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help solution create --solution-name solution-name --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Create Solution at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/solutions/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get the solution using the applicable solutionResourceName while creating the solution." + }, + "names": [ + "self-help", + "solution", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help solution show --solution-name solution-name --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Show Solution at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/solutions/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions." + }, + "names": [ + "self-help", + "solution", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help solution update --solution-name solution-name --trigger-criteria [{name:ReplacementKey,value:}] --parameters {SearchText:CanNotRDP,SymptomId:KeyVaultVaultNotFoundInsight} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Update Solution at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/solutions/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "solution command will help you create solutions for azure resources." + }, + "names": [ + "self-help", + "solution" + ] + }, + "troubleshooter": { + "commands": { + "continue": { + "help": { + "short": "Uses stepId and responses as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name." + }, + "names": [ + "self-help", + "troubleshooter", + "continue" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help troubleshooter continue --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --step-id step-id --responses [] --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Continue Troubleshooter at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/troubleshooters/{}/continue", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "create": { + "help": { + "short": "Create the specific troubleshooter action under a resource or subscription." + }, + "names": [ + "self-help", + "troubleshooter", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help troubleshooter create --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --solution-id e104dbdf-9e14-4c9f-bc78-21ac90382231 --parameters {ResourceUri:'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'} --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Create Troubleshooter at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/troubleshooters/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "end": { + "help": { + "short": "Ends the troubleshooter action" + }, + "names": [ + "self-help", + "troubleshooter", + "end" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help troubleshooter end --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "End Troubleshooter at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/troubleshooters/{}/end", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "restart": { + "help": { + "short": "Restarts the troubleshooter API using applicable troubleshooter resource name as the input." + }, + "names": [ + "self-help", + "troubleshooter", + "restart" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help troubleshooter restart --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Restart Troubleshooter at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/troubleshooters/{}/restart", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed." + }, + "names": [ + "self-help", + "troubleshooter", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "self-help troubleshooter show --troubleshooter-name 12345678-BBBb-cCCCC-0000-123456789012 --scope 'subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read'" + ], + "name": "Show Troubleshooter at Resource Level" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/troubleshooters/{}", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "troubleshooter command will help you create troubleshooters for azure resources." + }, + "names": [ + "self-help", + "troubleshooter" + ] } }, "commands": { "check-name-availability": { "help": { - "short": "This API is used to check the uniqueness of a resource name used for a diagnostic check." + "short": "This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions" }, "names": [ "self-help", @@ -104990,6 +105317,27 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name diagnostic-name --type 'Microsoft.Help/diagnostics'", + "self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name solution-name --type 'Microsoft.Help/solutions'", + "self-help check-name-availability --scope subscriptions/00000000-0000-0000-0000-000000000000 --name 12345678-BBBb-cCCCC-0000-123456789012 --type 'Microsoft.Help/troubleshooters'" + ], + "name": "Check Resource Uniqueness" + } + ], + "name": "2023-09-01-preview", + "resources": [ + { + "id": "/{scope}/providers/microsoft.help/checknameavailability", + "plane": "mgmt-plane", + "version": "2023-09-01-preview" + } + ], + "stage": "Preview" } ] } diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.json new file mode 100644 index 000000000..a20ae26b5 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/checknameavailability", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help", "commands": [{"name": "check-name-availability", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/checknameavailability", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}]}, {"name": "CheckNameAvailabilityRequest", "args": [{"type": "string", "var": "$CheckNameAvailabilityRequest.name", "options": ["name"], "group": "CheckNameAvailabilityRequest", "help": {"short": "The name of the resource for which availability needs to be checked."}}, {"type": "string", "var": "$CheckNameAvailabilityRequest.type", "options": ["type"], "group": "CheckNameAvailabilityRequest", "help": {"short": "The resource type."}}]}], "operations": [{"operationId": "CheckNameAvailability_Post", "http": {"path": "/{scope}/providers/Microsoft.Help/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "CheckNameAvailabilityRequest", "props": [{"type": "string", "name": "name", "arg": "$CheckNameAvailabilityRequest.name"}, {"type": "string", "name": "type", "arg": "$CheckNameAvailabilityRequest.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "message"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..8e4b7e123 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2NoZWNrbmFtZWF2YWlsYWJpbGl0eQ==/2023-09-01-preview.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.json new file mode 100644 index 000000000..a5f655d96 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/diagnostics/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2RpYWdub3N0aWNzL3tkaWFnbm9zdGljc1Jlc291cmNlTmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help diagnostic", "commands": [{"name": "show", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/diagnostics/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2RpYWdub3N0aWNzL3tkaWFnbm9zdGljc1Jlc291cmNlTmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diagnosticsResourceName", "options": ["diagnostic-name"], "required": true, "help": {"short": "Unique resource name for insight resources"}, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}]}], "operations": [{"operationId": "Diagnostics_Get", "http": {"path": "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diagnosticsResourceName", "arg": "$Path.diagnosticsResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}, {"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/diagnostics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "acceptedAt"}, {"readOnly": true, "type": "array", "name": "diagnostics", "item": {"type": "object", "props": [{"type": "object", "name": "error", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"type": "array<@Error_read>", "name": "details", "item": {"type": "@Error_read"}, "identifiers": ["type", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Error_read"}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}]}, "identifiers": ["solutionId"]}, {"type": "object", "name": "globalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "object", "name": "additionalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "solutionId"}]}, "identifiers": ["solutionId"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "PartialComplete"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "create", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/diagnostics/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2RpYWdub3N0aWNzL3tkaWFnbm9zdGljc1Jlc291cmNlTmFtZX0=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diagnosticsResourceName", "options": ["diagnostic-name"], "required": true, "help": {"short": "Unique resource name for insight resources"}, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$diagnosticResourceRequest.properties.globalParameters", "options": ["global-parameters"], "group": "Properties", "help": {"short": "Global parameters that can be passed to all solutionIds."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "var": "$diagnosticResourceRequest.properties.insights", "options": ["insights"], "group": "Properties", "help": {"short": "SolutionIds that are needed to be invoked."}, "item": {"type": "object", "args": [{"type": "object", "var": "$diagnosticResourceRequest.properties.insights[].additionalParameters", "options": ["additional-parameters"], "help": {"short": "Additional parameters required to invoke the solutionId."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$diagnosticResourceRequest.properties.insights[].solutionId", "options": ["solution-id"], "help": {"short": "Solution Id to invoke."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Diagnostics_Create", "http": {"path": "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "diagnosticsResourceName", "arg": "$Path.diagnosticsResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}, {"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "diagnosticResourceRequest", "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "globalParameters", "arg": "$diagnosticResourceRequest.properties.globalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "insights", "arg": "$diagnosticResourceRequest.properties.insights", "item": {"type": "object", "props": [{"type": "object", "name": "additionalParameters", "arg": "$diagnosticResourceRequest.properties.insights[].additionalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "solutionId", "arg": "$diagnosticResourceRequest.properties.insights[].solutionId"}]}, "identifiers": ["solutionId"]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/diagnostics/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "acceptedAt"}, {"readOnly": true, "type": "array", "name": "diagnostics", "item": {"type": "object", "props": [{"type": "object", "name": "error", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"type": "array<@Error_read>", "name": "details", "item": {"type": "@Error_read"}, "identifiers": ["type", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Error_read"}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}]}, "identifiers": ["solutionId"]}, {"type": "object", "name": "globalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "object", "name": "additionalParameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "solutionId"}]}, "identifiers": ["solutionId"]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "PartialComplete"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.xml new file mode 100644 index 000000000..4346924a2 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2RpYWdub3N0aWNzL3t9/2023-09-01-preview.xml @@ -0,0 +1,320 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.json new file mode 100644 index 000000000..84a4a61af --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/discoverysolutions", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2Rpc2NvdmVyeVNvbHV0aW9ucw==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help discovery-solution", "commands": [{"name": "list", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/discoverysolutions", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2Rpc2NvdmVyeVNvbHV0aW9ucw==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "'ProblemClassificationId' or 'Id' is a mandatory filter to get solutions ids. It also supports optional 'ResourceType' and 'SolutionType' filters. The filter supports only 'and', 'or' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e'"}}, {"type": "string", "var": "$Query.skiptoken", "options": ["skiptoken"], "help": {"short": "Skiptoken is only used if a previous operation returned a partial result."}}]}], "operations": [{"operationId": "DiscoverySolution_List", "http": {"path": "/{scope}/providers/Microsoft.Help/discoverySolutions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "solutions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "array", "name": "requiredInputs", "item": {"type": "string"}}, {"type": "string", "name": "solutionId"}, {"readOnly": true, "type": "string", "name": "solutionType", "enum": {"items": [{"value": "Diagnostics"}, {"value": "Solutions"}]}}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.xml new file mode 100644 index 000000000..affa8f369 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL2Rpc2NvdmVyeXNvbHV0aW9ucw==/2023-09-01-preview.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.json new file mode 100644 index 000000000..4a53588f6 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/solutions/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3NvbHV0aW9ucy97c29sdXRpb25SZXNvdXJjZU5hbWV9/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help solution", "commands": [{"name": "show", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/solutions/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3NvbHV0aW9ucy97c29sdXRpb25SZXNvdXJjZU5hbWV9/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.solutionResourceName", "options": ["solution-name"], "required": true, "help": {"short": "Solution resource Name."}, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}], "operations": [{"operationId": "Solution_Get", "http": {"path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionResourceName", "arg": "$Path.solutionResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/solutions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "content"}, {"type": "object", "name": "parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "replacementMaps", "props": [{"type": "array", "name": "diagnostics", "item": {"type": "object", "props": [{"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}}, {"type": "string", "name": "replacementKey"}, {"type": "array", "name": "requiredParameters", "item": {"type": "string"}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}, {"type": "string", "name": "statusDetails"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "metricsBasedCharts", "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Avg"}, {"value": "Count"}, {"value": "Max"}, {"value": "Min"}, {"value": "Sum"}]}}, {"type": "object", "name": "filterGroup", "props": [{"type": "array", "name": "filter", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "operator"}, {"type": "string", "name": "values"}]}}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "replacementKey"}, {"type": "string", "name": "timeSpanDuration"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "troubleshooters", "item": {"type": "object", "props": [{"type": "string", "name": "solutionId"}, {"type": "string", "name": "summary"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "videoGroups", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}]}}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "webResults", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "searchResults", "item": {"type": "object", "props": [{"type": "string", "name": "confidence", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "string", "name": "content"}, {"type": "string", "name": "link"}, {"type": "integer32", "name": "rank"}, {"type": "string", "name": "resultType", "enum": {"items": [{"value": "Community"}, {"value": "Documentation"}]}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "source"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}]}}], "cls": "ReplacementMaps_read"}, {"type": "array", "name": "sections", "item": {"type": "object", "props": [{"type": "string", "name": "content"}, {"type": "@ReplacementMaps_read", "name": "replacementMaps"}, {"type": "string", "name": "title"}]}, "identifiers": ["title"]}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "title"}, {"type": "array", "name": "triggerCriteria", "item": {"type": "object", "props": [{"type": "string", "name": "name", "enum": {"items": [{"value": "ProblemClassificationId"}, {"value": "ReplacementKey"}, {"value": "SolutionId"}]}}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "create", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/solutions/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3NvbHV0aW9ucy97c29sdXRpb25SZXNvdXJjZU5hbWV9/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.solutionResourceName", "options": ["solution-name"], "required": true, "help": {"short": "Solution resource Name."}, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$solutionRequestBody.properties.content", "options": ["content"], "group": "Properties", "help": {"short": "The HTML content that needs to be rendered and shown to customer."}}, {"type": "object", "var": "$solutionRequestBody.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Client input parameters to run Solution"}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$solutionRequestBody.properties.provisioningState", "options": ["provisioning-state"], "group": "Properties", "help": {"short": "Status of solution provisioning."}, "enum": {"items": [{"name": "Canceled", "value": "Canceled"}, {"name": "Failed", "value": "Failed"}, {"name": "Succeeded", "value": "Succeeded"}]}}, {"type": "object", "var": "$solutionRequestBody.properties.replacementMaps", "options": ["replacement-maps"], "group": "Properties", "help": {"short": "Solution replacement maps."}, "args": [{"type": "array", "var": "@ReplacementMaps_create.diagnostics", "options": ["diagnostics"], "help": {"short": "Solution diagnostics results."}, "item": {"type": "object", "args": [{"type": "array", "var": "@ReplacementMaps_create.diagnostics[].insights", "options": ["insights"], "help": {"short": "Diagnostic insights"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.diagnostics[].insights[].id", "options": ["id"], "help": {"short": "Article id."}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].insights[].importanceLevel", "options": ["importance-level"], "help": {"short": "Importance level of the insight."}, "enum": {"items": [{"name": "Critical", "value": "Critical"}, {"name": "Information", "value": "Information"}, {"name": "Warning", "value": "Warning"}]}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].insights[].results", "options": ["results"], "help": {"short": "Detailed result content."}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].insights[].title", "options": ["title"], "help": {"short": "This insight's title."}}]}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"type": "array", "var": "@ReplacementMaps_create.diagnostics[].requiredParameters", "options": ["required-parameters"], "help": {"short": "Required parameters of this item"}, "item": {"type": "string"}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].solutionId", "options": ["solution-id"], "help": {"short": "Solution Id to identify single Solutions Diagnostic"}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].status", "options": ["status"], "help": {"short": "The status of the resource."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "MissingInputs", "value": "MissingInputs"}, {"name": "Running", "value": "Running"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Timeout", "value": "Timeout"}]}}, {"type": "string", "var": "@ReplacementMaps_create.diagnostics[].statusDetails", "options": ["status-details"], "help": {"short": "Details of the status"}}]}}, {"type": "array", "var": "@ReplacementMaps_create.metricsBasedCharts", "options": ["metrics-based-charts"], "help": {"short": "Solution metrics based charts"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Allowed values are Sum, Avg, Count, Min, Max. Default is Sum"}, "enum": {"items": [{"name": "Avg", "value": "Avg"}, {"name": "Count", "value": "Count"}, {"name": "Max", "value": "Max"}, {"name": "Min", "value": "Min"}, {"name": "Sum", "value": "Sum"}]}}, {"type": "object", "var": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup", "options": ["filter-group"], "help": {"short": "Filter group"}, "args": [{"type": "array", "var": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter", "options": ["filter"], "help": {"short": "List of filters"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].name", "options": ["name"], "help": {"short": "Filter name"}}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].operator", "options": ["operator"], "help": {"short": "Filter operator"}}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].values", "options": ["values"], "help": {"short": "Filter values"}}]}}]}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].name", "options": ["name"], "help": {"short": "Chart name"}}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].timeSpanDuration", "options": ["time-span-duration"], "help": {"short": "Time span duration"}}, {"type": "string", "var": "@ReplacementMaps_create.metricsBasedCharts[].title", "options": ["title"], "help": {"short": "Chart title"}}]}}, {"type": "array", "var": "@ReplacementMaps_create.troubleshooters", "options": ["troubleshooters"], "help": {"short": "Solutions Troubleshooters"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.troubleshooters[].solutionId", "options": ["solution-id"], "help": {"short": "Solution Id to identify single Solutions Troubleshooter"}}, {"type": "string", "var": "@ReplacementMaps_create.troubleshooters[].summary", "options": ["summary"], "help": {"short": "Troubleshooter summary"}}, {"type": "string", "var": "@ReplacementMaps_create.troubleshooters[].title", "options": ["title"], "help": {"short": "Troubleshooter title"}}]}}, {"type": "array", "var": "@ReplacementMaps_create.videoGroups", "options": ["video-groups"], "help": {"short": "Group of Videos"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.videoGroups[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the insight content"}}, {"type": "array", "var": "@ReplacementMaps_create.videoGroups[].videos", "options": ["videos"], "help": {"short": "List of videos will be shown to customers"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.videoGroups[].videos[].src", "options": ["src"], "help": {"short": "Link to the video"}}, {"type": "string", "var": "@ReplacementMaps_create.videoGroups[].videos[].title", "options": ["title"], "help": {"short": "Title of the video"}}]}}]}}, {"type": "array", "var": "@ReplacementMaps_create.videos", "options": ["videos"], "help": {"short": "Video solutions, which have the power to engage the customer by stimulating their senses"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.videos[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the insight content"}}, {"type": "string", "var": "@ReplacementMaps_create.videos[].src", "options": ["src"], "help": {"short": "Link to the video"}}, {"type": "string", "var": "@ReplacementMaps_create.videos[].title", "options": ["title"], "help": {"short": "Title of the video"}}]}}, {"type": "array", "var": "@ReplacementMaps_create.webResults", "options": ["web-results"], "help": {"short": "Solution AzureKB results"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.webResults[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"type": "array", "var": "@ReplacementMaps_create.webResults[].searchResults", "options": ["search-results"], "help": {"short": "AzureKB search results"}, "item": {"type": "object", "args": [{"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].confidence", "options": ["confidence"], "help": {"short": "Confidence of the search result."}, "enum": {"items": [{"name": "High", "value": "High"}, {"name": "Low", "value": "Low"}, {"name": "Medium", "value": "Medium"}]}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].content", "options": ["content"], "help": {"short": "Content of the search result."}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].link", "options": ["link"], "help": {"short": "Link to the document."}}, {"type": "integer32", "var": "@ReplacementMaps_create.webResults[].searchResults[].rank", "options": ["rank"], "help": {"short": "rank of the search result"}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].resultType", "options": ["result-type"], "help": {"short": "Result type of the search result."}, "enum": {"items": [{"name": "Community", "value": "Community"}, {"name": "Documentation", "value": "Documentation"}]}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].solutionId", "options": ["solution-id"], "help": {"short": "Unique id of the result."}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].source", "options": ["source"], "help": {"short": "Source of the search result."}}, {"type": "string", "var": "@ReplacementMaps_create.webResults[].searchResults[].title", "options": ["title"], "help": {"short": "Title of the search result."}}]}}]}}], "cls": "ReplacementMaps_create"}, {"type": "array", "var": "$solutionRequestBody.properties.sections", "options": ["sections"], "group": "Properties", "help": {"short": "List of section object."}, "item": {"type": "object", "args": [{"type": "string", "var": "$solutionRequestBody.properties.sections[].content", "options": ["content"], "help": {"short": "Solution sections content."}}, {"type": "@ReplacementMaps_create", "var": "$solutionRequestBody.properties.sections[].replacementMaps", "options": ["replacement-maps"]}, {"type": "string", "var": "$solutionRequestBody.properties.sections[].title", "options": ["title"], "help": {"short": "Solution sections title."}}]}}, {"type": "string", "var": "$solutionRequestBody.properties.solutionId", "options": ["solution-id"], "group": "Properties", "help": {"short": "Solution Id to identify single solution."}}, {"type": "string", "var": "$solutionRequestBody.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title."}}, {"type": "array", "var": "$solutionRequestBody.properties.triggerCriteria", "options": ["trigger-criteria"], "group": "Properties", "help": {"short": "Solution request trigger criteria"}, "item": {"type": "object", "args": [{"type": "string", "var": "$solutionRequestBody.properties.triggerCriteria[].name", "options": ["name"], "help": {"short": "Trigger criterion name."}, "enum": {"items": [{"name": "ProblemClassificationId", "value": "ProblemClassificationId"}, {"name": "ReplacementKey", "value": "ReplacementKey"}, {"name": "SolutionId", "value": "SolutionId"}]}}, {"type": "string", "var": "$solutionRequestBody.properties.triggerCriteria[].value", "options": ["value"], "help": {"short": "Trigger criterion value."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Solution_Create", "http": {"path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionResourceName", "arg": "$Path.solutionResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "solutionRequestBody", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "content", "arg": "$solutionRequestBody.properties.content"}, {"type": "object", "name": "parameters", "arg": "$solutionRequestBody.properties.parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "provisioningState", "arg": "$solutionRequestBody.properties.provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "replacementMaps", "arg": "$solutionRequestBody.properties.replacementMaps", "props": [{"type": "array", "name": "diagnostics", "arg": "@ReplacementMaps_create.diagnostics", "item": {"type": "object", "props": [{"type": "array", "name": "insights", "arg": "@ReplacementMaps_create.diagnostics[].insights", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@ReplacementMaps_create.diagnostics[].insights[].id"}, {"type": "string", "name": "importanceLevel", "arg": "@ReplacementMaps_create.diagnostics[].insights[].importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results", "arg": "@ReplacementMaps_create.diagnostics[].insights[].results"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.diagnostics[].insights[].title"}]}}, {"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_create.diagnostics[].replacementKey"}, {"type": "array", "name": "requiredParameters", "arg": "@ReplacementMaps_create.diagnostics[].requiredParameters", "item": {"type": "string"}}, {"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_create.diagnostics[].solutionId"}, {"type": "string", "name": "status", "arg": "@ReplacementMaps_create.diagnostics[].status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}, {"type": "string", "name": "statusDetails", "arg": "@ReplacementMaps_create.diagnostics[].statusDetails"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "metricsBasedCharts", "arg": "@ReplacementMaps_create.metricsBasedCharts", "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "@ReplacementMaps_create.metricsBasedCharts[].aggregationType", "enum": {"items": [{"value": "Avg"}, {"value": "Count"}, {"value": "Max"}, {"value": "Min"}, {"value": "Sum"}]}}, {"type": "object", "name": "filterGroup", "arg": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup", "props": [{"type": "array", "name": "filter", "arg": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].name"}, {"type": "string", "name": "operator", "arg": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].operator"}, {"type": "string", "name": "values", "arg": "@ReplacementMaps_create.metricsBasedCharts[].filterGroup.filter[].values"}]}}]}, {"type": "string", "name": "name", "arg": "@ReplacementMaps_create.metricsBasedCharts[].name"}, {"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_create.metricsBasedCharts[].replacementKey"}, {"type": "string", "name": "timeSpanDuration", "arg": "@ReplacementMaps_create.metricsBasedCharts[].timeSpanDuration"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.metricsBasedCharts[].title"}]}}, {"type": "array", "name": "troubleshooters", "arg": "@ReplacementMaps_create.troubleshooters", "item": {"type": "object", "props": [{"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_create.troubleshooters[].solutionId"}, {"type": "string", "name": "summary", "arg": "@ReplacementMaps_create.troubleshooters[].summary"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.troubleshooters[].title"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "videoGroups", "arg": "@ReplacementMaps_create.videoGroups", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_create.videoGroups[].replacementKey"}, {"type": "array", "name": "videos", "arg": "@ReplacementMaps_create.videoGroups[].videos", "item": {"type": "object", "props": [{"type": "string", "name": "src", "arg": "@ReplacementMaps_create.videoGroups[].videos[].src"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.videoGroups[].videos[].title"}]}}]}}, {"type": "array", "name": "videos", "arg": "@ReplacementMaps_create.videos", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_create.videos[].replacementKey"}, {"type": "string", "name": "src", "arg": "@ReplacementMaps_create.videos[].src"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.videos[].title"}]}}, {"type": "array", "name": "webResults", "arg": "@ReplacementMaps_create.webResults", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_create.webResults[].replacementKey"}, {"type": "array", "name": "searchResults", "arg": "@ReplacementMaps_create.webResults[].searchResults", "item": {"type": "object", "props": [{"type": "string", "name": "confidence", "arg": "@ReplacementMaps_create.webResults[].searchResults[].confidence", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "string", "name": "content", "arg": "@ReplacementMaps_create.webResults[].searchResults[].content"}, {"type": "string", "name": "link", "arg": "@ReplacementMaps_create.webResults[].searchResults[].link"}, {"type": "integer32", "name": "rank", "arg": "@ReplacementMaps_create.webResults[].searchResults[].rank"}, {"type": "string", "name": "resultType", "arg": "@ReplacementMaps_create.webResults[].searchResults[].resultType", "enum": {"items": [{"value": "Community"}, {"value": "Documentation"}]}}, {"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_create.webResults[].searchResults[].solutionId"}, {"type": "string", "name": "source", "arg": "@ReplacementMaps_create.webResults[].searchResults[].source"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_create.webResults[].searchResults[].title"}]}, "identifiers": ["solutionId"]}]}}], "cls": "ReplacementMaps_create"}, {"type": "array", "name": "sections", "arg": "$solutionRequestBody.properties.sections", "item": {"type": "object", "props": [{"type": "string", "name": "content", "arg": "$solutionRequestBody.properties.sections[].content"}, {"type": "@ReplacementMaps_create", "name": "replacementMaps", "arg": "$solutionRequestBody.properties.sections[].replacementMaps"}, {"type": "string", "name": "title", "arg": "$solutionRequestBody.properties.sections[].title"}]}, "identifiers": ["title"]}, {"type": "string", "name": "solutionId", "arg": "$solutionRequestBody.properties.solutionId"}, {"type": "string", "name": "title", "arg": "$solutionRequestBody.properties.title"}, {"type": "array", "name": "triggerCriteria", "arg": "$solutionRequestBody.properties.triggerCriteria", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$solutionRequestBody.properties.triggerCriteria[].name", "enum": {"items": [{"value": "ProblemClassificationId"}, {"value": "ReplacementKey"}, {"value": "SolutionId"}]}}, {"type": "string", "name": "value", "arg": "$solutionRequestBody.properties.triggerCriteria[].value"}]}, "identifiers": ["name"]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/solutions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "content"}, {"type": "object", "name": "parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "replacementMaps", "props": [{"type": "array", "name": "diagnostics", "item": {"type": "object", "props": [{"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}}, {"type": "string", "name": "replacementKey"}, {"type": "array", "name": "requiredParameters", "item": {"type": "string"}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}, {"type": "string", "name": "statusDetails"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "metricsBasedCharts", "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Avg"}, {"value": "Count"}, {"value": "Max"}, {"value": "Min"}, {"value": "Sum"}]}}, {"type": "object", "name": "filterGroup", "props": [{"type": "array", "name": "filter", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "operator"}, {"type": "string", "name": "values"}]}}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "replacementKey"}, {"type": "string", "name": "timeSpanDuration"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "troubleshooters", "item": {"type": "object", "props": [{"type": "string", "name": "solutionId"}, {"type": "string", "name": "summary"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "videoGroups", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}]}}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "webResults", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "searchResults", "item": {"type": "object", "props": [{"type": "string", "name": "confidence", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "string", "name": "content"}, {"type": "string", "name": "link"}, {"type": "integer32", "name": "rank"}, {"type": "string", "name": "resultType", "enum": {"items": [{"value": "Community"}, {"value": "Documentation"}]}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "source"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}]}}], "cls": "ReplacementMaps_read"}, {"type": "array", "name": "sections", "item": {"type": "object", "props": [{"type": "string", "name": "content"}, {"type": "@ReplacementMaps_read", "name": "replacementMaps"}, {"type": "string", "name": "title"}]}, "identifiers": ["title"]}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "title"}, {"type": "array", "name": "triggerCriteria", "item": {"type": "object", "props": [{"type": "string", "name": "name", "enum": {"items": [{"value": "ProblemClassificationId"}, {"value": "ReplacementKey"}, {"value": "SolutionId"}]}}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/solutions/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3NvbHV0aW9ucy97c29sdXRpb25SZXNvdXJjZU5hbWV9/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.solutionResourceName", "options": ["solution-name"], "required": true, "help": {"short": "Solution resource Name."}, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.content", "options": ["content"], "group": "Properties", "help": {"short": "The HTML content that needs to be rendered and shown to customer."}}, {"nullable": true, "type": "object", "var": "$solutionRequestBody.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Client input parameters to run Solution"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.provisioningState", "options": ["provisioning-state"], "group": "Properties", "help": {"short": "Status of solution provisioning."}, "enum": {"items": [{"name": "Canceled", "value": "Canceled"}, {"name": "Failed", "value": "Failed"}, {"name": "Succeeded", "value": "Succeeded"}]}}, {"nullable": true, "type": "object", "var": "$solutionRequestBody.properties.replacementMaps", "options": ["replacement-maps"], "group": "Properties", "help": {"short": "Solution replacement maps."}, "args": [{"nullable": true, "type": "array", "var": "@ReplacementMaps_update.diagnostics", "options": ["diagnostics"], "help": {"short": "Solution diagnostics results."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "@ReplacementMaps_update.diagnostics[].insights", "options": ["insights"], "help": {"short": "Diagnostic insights"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].insights[].id", "options": ["id"], "help": {"short": "Article id."}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].insights[].importanceLevel", "options": ["importance-level"], "help": {"short": "Importance level of the insight."}, "enum": {"items": [{"name": "Critical", "value": "Critical"}, {"name": "Information", "value": "Information"}, {"name": "Warning", "value": "Warning"}]}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].insights[].results", "options": ["results"], "help": {"short": "Detailed result content."}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].insights[].title", "options": ["title"], "help": {"short": "This insight's title."}}]}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.diagnostics[].requiredParameters", "options": ["required-parameters"], "help": {"short": "Required parameters of this item"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].solutionId", "options": ["solution-id"], "help": {"short": "Solution Id to identify single Solutions Diagnostic"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].status", "options": ["status"], "help": {"short": "The status of the resource."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "MissingInputs", "value": "MissingInputs"}, {"name": "Running", "value": "Running"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Timeout", "value": "Timeout"}]}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.diagnostics[].statusDetails", "options": ["status-details"], "help": {"short": "Details of the status"}}]}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.metricsBasedCharts", "options": ["metrics-based-charts"], "help": {"short": "Solution metrics based charts"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Allowed values are Sum, Avg, Count, Min, Max. Default is Sum"}, "enum": {"items": [{"name": "Avg", "value": "Avg"}, {"name": "Count", "value": "Count"}, {"name": "Max", "value": "Max"}, {"name": "Min", "value": "Min"}, {"name": "Sum", "value": "Sum"}]}}, {"nullable": true, "type": "object", "var": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup", "options": ["filter-group"], "help": {"short": "Filter group"}, "args": [{"nullable": true, "type": "array", "var": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter", "options": ["filter"], "help": {"short": "List of filters"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].name", "options": ["name"], "help": {"short": "Filter name"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].operator", "options": ["operator"], "help": {"short": "Filter operator"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].values", "options": ["values"], "help": {"short": "Filter values"}}]}}]}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].name", "options": ["name"], "help": {"short": "Chart name"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].timeSpanDuration", "options": ["time-span-duration"], "help": {"short": "Time span duration"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.metricsBasedCharts[].title", "options": ["title"], "help": {"short": "Chart title"}}]}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.troubleshooters", "options": ["troubleshooters"], "help": {"short": "Solutions Troubleshooters"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.troubleshooters[].solutionId", "options": ["solution-id"], "help": {"short": "Solution Id to identify single Solutions Troubleshooter"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.troubleshooters[].summary", "options": ["summary"], "help": {"short": "Troubleshooter summary"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.troubleshooters[].title", "options": ["title"], "help": {"short": "Troubleshooter title"}}]}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.videoGroups", "options": ["video-groups"], "help": {"short": "Group of Videos"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videoGroups[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the insight content"}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.videoGroups[].videos", "options": ["videos"], "help": {"short": "List of videos will be shown to customers"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videoGroups[].videos[].src", "options": ["src"], "help": {"short": "Link to the video"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videoGroups[].videos[].title", "options": ["title"], "help": {"short": "Title of the video"}}]}}]}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.videos", "options": ["videos"], "help": {"short": "Video solutions, which have the power to engage the customer by stimulating their senses"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videos[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the insight content"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videos[].src", "options": ["src"], "help": {"short": "Link to the video"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.videos[].title", "options": ["title"], "help": {"short": "Title of the video"}}]}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.webResults", "options": ["web-results"], "help": {"short": "Solution AzureKB results"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].replacementKey", "options": ["replacement-key"], "help": {"short": "Place holder used in HTML Content replace control with the content"}}, {"nullable": true, "type": "array", "var": "@ReplacementMaps_update.webResults[].searchResults", "options": ["search-results"], "help": {"short": "AzureKB search results"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].confidence", "options": ["confidence"], "help": {"short": "Confidence of the search result."}, "enum": {"items": [{"name": "High", "value": "High"}, {"name": "Low", "value": "Low"}, {"name": "Medium", "value": "Medium"}]}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].content", "options": ["content"], "help": {"short": "Content of the search result."}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].link", "options": ["link"], "help": {"short": "Link to the document."}}, {"nullable": true, "type": "integer32", "var": "@ReplacementMaps_update.webResults[].searchResults[].rank", "options": ["rank"], "help": {"short": "rank of the search result"}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].resultType", "options": ["result-type"], "help": {"short": "Result type of the search result."}, "enum": {"items": [{"name": "Community", "value": "Community"}, {"name": "Documentation", "value": "Documentation"}]}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].solutionId", "options": ["solution-id"], "help": {"short": "Unique id of the result."}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].source", "options": ["source"], "help": {"short": "Source of the search result."}}, {"nullable": true, "type": "string", "var": "@ReplacementMaps_update.webResults[].searchResults[].title", "options": ["title"], "help": {"short": "Title of the search result."}}]}}]}}], "cls": "ReplacementMaps_update"}, {"nullable": true, "type": "array", "var": "$solutionRequestBody.properties.sections", "options": ["sections"], "group": "Properties", "help": {"short": "List of section object."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.sections[].content", "options": ["content"], "help": {"short": "Solution sections content."}}, {"nullable": true, "type": "@ReplacementMaps_update", "var": "$solutionRequestBody.properties.sections[].replacementMaps", "options": ["replacement-maps"]}, {"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.sections[].title", "options": ["title"], "help": {"short": "Solution sections title."}}]}}, {"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.solutionId", "options": ["solution-id"], "group": "Properties", "help": {"short": "Solution Id to identify single solution."}}, {"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title."}}, {"nullable": true, "type": "array", "var": "$solutionRequestBody.properties.triggerCriteria", "options": ["trigger-criteria"], "group": "Properties", "help": {"short": "Solution request trigger criteria"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.triggerCriteria[].name", "options": ["name"], "help": {"short": "Trigger criterion name."}, "enum": {"items": [{"name": "ProblemClassificationId", "value": "ProblemClassificationId"}, {"name": "ReplacementKey", "value": "ReplacementKey"}, {"name": "SolutionId", "value": "SolutionId"}]}}, {"nullable": true, "type": "string", "var": "$solutionRequestBody.properties.triggerCriteria[].value", "options": ["value"], "help": {"short": "Trigger criterion value."}}]}}]}], "operations": [{"operationId": "Solution_Get", "http": {"path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionResourceName", "arg": "$Path.solutionResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/solutions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "content"}, {"type": "object", "name": "parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "replacementMaps", "props": [{"type": "array", "name": "diagnostics", "item": {"type": "object", "props": [{"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}}, {"type": "string", "name": "replacementKey"}, {"type": "array", "name": "requiredParameters", "item": {"type": "string"}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}, {"type": "string", "name": "statusDetails"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "metricsBasedCharts", "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Avg"}, {"value": "Count"}, {"value": "Max"}, {"value": "Min"}, {"value": "Sum"}]}}, {"type": "object", "name": "filterGroup", "props": [{"type": "array", "name": "filter", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "operator"}, {"type": "string", "name": "values"}]}}]}, {"type": "string", "name": "name"}, {"type": "string", "name": "replacementKey"}, {"type": "string", "name": "timeSpanDuration"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "troubleshooters", "item": {"type": "object", "props": [{"type": "string", "name": "solutionId"}, {"type": "string", "name": "summary"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "videoGroups", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}]}}, {"type": "array", "name": "videos", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "string", "name": "src"}, {"type": "string", "name": "title"}]}}, {"type": "array", "name": "webResults", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey"}, {"type": "array", "name": "searchResults", "item": {"type": "object", "props": [{"type": "string", "name": "confidence", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "string", "name": "content"}, {"type": "string", "name": "link"}, {"type": "integer32", "name": "rank"}, {"type": "string", "name": "resultType", "enum": {"items": [{"value": "Community"}, {"value": "Documentation"}]}}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "source"}, {"type": "string", "name": "title"}]}, "identifiers": ["solutionId"]}]}}], "cls": "ReplacementMaps_read"}, {"type": "array", "name": "sections", "item": {"type": "object", "props": [{"type": "string", "name": "content"}, {"type": "@ReplacementMaps_read", "name": "replacementMaps"}, {"type": "string", "name": "title"}]}, "identifiers": ["title"]}, {"type": "string", "name": "solutionId"}, {"type": "string", "name": "title"}, {"type": "array", "name": "triggerCriteria", "item": {"type": "object", "props": [{"type": "string", "name": "name", "enum": {"items": [{"value": "ProblemClassificationId"}, {"value": "ReplacementKey"}, {"value": "SolutionId"}]}}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SolutionResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "solutionRequestBody", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "content", "arg": "$solutionRequestBody.properties.content"}, {"type": "object", "name": "parameters", "arg": "$solutionRequestBody.properties.parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "provisioningState", "arg": "$solutionRequestBody.properties.provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "replacementMaps", "arg": "$solutionRequestBody.properties.replacementMaps", "props": [{"type": "array", "name": "diagnostics", "arg": "@ReplacementMaps_update.diagnostics", "item": {"type": "object", "props": [{"type": "array", "name": "insights", "arg": "@ReplacementMaps_update.diagnostics[].insights", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@ReplacementMaps_update.diagnostics[].insights[].id"}, {"type": "string", "name": "importanceLevel", "arg": "@ReplacementMaps_update.diagnostics[].insights[].importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results", "arg": "@ReplacementMaps_update.diagnostics[].insights[].results"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.diagnostics[].insights[].title"}]}}, {"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_update.diagnostics[].replacementKey"}, {"type": "array", "name": "requiredParameters", "arg": "@ReplacementMaps_update.diagnostics[].requiredParameters", "item": {"type": "string"}}, {"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_update.diagnostics[].solutionId"}, {"type": "string", "name": "status", "arg": "@ReplacementMaps_update.diagnostics[].status", "enum": {"items": [{"value": "Failed"}, {"value": "MissingInputs"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "Timeout"}]}}, {"type": "string", "name": "statusDetails", "arg": "@ReplacementMaps_update.diagnostics[].statusDetails"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "metricsBasedCharts", "arg": "@ReplacementMaps_update.metricsBasedCharts", "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "@ReplacementMaps_update.metricsBasedCharts[].aggregationType", "enum": {"items": [{"value": "Avg"}, {"value": "Count"}, {"value": "Max"}, {"value": "Min"}, {"value": "Sum"}]}}, {"type": "object", "name": "filterGroup", "arg": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup", "props": [{"type": "array", "name": "filter", "arg": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].name"}, {"type": "string", "name": "operator", "arg": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].operator"}, {"type": "string", "name": "values", "arg": "@ReplacementMaps_update.metricsBasedCharts[].filterGroup.filter[].values"}]}}]}, {"type": "string", "name": "name", "arg": "@ReplacementMaps_update.metricsBasedCharts[].name"}, {"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_update.metricsBasedCharts[].replacementKey"}, {"type": "string", "name": "timeSpanDuration", "arg": "@ReplacementMaps_update.metricsBasedCharts[].timeSpanDuration"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.metricsBasedCharts[].title"}]}}, {"type": "array", "name": "troubleshooters", "arg": "@ReplacementMaps_update.troubleshooters", "item": {"type": "object", "props": [{"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_update.troubleshooters[].solutionId"}, {"type": "string", "name": "summary", "arg": "@ReplacementMaps_update.troubleshooters[].summary"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.troubleshooters[].title"}]}, "identifiers": ["solutionId"]}, {"type": "array", "name": "videoGroups", "arg": "@ReplacementMaps_update.videoGroups", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_update.videoGroups[].replacementKey"}, {"type": "array", "name": "videos", "arg": "@ReplacementMaps_update.videoGroups[].videos", "item": {"type": "object", "props": [{"type": "string", "name": "src", "arg": "@ReplacementMaps_update.videoGroups[].videos[].src"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.videoGroups[].videos[].title"}]}}]}}, {"type": "array", "name": "videos", "arg": "@ReplacementMaps_update.videos", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_update.videos[].replacementKey"}, {"type": "string", "name": "src", "arg": "@ReplacementMaps_update.videos[].src"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.videos[].title"}]}}, {"type": "array", "name": "webResults", "arg": "@ReplacementMaps_update.webResults", "item": {"type": "object", "props": [{"type": "string", "name": "replacementKey", "arg": "@ReplacementMaps_update.webResults[].replacementKey"}, {"type": "array", "name": "searchResults", "arg": "@ReplacementMaps_update.webResults[].searchResults", "item": {"type": "object", "props": [{"type": "string", "name": "confidence", "arg": "@ReplacementMaps_update.webResults[].searchResults[].confidence", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "string", "name": "content", "arg": "@ReplacementMaps_update.webResults[].searchResults[].content"}, {"type": "string", "name": "link", "arg": "@ReplacementMaps_update.webResults[].searchResults[].link"}, {"type": "integer32", "name": "rank", "arg": "@ReplacementMaps_update.webResults[].searchResults[].rank"}, {"type": "string", "name": "resultType", "arg": "@ReplacementMaps_update.webResults[].searchResults[].resultType", "enum": {"items": [{"value": "Community"}, {"value": "Documentation"}]}}, {"type": "string", "name": "solutionId", "arg": "@ReplacementMaps_update.webResults[].searchResults[].solutionId"}, {"type": "string", "name": "source", "arg": "@ReplacementMaps_update.webResults[].searchResults[].source"}, {"type": "string", "name": "title", "arg": "@ReplacementMaps_update.webResults[].searchResults[].title"}]}, "identifiers": ["solutionId"]}]}}], "cls": "ReplacementMaps_update"}, {"type": "array", "name": "sections", "arg": "$solutionRequestBody.properties.sections", "item": {"type": "object", "props": [{"type": "string", "name": "content", "arg": "$solutionRequestBody.properties.sections[].content"}, {"type": "@ReplacementMaps_update", "name": "replacementMaps", "arg": "$solutionRequestBody.properties.sections[].replacementMaps"}, {"type": "string", "name": "title", "arg": "$solutionRequestBody.properties.sections[].title"}]}, "identifiers": ["title"]}, {"type": "string", "name": "solutionId", "arg": "$solutionRequestBody.properties.solutionId"}, {"type": "string", "name": "title", "arg": "$solutionRequestBody.properties.title"}, {"type": "array", "name": "triggerCriteria", "arg": "$solutionRequestBody.properties.triggerCriteria", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$solutionRequestBody.properties.triggerCriteria[].name", "enum": {"items": [{"value": "ProblemClassificationId"}, {"value": "ReplacementKey"}, {"value": "SolutionId"}]}}, {"type": "string", "name": "value", "arg": "$solutionRequestBody.properties.triggerCriteria[].value"}]}, "identifiers": ["name"]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Solution_Create", "http": {"path": "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "solutionResourceName", "arg": "$Path.solutionResourceName", "required": true, "format": {"pattern": "^[A-Za-z0-9-+@()_]+$", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SolutionResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..6bb832762 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3NvbHV0aW9ucy97fQ==/2023-09-01-preview.xml @@ -0,0 +1,1442 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.json new file mode 100644 index 000000000..a3ac9e689 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help troubleshooter", "commands": [{"name": "show", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.troubleshooterName", "options": ["troubleshooter-name"], "required": true, "help": {"short": "Troubleshooter resource Name."}, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}], "operations": [{"operationId": "Troubleshooters_Get", "http": {"path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "troubleshooterName", "arg": "$Path.troubleshooterName", "required": true, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/troubleshooters/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "parameters", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "AutoContinue"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "solutionId"}, {"readOnly": true, "type": "array", "name": "steps", "item": {"type": "object", "props": [{"type": "object", "name": "automatedCheckResults", "props": [{"type": "string", "name": "result"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Error"}, {"value": "Information"}, {"value": "Success"}, {"value": "Warning"}]}}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "string", "name": "executionStatus", "enum": {"items": [{"value": "Failed"}, {"value": "Running"}, {"value": "Success"}, {"value": "Warning"}]}}, {"type": "string", "name": "executionStatusDescription"}, {"type": "string", "name": "guidance"}, {"type": "string", "name": "id"}, {"type": "array", "name": "inputs", "item": {"type": "object", "props": [{"type": "string", "name": "questionContent"}, {"type": "string", "name": "questionContentType", "enum": {"items": [{"value": "Html"}, {"value": "Markdown"}, {"value": "Text"}]}}, {"type": "string", "name": "questionId"}, {"type": "string", "name": "questionType"}, {"type": "string", "name": "recommendedOption"}, {"type": "string", "name": "responseHint"}, {"type": "array", "name": "responseOptions", "item": {"type": "object", "props": [{"type": "string", "name": "key"}, {"type": "string", "name": "value"}]}, "identifiers": ["key"]}, {"type": "object", "name": "responseValidationProperties", "props": [{"type": "boolean", "name": "isRequired"}, {"type": "integer64", "name": "maxLength"}, {"type": "string", "name": "regex"}, {"type": "string", "name": "validationErrorMessage"}]}, {"type": "string", "name": "selectedOptionValue"}]}, "identifiers": ["questionId"]}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}, "identifiers": ["id"]}, {"type": "boolean", "name": "isLastStep"}, {"type": "string", "name": "title"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AutomatedCheck"}, {"value": "Decision"}, {"value": "Insight"}, {"value": "Solution"}]}}]}, "identifiers": ["id"]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "create", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.troubleshooterName", "options": ["troubleshooter-name"], "required": true, "help": {"short": "Troubleshooter resource Name."}, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$createTroubleshooterRequestBody.properties.parameters", "options": ["parameters"], "group": "Properties", "help": {"short": "Client input parameters to run Troubleshooter Resource"}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$createTroubleshooterRequestBody.properties.solutionId", "options": ["solution-id"], "group": "Properties", "help": {"short": "Solution Id to identify single troubleshooter."}}]}], "operations": [{"operationId": "Troubleshooters_Create", "http": {"path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "troubleshooterName", "arg": "$Path.troubleshooterName", "required": true, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "createTroubleshooterRequestBody", "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "parameters", "arg": "$createTroubleshooterRequestBody.properties.parameters", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "solutionId", "arg": "$createTroubleshooterRequestBody.properties.solutionId"}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{scope}/providers/Microsoft.Help/troubleshooters/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "parameters", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "AutoContinue"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Running"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "solutionId"}, {"readOnly": true, "type": "array", "name": "steps", "item": {"type": "object", "props": [{"type": "object", "name": "automatedCheckResults", "props": [{"type": "string", "name": "result"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Error"}, {"value": "Information"}, {"value": "Success"}, {"value": "Warning"}]}}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "string", "name": "executionStatus", "enum": {"items": [{"value": "Failed"}, {"value": "Running"}, {"value": "Success"}, {"value": "Warning"}]}}, {"type": "string", "name": "executionStatusDescription"}, {"type": "string", "name": "guidance"}, {"type": "string", "name": "id"}, {"type": "array", "name": "inputs", "item": {"type": "object", "props": [{"type": "string", "name": "questionContent"}, {"type": "string", "name": "questionContentType", "enum": {"items": [{"value": "Html"}, {"value": "Markdown"}, {"value": "Text"}]}}, {"type": "string", "name": "questionId"}, {"type": "string", "name": "questionType"}, {"type": "string", "name": "recommendedOption"}, {"type": "string", "name": "responseHint"}, {"type": "array", "name": "responseOptions", "item": {"type": "object", "props": [{"type": "string", "name": "key"}, {"type": "string", "name": "value"}]}, "identifiers": ["key"]}, {"type": "object", "name": "responseValidationProperties", "props": [{"type": "boolean", "name": "isRequired"}, {"type": "integer64", "name": "maxLength"}, {"type": "string", "name": "regex"}, {"type": "string", "name": "validationErrorMessage"}]}, {"type": "string", "name": "selectedOptionValue"}]}, "identifiers": ["questionId"]}, {"type": "array", "name": "insights", "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "importanceLevel", "enum": {"items": [{"value": "Critical"}, {"value": "Information"}, {"value": "Warning"}]}}, {"type": "string", "name": "results"}, {"type": "string", "name": "title"}]}, "identifiers": ["id"]}, {"type": "boolean", "name": "isLastStep"}, {"type": "string", "name": "title"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AutomatedCheck"}, {"value": "Decision"}, {"value": "Insight"}, {"value": "Solution"}]}}]}, "identifiers": ["id"]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..15c47d56b --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fQ==/2023-09-01-preview.xml @@ -0,0 +1,397 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.json new file mode 100644 index 000000000..5d48a2128 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/continue", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9jb250aW51ZQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help troubleshooter", "commands": [{"name": "continue", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/continue", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9jb250aW51ZQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.troubleshooterName", "options": ["troubleshooter-name"], "required": true, "help": {"short": "Troubleshooter resource Name."}, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, {"name": "ContinueRequestBody", "args": [{"type": "array", "var": "$continueRequestBody.responses", "options": ["responses"], "group": "ContinueRequestBody", "item": {"type": "object", "args": [{"type": "string", "var": "$continueRequestBody.responses[].questionId", "options": ["question-id"], "help": {"short": "id of the question."}}, {"type": "string", "var": "$continueRequestBody.responses[].questionType", "options": ["question-type"], "help": {"short": "Text Input. Will be a single line input."}, "enum": {"items": [{"name": "Dropdown", "value": "Dropdown"}, {"name": "MultiLineInfoBox", "value": "MultiLineInfoBox"}, {"name": "RadioButton", "value": "RadioButton"}, {"name": "TextInput", "value": "TextInput"}]}}, {"type": "string", "var": "$continueRequestBody.responses[].response", "options": ["response"], "help": {"short": "Response key for SingleInput. For Multi-line test/open ended question it is free form text"}}]}}, {"type": "string", "var": "$continueRequestBody.stepId", "options": ["step-id"], "group": "ContinueRequestBody", "help": {"short": "Unique id of the result."}}]}], "operations": [{"operationId": "Troubleshooters_Continue", "http": {"path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "troubleshooterName", "arg": "$Path.troubleshooterName", "required": true, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "continueRequestBody", "props": [{"type": "array", "name": "responses", "arg": "$continueRequestBody.responses", "item": {"type": "object", "props": [{"type": "string", "name": "questionId", "arg": "$continueRequestBody.responses[].questionId"}, {"type": "string", "name": "questionType", "arg": "$continueRequestBody.responses[].questionType", "enum": {"items": [{"value": "Dropdown"}, {"value": "MultiLineInfoBox"}, {"value": "RadioButton"}, {"value": "TextInput"}]}}, {"type": "string", "name": "response", "arg": "$continueRequestBody.responses[].response"}]}}, {"type": "string", "name": "stepId", "arg": "$continueRequestBody.stepId"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.xml new file mode 100644 index 000000000..34f03caf2 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9jb250aW51ZQ==/2023-09-01-preview.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.json new file mode 100644 index 000000000..813e0b49d --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/end", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9lbmQ=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help troubleshooter", "commands": [{"name": "end", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/end", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9lbmQ=/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.troubleshooterName", "options": ["troubleshooter-name"], "required": true, "help": {"short": "Troubleshooter resource Name."}, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}], "operations": [{"operationId": "Troubleshooters_End", "http": {"path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "troubleshooterName", "arg": "$Path.troubleshooterName", "required": true, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [204], "header": {"items": [{"name": "Location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.xml new file mode 100644 index 000000000..ff87f2559 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9lbmQ=/2023-09-01-preview.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.json b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.json new file mode 100644 index 000000000..17d29ee56 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/restart", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9yZXN0YXJ0/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "self-help troubleshooter", "commands": [{"name": "restart", "version": "2023-09-01-preview", "resources": [{"id": "/{scope}/providers/microsoft.help/troubleshooters/{}/restart", "version": "2023-09-01-preview", "swagger": "mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9yZXN0YXJ0/V/MjAyMy0wOS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.scope", "options": ["scope"], "required": true, "help": {"short": "This is an extension resource provider and only resource level extension is supported at the moment."}}, {"type": "string", "var": "$Path.troubleshooterName", "options": ["troubleshooter-name"], "required": true, "help": {"short": "Troubleshooter resource Name."}, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}], "operations": [{"operationId": "Troubleshooters_Restart", "http": {"path": "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "scope", "arg": "$Path.scope", "required": true, "skipUrlEncoding": true}, {"type": "string", "name": "troubleshooterName", "arg": "$Path.troubleshooterName", "required": true, "format": {"pattern": "([A-Za-z0-9]+(-[A-Za-z0-9]+)+)", "maxLength": 100, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "Location"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "troubleshooterResourceName"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.xml b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.xml new file mode 100644 index 000000000..9c3a536b4 --- /dev/null +++ b/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5oZWxwL3Ryb3VibGVzaG9vdGVycy97fS9yZXN0YXJ0/2023-09-01-preview.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + +
+ + + + + + + +
+
+ +
+
+