Skip to content

Commit

Permalink
[UX] Fix the issues in UX files (Azure#20198)
Browse files Browse the repository at this point in the history
* update the UX files

* update the UX files

* update the UX files

* update the UX files

* Remove the suppressed exceptions

* Update subscriptions.json

Co-authored-by: wyunchi-ms <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>
  • Loading branch information
3 people authored Nov 23, 2022
1 parent 891db45 commit 1342a1f
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"name":"Get-AzSubscription",
"description":"Get subscriptions that the current account can access.",
"path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/subscriptions",
"path":"/subscriptions/{subscriptionId}",
"confirmation":false,
"help":{
"learnMore":{
Expand All @@ -17,8 +17,7 @@
"parameterSets":[
{
"parameters":[
"[[-ResourceGroupName] <System.String>]",
"[[-TenantId] <String>]"
"[[-SubscriptionId] <String>]"
]
}
]
Expand All @@ -28,16 +27,12 @@
"description":"Get subscriptions that the current account can access.",
"parameters":[
{
"name":"-ResourceGroupName",
"value":"[path.resourceGroupName]"
},
{
"name":"-TenantId",
"value":"[path.TenantId]"
"name":"-SubscriptionId",
"value":"[path.subscriptionId]"
}
]
}
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
{
"name":"-ResourceGroupName",
"value":"[path.resourceGroupName]"
},
{
"name":"-Name",
"value":"[path.dataFactoryName]"
}
]
}
Expand Down Expand Up @@ -58,6 +62,10 @@
{
"name":"-ResourceGroupName",
"value":"[path.resourceGroupName]"
},
{
"name":"-Name",
"value":"[path.dataFactoryName]"
}
]
}
Expand Down
33 changes: 19 additions & 14 deletions src/Sql/Sql/UX/Microsoft.Sql/sqlDatabase.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,34 +87,39 @@
},
{
"name":"Suspend-AzSqlDatabase",
"description":"Restarts an Azure virtual machine.",
"path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{VMName}",
"description":"Suspends a SQL Data Warehouse database.",
"path":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{ServerName}/databases",
"confirmation":false,
"help":{
"learnMore":{
"url":"https://learn.microsoft.com/powershell/module/az.compute/restart-azvm"
"url":"https://learn.microsoft.com/powershell/module/az.sql/suspend-azsqldatabase"
},
"parameterSets":[
{
"parameters":[
"[-ResourceGroupName] <System.String>",
"[-VMName] <System.String>"
"[[-ResourceGroupName] <System.String>]",
"[[-ServerName] <String>]",
"[[-DatabaseName] <String>]"
]
}
]
},
"examples":[
{
"description":"Restarts an Azure virtual machine.",
"description":"Suspends a SQL Data Warehouse database.",
"parameters":[
{
"name":"-ResourceGroupName",
"value":"[path.resourceGroupName]"
},
{
"name":"-Name",
"value":"[path.VMName]"
}
{
"name":"-ResourceGroupName",
"value":"[path.resourceGroupName]"
},
{
"name":"-ServerName",
"value":"[path.ServerName]"
},
{
"name":"-DatabaseName",
"value":"[path.DatabaseName]"
}
]
}
]
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions tools/StaticAnalysis/Exceptions/Az.Sql/UXMetadataIssues.csv

This file was deleted.

0 comments on commit 1342a1f

Please sign in to comment.