Skip to content

Commit

Permalink
docs for get support service
Browse files Browse the repository at this point in the history
  • Loading branch information
grhuangmsft committed Feb 7, 2024
1 parent 7bdc9aa commit 913b1bb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 12 deletions.
24 changes: 18 additions & 6 deletions src/Support/Support.Autorest/docs/Get-AzSupportService.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,37 @@ Gets a specific Azure service for support ticket creation.

### Example 1: {{ Add title here }}
```powershell
{{ Add code here }}
Get-AzSupportService
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
DisplayName Name ResourceType
----------- ---- ------------
Activity Logs 484e2236-bc6d-b1bb-76d2-7d09278cf9ea {}
Advisor 26d8424b-0a41-4443-cbc6-0309ea8708d0 {}
AKS Edge Essentials 1232100c-42c0-f626-2b4f-8c8a4877acad {Microsoft.Kubernetes/connectedClusters}
```

{{ Add description here }}
Lists all the Azure services available for support ticket creation.
For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page.
Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation.
This practice ensures that you always have the most recent set of service and problem classification Ids.

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
Get-AzSupportService -Name "484e2236-bc6d-b1bb-76d2-7d09278cf9ea"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
DisplayName : Activity Logs
Id : /providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea
Name : 484e2236-bc6d-b1bb-76d2-7d09278cf9ea
ResourceGroupName :
ResourceType : {}
Type : Microsoft.Support/services
```

{{ Add description here }}
Gets a specific Azure service for support ticket creation.

## PARAMETERS

Expand Down
21 changes: 15 additions & 6 deletions src/Support/Support.Autorest/examples/Get-AzSupportService.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
### Example 1: {{ Add title here }}
```powershell
{{ Add code here }}
Get-AzSupportService
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
DisplayName Name ResourceType
----------- ---- ------------
Activity Logs 484e2236-bc6d-b1bb-76d2-7d09278cf9ea {}
Advisor 26d8424b-0a41-4443-cbc6-0309ea8708d0 {}
AKS Edge Essentials 1232100c-42c0-f626-2b4f-8c8a4877acad {Microsoft.Kubernetes/connectedClusters}
```

{{ Add description here }}
Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
Get-AzSupportService -Name "484e2236-bc6d-b1bb-76d2-7d09278cf9ea"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
DisplayName : Activity Logs
Id : /providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea
Name : 484e2236-bc6d-b1bb-76d2-7d09278cf9ea
ResourceGroupName :
ResourceType : {}
Type : Microsoft.Support/services
```

{{ Add description here }}
Gets a specific Azure service for support ticket creation.

0 comments on commit 913b1bb

Please sign in to comment.