Skip to content

Commit

Permalink
make advanced diagnostic consent required
Browse files Browse the repository at this point in the history
  • Loading branch information
grhuangmsft committed Mar 12, 2024
1 parent 862ddd7 commit 4600eba
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions src/Support/Support.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ directive:
- from: swagger-document
where: $.definitions.SupportTicketDetails
transform: $.required = ['properties']
# only needed for 2022 preview version, should be able to remove for GA
- from: swagger-document
where: $.definitions.SupportTicketDetailsProperties
transform: $.required = ['serviceId','title','description','problemClassificationId','severity','contactDetails', 'advancedDiagnosticConsent']

- from: swagger-document
where: $.paths["/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts"].get.operationId
transform: >-
Expand Down
14 changes: 7 additions & 7 deletions src/Support/Support.Autorest/docs/New-AzSupportTicket.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ The auxiliary token will be from the Cloud solution provider (CSP) partner tenan
## SYNTAX

```
New-AzSupportTicket -Name <String> -ContactDetailCountry <String> -ContactDetailFirstName <String>
-ContactDetailLastName <String> -ContactDetailPreferredContactMethod <String>
-ContactDetailPreferredSupportLanguage <String> -ContactDetailPreferredTimeZone <String>
-ContactDetailPrimaryEmailAddress <String> -Description <String> -ProblemClassificationId <String>
-ServiceId <String> -Severity <String> -Title <String> [-SubscriptionId <String>]
[-AdvancedDiagnosticConsent <String>] [-ContactDetailAdditionalEmailAddress <String[]>]
New-AzSupportTicket -Name <String> -AdvancedDiagnosticConsent <String> -ContactDetailCountry <String>
-ContactDetailFirstName <String> -ContactDetailLastName <String>
-ContactDetailPreferredContactMethod <String> -ContactDetailPreferredSupportLanguage <String>
-ContactDetailPreferredTimeZone <String> -ContactDetailPrimaryEmailAddress <String> -Description <String>
-ProblemClassificationId <String> -ServiceId <String> -Severity <String> -Title <String>
[-SubscriptionId <String>] [-ContactDetailAdditionalEmailAddress <String[]>]
[-ContactDetailPhoneNumber <String>] [-FileWorkspaceName <String>] [-ProblemScopingQuestion <String>]
[-ProblemStartTime <DateTime>] [-QuotaTicketDetailQuotaChangeRequest <IQuotaChangeRequest[]>]
[-QuotaTicketDetailQuotaChangeRequestSubType <String>] [-QuotaTicketDetailQuotaChangeRequestVersion <String>]
Expand Down Expand Up @@ -109,7 +109,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ The Azure support engineer working on your ticket will reach out to you for cons
## SYNTAX

```
New-AzSupportTicketsNoSubscription -SupportTicketName <String> -ContactDetailCountry <String>
-ContactDetailFirstName <String> -ContactDetailLastName <String>
New-AzSupportTicketsNoSubscription -SupportTicketName <String> -AdvancedDiagnosticConsent <String>
-ContactDetailCountry <String> -ContactDetailFirstName <String> -ContactDetailLastName <String>
-ContactDetailPreferredContactMethod <String> -ContactDetailPreferredSupportLanguage <String>
-ContactDetailPreferredTimeZone <String> -ContactDetailPrimaryEmailAddress <String> -Description <String>
-ProblemClassificationId <String> -ServiceId <String> -Severity <String> -Title <String>
[-AdvancedDiagnosticConsent <String>] [-ContactDetailAdditionalEmailAddress <String[]>]
[-ContactDetailPhoneNumber <String>] [-FileWorkspaceName <String>] [-ProblemScopingQuestion <String>]
[-ProblemStartTime <DateTime>] [-QuotaTicketDetailQuotaChangeRequest <IQuotaChangeRequest[]>]
[-ContactDetailAdditionalEmailAddress <String[]>] [-ContactDetailPhoneNumber <String>]
[-FileWorkspaceName <String>] [-ProblemScopingQuestion <String>] [-ProblemStartTime <DateTime>]
[-QuotaTicketDetailQuotaChangeRequest <IQuotaChangeRequest[]>]
[-QuotaTicketDetailQuotaChangeRequestSubType <String>] [-QuotaTicketDetailQuotaChangeRequestVersion <String>]
[-Require24X7Response] [-SecondaryConsent <ISecondaryConsent[]>] [-SupportPlanId <String>]
[-SupportTicketId <String>] [-TechnicalTicketDetailResourceId <String>] [-DefaultProfile <PSObject>] [-AsJob]
Expand Down Expand Up @@ -102,7 +102,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Expand Down

0 comments on commit 4600eba

Please sign in to comment.