Skip to content

Commit 030b6a2

Browse files
shahbj79Bhavin Shah
andauthored
Documentation update for Az.Support module (Azure#12239)
* doc update adding example * doc update adding example * reverting version changes Co-authored-by: Bhavin Shah <[email protected]>
1 parent c9e93a7 commit 030b6a2

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

src/Support/Support/help/Get-AzSupportTicket.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Name Title SupportTicketId Severity ServiceDisplayName
7171
test1 test title1 150010521000317 Minimal Virtual Machine running Linux Closed 2/5/2020 1:33:53 AM
7272
```
7373

74-
### Example 3: Get first 2 support tickets filtered by status
74+
### Example 4: Get first 2 support tickets filtered by status
7575
```powershell
7676
PS C:\> Get-AzSupportTicket -Filter "Status eq 'Closed'" -First 2
7777
@@ -81,7 +81,7 @@ test1 test title1 150010521000317 Minimal Virtual Machine runn
8181
test2 test title2 150010521000318 Minimal Billing Closed 2/5/2020 1:33:53 AM
8282
```
8383

84-
### Example 3: Get all support tickets that are in Open state and created after Dec 20th, 2019
84+
### Example 5: Get all support tickets that are in Open state and created after Dec 20th, 2019
8585
```powershell
8686
PS C:\> Get-AzSupportTicket -Filter "Status eq 'Open' and CreatedDate gt 2019-12-20"
8787

src/Support/Support/help/New-AzSupportTicket.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,16 @@ Name Title SupportTicketId Severity ServiceDisplayName St
241241
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
242242
```
243243

244-
### Example 15: Create a support ticket by specifying individual customer contact parameters instead of CustomerContactDetail object.
244+
### Example 15: Create a quota support ticket to increase quota for Azure SQL Managed Instance. Use Get-AzSupportService and Get-AzSupportProblemClassification to retrieve correct GUIDs for Quota SQL Managed Instance service problem classification.
245+
```powershell
246+
PS C:\> New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{quota_service_guid}/problemClassifications/{sql_managed_instance_problemClassification_guid}" -QuotaTicketDetail @{QuotaChangeRequestVersion = "1.0" ; QuotaChangeRequestSubType = "SQLMI" ; QuotaChangeRequests = (@{Region = "westus"; Payload = "{`"NewLimit`":200,`"Type`":`"vCore`" }"}, @{Region = "westus"; Payload = "{`"NewLimit`":200,`"Type`":`"Subnet`" }"})} -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "[email protected]"}
247+
248+
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
249+
---- ----- --------------- -------- ------------------ ------ -----------
250+
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
251+
```
252+
253+
### Example 16: Create a support ticket by specifying individual customer contact parameters instead of CustomerContactDetail object.
245254
```powershell
246255
PS C:\> New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerFirstName "first" -CustomerLastName "last" -CustomerPreferredTimeZone "pacific standard time" -CustomerPreferredSupportLanguage "en-us" -CustomerCountry = "USA" -PreferredContactMethod "Email" -CustomerPrimaryEmailAddress "[email protected]"
247256
@@ -250,7 +259,7 @@ Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
250259
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
251260
```
252261

253-
### Example 16: Create a support ticket with request for 24 x 7 response from Azure.
262+
### Example 17: Create a support ticket with request for 24 x 7 response from Azure.
254263
```powershell
255264
PS C:\> New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "critical" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerFirstName "first" -CustomerLastName "last" -CustomerPreferredTimeZone "pacific standard time" -CustomerPreferredSupportLanguage "en-us" -CustomerCountry = "USA" -PreferredContactMethod "Email" -CustomerPrimaryEmailAddress "[email protected]" -Require24X7Response
256265
@@ -259,7 +268,7 @@ Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
259268
test1 Test 150010521000317 Critical Billing Open 2/5/2020 1:33:53 AM
260269
```
261270

262-
### Example 17: Create a support ticket on behalf of your customer if you are a Cloud Solution Provider (CSP). CSP should first login into their tenant, and then login into customer's tenant as shown in the example below. They must then use -CSPHomeTenantId parameter to specify their home tenant id at the time of creating a support ticket.
271+
### Example 18: Create a support ticket on behalf of your customer if you are a Cloud Solution Provider (CSP). CSP should first login into their tenant, and then login into customer's tenant as shown in the example below. They must then use -CSPHomeTenantId parameter to specify their home tenant id at the time of creating a support ticket.
263272
```powershell
264273
265274
PS C:\> Login-AzAccount

0 commit comments

Comments
 (0)