зеркало из https://github.com/Azure/aaz.git
Updated example commands.
This commit is contained in:
Родитель
d3ddecbcc6
Коммит
cc9a513e39
|
@ -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"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче