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