Skip to content

Commit b6f4bd5

Browse files
v-yuzhichenZiyue Zheng
andauthored
Fix Az.Support Syntax Errors (Azure#17862)
* Fix Az.Support Syntax Errors * Fix Az.Support Syntax Errors * Fix Az.Support Syntax Errors Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 1cb95c2 commit b6f4bd5

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ For detailed documentation on how to construct Payload for various quota types,
115115

116116
## EXAMPLES
117117

118-
### Example 1: Create a Billing or Subscription Management support ticket. Use Get-AzSupportService and Get-AzSupportProblemClassification to retrieve correct GUIDs for Billing or Subscription Management problem classification for which you want to request support
118+
### Example 1: Create a Billing or Subscription Management support ticket. Use Get-AzSupportService and Get-AzSupportProblemClassification to retrieve correct GUIDs for Billing or Subscription Management problem classification for which you want to request support
119119
```powershell
120120
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{billing_service_guid}/problemClassifications/{problemClassification_guid}" -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "[email protected]"}
121121
```
@@ -125,7 +125,7 @@ Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
125125
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
126126
```
127127

128-
### Example 2: Create a technical support ticket for Virtual Machine for Windows resource. Use Get-AzSupportService and Get-AzSupportProblemClassification to retrieve correct GUIDs for Virtual Machine for Windows problem classification for which you want to request support
128+
### Example 2: Create a technical support ticket for Virtual Machine for Windows resource. Use Get-AzSupportService and Get-AzSupportProblemClassification to retrieve correct GUIDs for Virtual Machine for Windows problem classification for which you want to request support
129129
```powershell
130130
New-AzSupportTicket -Name "test1" -Title "Test" -Description "Test" -Severity "minimal" -ProblemClassificationId "/providers/Microsoft.Support/services/{vm_windows_service_guid}/problemClassifications/{problemClassification_guid}" -TechnicalTicketResourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM" -CustomerContactDetail @{FirstName = "first" ; LastName = "last" ; PreferredTimeZone = "pacific standard time" ; PreferredSupportLanguage = "en-us" ; Country = "USA" ; PreferredContactMethod = "Email" ; PrimaryEmailAddress = "[email protected]"}
131131
```
@@ -265,34 +265,34 @@ Name Title SupportTicketId Severity ServiceDisplayName St
265265
test1 Test 150010521000317 Minimal Service and subscription limits (quotas) Open 2/5/2020 1:33:53 AM
266266
```
267267

268-
### Example 16: Create a support ticket by specifying individual customer contact parameters instead of CustomerContactDetail object.
268+
### Example 16: Create a support ticket by specifying individual customer contact parameters instead of CustomerContactDetail object.
269269
```powershell
270-
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]"
270+
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]"
271271
```
272272
```output
273273
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
274274
---- ----- --------------- -------- ------------------ ------ -----------
275275
test1 Test 150010521000317 Minimal Billing Open 2/5/2020 1:33:53 AM
276276
```
277277

278-
### Example 17: Create a support ticket with request for 24 x 7 response from Azure.
278+
### Example 17: Create a support ticket with request for 24 x 7 response from Azure.
279279
```powershell
280-
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
280+
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
281281
```
282282
```output
283283
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate
284284
---- ----- --------------- -------- ------------------ ------ -----------
285285
test1 Test 150010521000317 Critical Billing Open 2/5/2020 1:33:53 AM
286286
```
287287

288-
### 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.
288+
### 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.
289289
```powershell
290290
291-
Login-AzAccount
291+
Connect-AzAccount
292292
293-
Login-AzAccount -TenantId {customer_tenant_id}
293+
Connect-AzAccount -TenantId "customer_tenant_id"
294294
295-
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]" -CSPHomeTenantId {csp_home_tenant_id}
295+
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]" -CSPHomeTenantId "csp_home_tenant_id"
296296
```
297297
```output
298298
Name Title SupportTicketId Severity ServiceDisplayName Status CreatedDate

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test1 test title1 150010521000317 Moderate Virtual Machine runn
7070

7171
### Example 3: Update contact details of support ticket by specify contact object.
7272
```powershell
73-
$contactDetail = new-object Microsoft.Azure.Commands.Support.Models.PSContactProfile
73+
$contactDetail = New-Object Microsoft.Azure.Commands.Support.Models.PSContactProfile
7474
$contactDetail.FirstName = "first name updated"
7575
$contactDetail.LastName = "last name updated"
7676
Update-AzSupportTicket -Name "test1" -CustomerContactDetail $contactDetail

0 commit comments

Comments
 (0)