зеркало из https://github.com/Azure/aaz.git
Updated some description.
This commit is contained in:
Родитель
c786e7a4a6
Коммит
ab876fcb7a
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# [Command] _self-help solution create_
|
||||
|
||||
Create a solution for the specific Azure resource or subscription using the triggering criteria and requiredInputs.
|
||||
Create a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions.
|
||||
|
||||
## Versions
|
||||
|
||||
|
@ -12,5 +12,5 @@ Create a solution for the specific Azure resource or subscription using the trig
|
|||
|
||||
- Create Solution at Resource Level
|
||||
```bash
|
||||
self-help solution create --solution-name {solution-name} --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope {scope}
|
||||
self-help solution create --solution-name {solution-name} --trigger-criteria {trigger-criteria} --parameters {parameters} --scope {scope}
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# [Command] _self-help solution update_
|
||||
|
||||
Update a solution for the specific Azure resource or subscription using the triggering criteria.
|
||||
Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions.
|
||||
|
||||
## Versions
|
||||
|
||||
|
@ -12,5 +12,5 @@ Update a solution for the specific Azure resource or subscription using the trig
|
|||
|
||||
- Update Solution at Resource Level
|
||||
```bash
|
||||
self-help solution update --solution-name {solution-name} --trigger-criteria [{key:ReplacementKey,value:{replacement-key}}] --parameters {SearchText:{search-text},SymptomId:{symptom-id}} --scope {scope}
|
||||
self-help solution update --solution-name {solution-name} --trigger-criteria {trigger-criteria} --parameters {parameters} --scope {scope}
|
||||
```
|
||||
|
|
|
@ -5,10 +5,10 @@ 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 and requiredInputs.
|
||||
: 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.
|
||||
: Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# [Command] _self-help troubleshooter continue_
|
||||
|
||||
Continue the troubleshooting steps for the respective troubleshooter resource name.
|
||||
Uses stepId and responses as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name.
|
||||
|
||||
## Versions
|
||||
|
||||
|
|
|
@ -12,5 +12,5 @@ Restarts the troubleshooter API using applicable troubleshooter resource name as
|
|||
|
||||
- End Troubleshooter at Resource Level
|
||||
```bash
|
||||
self-help troubleshooter end --troubleshooter-name {troubleshooter-name} --scope {scope}
|
||||
self-help troubleshooter restart --troubleshooter-name {troubleshooter-name} --scope {scope}
|
||||
```
|
||||
|
|
|
@ -5,7 +5,7 @@ troubleshooter command will help you create troubleshooters for azure resources.
|
|||
## Commands
|
||||
|
||||
- [continue](/Commands/self-help/troubleshooter/_continue.md)
|
||||
: Continue the troubleshooting steps for the respective troubleshooter resource name.
|
||||
: 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.
|
||||
|
|
|
@ -103822,7 +103822,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",
|
||||
|
@ -103883,7 +103883,7 @@
|
|||
"commands": {
|
||||
"create": {
|
||||
"help": {
|
||||
"short": "Create a solution for the specific Azure resource or subscription using the triggering criteria and requiredInputs."
|
||||
"short": "Create a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions."
|
||||
},
|
||||
"names": [
|
||||
"self-help",
|
||||
|
@ -103895,7 +103895,7 @@
|
|||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"self-help solution create --solution-name {solution-name} --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope {scope}"
|
||||
"self-help solution create --solution-name {solution-name} --trigger-criteria {trigger-criteria} --parameters {parameters} --scope {scope}"
|
||||
],
|
||||
"name": "Create Solution at Resource Level"
|
||||
}
|
||||
|
@ -103945,7 +103945,7 @@
|
|||
},
|
||||
"update": {
|
||||
"help": {
|
||||
"short": "Update a solution for the specific Azure resource or subscription using the triggering criteria."
|
||||
"short": "Update a solution for the specific Azure resource or subscription using the triggering criteria from discovery solutions."
|
||||
},
|
||||
"names": [
|
||||
"self-help",
|
||||
|
@ -103957,7 +103957,7 @@
|
|||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"self-help solution update --solution-name {solution-name} --trigger-criteria [{key:ReplacementKey,value:{replacement-key}}] --parameters {{SearchText:{search-text}},{SymptomId:{symptom-id}} --scope {scope}"
|
||||
"self-help solution update --solution-name {solution-name} --trigger-criteria {trigger-criteria} --parameters {parameters} --scope {scope}"
|
||||
],
|
||||
"name": "Update Solution at Resource Level"
|
||||
}
|
||||
|
@ -103987,7 +103987,7 @@
|
|||
"commands": {
|
||||
"continue": {
|
||||
"help": {
|
||||
"short": "Continue the troubleshooting steps for the respective troubleshooter resource name."
|
||||
"short": "Uses stepId and responses as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name."
|
||||
},
|
||||
"names": [
|
||||
"self-help",
|
||||
|
@ -104030,7 +104030,7 @@
|
|||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"self-help troubleshooter create --troubleshooter-name {troubleshooter-name} --solution-id {solution-id} --parameters {{ResourceURI:subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp}} --scope {scope}"
|
||||
"self-help troubleshooter create --troubleshooter-name {troubleshooter-name} --solution-id {solution-id} --parameters {ResourceURI:subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp} --scope {scope}"
|
||||
],
|
||||
"name": "Create Troubleshooter at Resource Level"
|
||||
}
|
||||
|
@ -104092,7 +104092,7 @@
|
|||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"self-help troubleshooter end --troubleshooter-name {troubleshooter-name} --scope {scope}"
|
||||
"self-help troubleshooter restart --troubleshooter-name {troubleshooter-name} --scope {scope}"
|
||||
],
|
||||
"name": "End Troubleshooter at Resource Level"
|
||||
}
|
||||
|
|
|
@ -1 +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<object>", "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<object>", "name": "solutions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "array<string>", "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"}]}]}]}
|
||||
{"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<object>", "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<object>", "name": "solutions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "array<string>", "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": ""}]}]}
|
|
@ -2,7 +2,7 @@
|
|||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/{scope}/providers/microsoft.help/discoverysolutions" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2Rpc2NvdmVyeVNvbHV0aW9ucw==/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<commandGroup name="self-help discovery-solution">
|
||||
<command name="list" version="2023-09-01-preview">
|
||||
<command name="list" version="2023-09-01-preview" confirmation="">
|
||||
<resource id="/{scope}/providers/microsoft.help/discoverysolutions" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL2Rpc2NvdmVyeVNvbHV0aW9ucw==/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.scope" options="scope" required="True">
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1 +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<object>", "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<object>", "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"}}}}]}}]}]}]}
|
||||
{"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<object>", "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<object>", "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": ""}]}]}
|
|
@ -2,7 +2,7 @@
|
|||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/{scope}/providers/microsoft.help/troubleshooters/{}/continue" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9jb250aW51ZQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<commandGroup name="self-help troubleshooter">
|
||||
<command name="continue" version="2023-09-01-preview">
|
||||
<command name="continue" version="2023-09-01-preview" confirmation="">
|
||||
<resource id="/{scope}/providers/microsoft.help/troubleshooters/{}/continue" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9jb250aW51ZQ==/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.scope" options="scope" required="True">
|
||||
|
|
|
@ -1 +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}]}]}]}
|
||||
{"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": ""}]}]}
|
|
@ -2,7 +2,7 @@
|
|||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/{scope}/providers/microsoft.help/troubleshooters/{}/restart" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9yZXN0YXJ0/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<commandGroup name="self-help troubleshooter">
|
||||
<command name="restart" version="2023-09-01-preview">
|
||||
<command name="restart" version="2023-09-01-preview" confirmation="">
|
||||
<resource id="/{scope}/providers/microsoft.help/troubleshooters/{}/restart" version="2023-09-01-preview" swagger="mgmt-plane/help/ResourceProviders/Microsoft.Help/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5IZWxwL3Ryb3VibGVzaG9vdGVycy97dHJvdWJsZXNob290ZXJOYW1lfS9yZXN0YXJ0/V/MjAyMy0wOS0wMS1wcmV2aWV3"/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.scope" options="scope" required="True">
|
||||
|
|
Загрузка…
Ссылка в новой задаче