diff --git a/src/Support/Support.Autorest/README.md b/src/Support/Support.Autorest/README.md index b6fb5d355554..dff319fb09bc 100644 --- a/src/Support/Support.Autorest/README.md +++ b/src/Support/Support.Autorest/README.md @@ -31,7 +31,7 @@ For information on how to develop for `Az.Support`, see [how-to.md](how-to.md). ```yaml # pin the swagger version by using the commit id instead of branch name -commit: 99b27b136352e2f16c3f868857fa33157ace895f +commit: 138bfbe2562a56cc9c84e003229b9440beaf419c require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md @@ -191,6 +191,13 @@ directive: - from: swagger-document where: $.definitions.SupportTicketDetails transform: $.required = ['properties'] + - from: swagger-document + where: $.definitions.SupportTicketDetailsProperties.properties.enrollmentId + transform: >- + return { + "description": "Enrollment Id associated with the support ticket.", + "type": "string", + } # only needed for 2022 preview version, should be able to remove for GA - from: swagger-document where: $.definitions.SupportTicketDetailsProperties diff --git a/src/Support/Support.Autorest/docs/New-AzSupportTicket.md b/src/Support/Support.Autorest/docs/New-AzSupportTicket.md index 778d943b34e2..0e3e5ebc8900 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportTicket.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportTicket.md @@ -25,8 +25,9 @@ New-AzSupportTicket -Name -AdvancedDiagnosticConsent -ContactD -ContactDetailPreferredTimeZone -ContactDetailPrimaryEmailAddress -Description -ProblemClassificationId -ServiceId -Severity -Title [-SubscriptionId ] [-ContactDetailAdditionalEmailAddress ] - [-ContactDetailPhoneNumber ] [-FileWorkspaceName ] [-ProblemScopingQuestion ] - [-ProblemStartTime ] [-QuotaTicketDetailQuotaChangeRequest ] + [-ContactDetailPhoneNumber ] [-EnrollmentId ] [-FileWorkspaceName ] + [-ProblemScopingQuestion ] [-ProblemStartTime ] + [-QuotaTicketDetailQuotaChangeRequest ] [-QuotaTicketDetailQuotaChangeRequestSubType ] [-QuotaTicketDetailQuotaChangeRequestVersion ] [-Require24X7Response] [-SecondaryConsent ] [-SupportPlanId ] [-SupportTicketId ] [-TechnicalTicketDetailResourceId ] [-DefaultProfile ] [-AsJob] @@ -419,6 +420,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrollmentId +Enrollment Id associated with the support ticket. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -FileWorkspaceName File workspace name. diff --git a/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md index e02d6256f318..9056dd10f1fa 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md @@ -22,8 +22,8 @@ New-AzSupportTicketsNoSubscription -SupportTicketName -AdvancedDiagnost -ContactDetailPreferredTimeZone -ContactDetailPrimaryEmailAddress -Description -ProblemClassificationId -ServiceId -Severity -Title [-ContactDetailAdditionalEmailAddress ] [-ContactDetailPhoneNumber ] - [-FileWorkspaceName ] [-ProblemScopingQuestion ] [-ProblemStartTime ] - [-QuotaTicketDetailQuotaChangeRequest ] + [-EnrollmentId ] [-FileWorkspaceName ] [-ProblemScopingQuestion ] + [-ProblemStartTime ] [-QuotaTicketDetailQuotaChangeRequest ] [-QuotaTicketDetailQuotaChangeRequestSubType ] [-QuotaTicketDetailQuotaChangeRequestVersion ] [-Require24X7Response] [-SecondaryConsent ] [-SupportPlanId ] [-SupportTicketId ] [-TechnicalTicketDetailResourceId ] [-DefaultProfile ] [-AsJob] @@ -297,6 +297,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrollmentId +Enrollment Id associated with the support ticket. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -FileWorkspaceName File workspace name.