This commit is contained in:
Arthur Wang 2023-10-13 10:49:16 -04:00
Родитель d3ddecbcc6
Коммит cc9a513e39
6 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -23,7 +23,7 @@ This API is used to check the uniqueness of a resource name used for a diagnosti
- Check Resource Uniqueness
```bash
self-help check-name-availability --scope subscriptionId/{subId} --name {diagnostic-name} --type 'Microsoft.Help/diagnostics'
self-help check-name-availability --scope subscriptionId/{subId} --name {solution-name} --type 'Microsoft.Help/solutions'
self-help check-name-availability --scope subscriptionId/{subId} --name {troubleshooter-name} --type 'Microsoft.Help/troubleshooters'
self-help check-name-availability --scope subscriptions/{subId} --name {diagnostic-name} --type 'Microsoft.Help/diagnostics'
self-help check-name-availability --scope subscriptions/{subId} --name {solution-name} --type 'Microsoft.Help/solutions'
self-help check-name-availability --scope subscriptions/{subId} --name {troubleshooter-name} --type 'Microsoft.Help/troubleshooters'
```

Просмотреть файл

@ -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}] --scope {scope}
self-help solution create --solution-name {solution-name} --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope {scope}
```

Просмотреть файл

@ -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 [{key:ReplacementKey,value:{replacement-key}}] --parameters {SearchText:{search-text},SymptomId:{symptom-id}} --scope {scope}
```

Просмотреть файл

@ -12,5 +12,5 @@ Continue the troubleshooting steps for the respective troubleshooter resource na
- Continue Troubleshooter at Resource Level
```bash
self-help troubleshooter continue --troubleshooter-name {troubleshooter-name} --step-id {step-id} --responses [{questionId:SampleQuestionId,questionType:Text,response:ConnectionException}] --scope {scope}
self-help troubleshooter continue --troubleshooter-name {troubleshooter-name} --step-id {step-id} --responses [] --scope {scope}
```

Просмотреть файл

@ -12,5 +12,5 @@ Create the specific troubleshooter action under a resource or subscription.
- Create Troubleshooter at Resource Level
```bash
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}
```

Просмотреть файл

@ -100326,7 +100326,7 @@
"examples": [
{
"commands": [
"self-help solution create --solution-name {solution-name} --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --scope {scope}"
"self-help solution create --solution-name {solution-name} --trigger-criteria [{name:solutionid,value:Demo2InsightV2}] --parameters {} --scope {scope}"
],
"name": "Create Solution at Resource Level"
}
@ -100430,7 +100430,7 @@
"examples": [
{
"commands": [
"self-help troubleshooter continue --troubleshooter-name {troubleshooter-name} --step-id {step-id} --responses [{questionId:SampleQuestionId,questionType:Text,response:ConnectionException}] --scope {scope}"
"self-help troubleshooter continue --troubleshooter-name {troubleshooter-name} --step-id {step-id} --responses [] --scope {scope}"
],
"name": "Continue Troubleshooter at Resource Level"
}
@ -100614,9 +100614,9 @@
"examples": [
{
"commands": [
"self-help check-name-availability --scope subscriptionId/{subId} --name {diagnostic-name} --type 'Microsoft.Help/diagnostics'",
"self-help check-name-availability --scope subscriptionId/{subId} --name {solution-name} --type 'Microsoft.Help/solutions'",
"self-help check-name-availability --scope subscriptionId/{subId} --name {troubleshooter-name} --type 'Microsoft.Help/troubleshooters'"
"self-help check-name-availability --scope subscriptions/{subId} --name {diagnostic-name} --type 'Microsoft.Help/diagnostics'",
"self-help check-name-availability --scope subscriptions/{subId} --name {solution-name} --type 'Microsoft.Help/solutions'",
"self-help check-name-availability --scope subscriptions/{subId} --name {troubleshooter-name} --type 'Microsoft.Help/troubleshooters'"
],
"name": "Check Resource Uniqueness"
}