diff --git a/src/Support/Support.Autorest/Az.Support.psd1 b/src/Support/Support.Autorest/Az.Support.psd1
index d5778ffcde84..a1992c5ee0d2 100644
--- a/src/Support/Support.Autorest/Az.Support.psd1
+++ b/src/Support/Support.Autorest/Az.Support.psd1
@@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.Support.private.dll'
FormatsToProcess = './Az.Support.format.ps1xml'
- FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportOperation', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketChatTranscriptsNoSubscription', 'Get-AzSupportTicketCommunicationsNoSubscription', 'Get-AzSupportTicketsNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFileAndUpload', 'New-AzSupportFileAndUploadNoSubscription', 'New-AzSupportFileWorkspace', 'New-AzSupportFileWorkspacesNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportCommunication', 'Update-AzSupportCommunicationsNoSubscription', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription'
+ FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportOperation', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketsNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFileAndUpload', 'New-AzSupportFileAndUploadNoSubscription', 'New-AzSupportFileWorkspace', 'New-AzSupportFileWorkspacesNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Support'
diff --git a/src/Support/Support.Autorest/README.md b/src/Support/Support.Autorest/README.md
index 12f7c2dfa56b..745ca6ec2037 100644
--- a/src/Support/Support.Autorest/README.md
+++ b/src/Support/Support.Autorest/README.md
@@ -135,6 +135,32 @@ directive:
verb: Update
subject: CommunicationsNoSubscription
remove: true
+ - from: swagger-document
+ where: $.definitions.CommunicationDetails
+ transform: $.required = ['properties']
+ - from: swagger-document
+ where: $.definitions.SupportTicketDetails
+ transform: $.required = ['properties']
+ - from: swagger-document
+ where: $.paths["/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts"].get.operationId
+ transform: >-
+ return "ChatTranscriptsNoSubscription_List"
+ - from: swagger-document
+ where: $.paths["/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications"].get.operationId
+ transform: >-
+ return "CommunicationsNoSubscription_List"
+ - from: GetAzSupportTicket_List.cs
+ where: $
+ transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
+ - from: GetAzSupportTicketsNoSubscription_List.cs
+ where: $
+ transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
+ - from: GetAzSupportCommunication_List.cs
+ where: $
+ transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
+ - from: GetAzSupportTicketCommunicationsNoSubscription_List.cs
+ where: $
+ transform: $ = $.replace("!String.IsNullOrEmpty(_nextLink)" ,"!String.IsNullOrEmpty(_nextLink) && this._top <= 0");
# Following are common directives which are normally required in all the RPs
# 1. Remove the unexpanded parameter set
# 2. For New-* cmdlets, ViaIdentity is not required
diff --git a/src/Support/Support.Autorest/custom/Get-AzSupportOperation_List.ps1 b/src/Support/Support.Autorest/custom/Get-AzSupportOperation.ps1
similarity index 98%
rename from src/Support/Support.Autorest/custom/Get-AzSupportOperation_List.ps1
rename to src/Support/Support.Autorest/custom/Get-AzSupportOperation.ps1
index f275172fd78f..ca916e5217a4 100644
--- a/src/Support/Support.Autorest/custom/Get-AzSupportOperation_List.ps1
+++ b/src/Support/Support.Autorest/custom/Get-AzSupportOperation.ps1
@@ -27,9 +27,9 @@ Lists all the available Microsoft Support REST API operations.
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IOperation
.Link
-https://learn.microsoft.com/powershell/module/az.support/new-azsupportfile
+https://learn.microsoft.com/powershell/module/az.support/get-azsupportoperation
#>
-function Get-AzSupportOperation_List {
+function Get-AzSupportOperation {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IOperation])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
diff --git a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1 b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1
index e85797c82678..46a60b11e6fd 100644
--- a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1
+++ b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUpload.ps1
@@ -128,7 +128,7 @@ process {
}
$PSBoundParameters.Remove('FilePath') | Out-Null
- New-AzSupportFile -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters
+ Az.Support.internal\New-AzSupportFile -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters
$chunkIndex = 0
$startIndex = 0
@@ -136,7 +136,7 @@ process {
while($chunkIndex -lt $NumberOfChunks){
$FileContent = [convert]::ToBase64String($FileContentByteArray[$startIndex..$endIndex])
- Invoke-AzSupportUploadFile -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters
+ Az.Support.internal\Invoke-AzSupportUploadFile -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters
$chunkIndex++
$startIndex = $endIndex + 1
$endIndex = $FileSize - 1
diff --git a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1 b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1
index f42b5aab7f77..9b416e4fa428 100644
--- a/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1
+++ b/src/Support/Support.Autorest/custom/New-AzSupportFileAndUploadNoSubscription.ps1
@@ -122,7 +122,7 @@ process {
}
$PSBoundParameters.Remove('FilePath') | Out-Null
- New-AzSupportFilesNoSubscription -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters
+ Az.Support.internal\New-AzSupportFilesNoSubscription -ErrorAction Stop -Name $FileName -FileSize $FileSize -ChunkSize $ChunkSize -NumberOfChunk $NumberOfChunks @PSBoundParameters
$chunkIndex = 0
$startIndex = 0
@@ -130,7 +130,7 @@ process {
while($chunkIndex -lt $NumberOfChunks){
$FileContent = [convert]::ToBase64String($FileContentByteArray[$startIndex..$endIndex])
- Invoke-AzSupportUploadFilesNoSubscription -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters
+ Az.Support.internal\Invoke-AzSupportUploadFilesNoSubscription -ErrorAction Stop -FileName $FileName -ChunkIndex $chunkIndex -Content $FileContent @PSBoundParameters
$chunkIndex++
$startIndex = $endIndex + 1
$endIndex = $FileSize - 1
diff --git a/src/Support/Support.Autorest/docs/Az.Support.md b/src/Support/Support.Autorest/docs/Az.Support.md
index 1718e7bafa43..0bcfafb640b2 100644
--- a/src/Support/Support.Autorest/docs/Az.Support.md
+++ b/src/Support/Support.Autorest/docs/Az.Support.md
@@ -49,17 +49,6 @@ Get ticket details for an Azure subscription.
Support ticket data is available for 18 months after ticket creation.
If a ticket was created more than 18 months ago, a request for data might cause an error.
-### [Get-AzSupportTicketChatTranscriptsNoSubscription](Get-AzSupportTicketChatTranscriptsNoSubscription.md)
-Lists all chat transcripts for a support ticket
-
-### [Get-AzSupportTicketCommunicationsNoSubscription](Get-AzSupportTicketCommunicationsNoSubscription.md)
-Lists all communications (attachments not included) for a support ticket.
-\
\ You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter.
-The only type of communication supported today is _Web_.
-Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.
-\
\
Support ticket data is available for 18 months after ticket creation.
-If a ticket was created more than 18 months ago, a request for data might cause an error.
-
### [Get-AzSupportTicketsNoSubscription](Get-AzSupportTicketsNoSubscription.md)
Gets details for a specific support ticket.
Support ticket data is available for 18 months after ticket creation.
@@ -114,12 +103,6 @@ This API should be used to check the uniqueness of the name for support ticket c
Check the availability of a resource name.
This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.
-### [Update-AzSupportCommunication](Update-AzSupportCommunication.md)
-Adds a new customer communication to an Azure support ticket.
-
-### [Update-AzSupportCommunicationsNoSubscription](Update-AzSupportCommunicationsNoSubscription.md)
-Adds a new customer communication to an Azure support ticket.
-
### [Update-AzSupportTicket](Update-AzSupportTicket.md)
This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.\
\
Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer.
In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.
diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportChatTranscriptsNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportChatTranscriptsNoSubscription.md
index f302ca238726..3e1cb5b11092 100644
--- a/src/Support/Support.Autorest/docs/Get-AzSupportChatTranscriptsNoSubscription.md
+++ b/src/Support/Support.Autorest/docs/Get-AzSupportChatTranscriptsNoSubscription.md
@@ -12,7 +12,13 @@ Returns chatTranscript details for a no subscription support ticket.
## SYNTAX
-### Get (Default)
+### List (Default)
+```
+Get-AzSupportChatTranscriptsNoSubscription -SupportTicketName [-DefaultProfile ]
+ []
+```
+
+### Get
```
Get-AzSupportChatTranscriptsNoSubscription -ChatTranscriptName -SupportTicketName
[-DefaultProfile ] []
@@ -127,7 +133,7 @@ Support ticket name.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, List
Aliases:
Required: True
diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportCommunicationsNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportCommunicationsNoSubscription.md
index d2893ca78b85..aec070226d3a 100644
--- a/src/Support/Support.Autorest/docs/Get-AzSupportCommunicationsNoSubscription.md
+++ b/src/Support/Support.Autorest/docs/Get-AzSupportCommunicationsNoSubscription.md
@@ -12,7 +12,13 @@ Returns communication details for a support ticket.
## SYNTAX
-### Get (Default)
+### List (Default)
+```
+Get-AzSupportCommunicationsNoSubscription -SupportTicketName [-Filter ] [-Top ]
+ [-DefaultProfile ] []
+```
+
+### Get
```
Get-AzSupportCommunicationsNoSubscription -CommunicationName -SupportTicketName
[-DefaultProfile ] []
@@ -90,6 +96,24 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -Filter
+The filter to apply on the operation.
+You can filter by communicationType and createdDate properties.
+CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators.
+You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
@@ -127,7 +151,7 @@ Support ticket name.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, List
Aliases:
Required: True
@@ -137,6 +161,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -Top
+The number of values to return in the collection.
+Default is 10 and max is 10.
+
+```yaml
+Type: System.Int32
+Parameter Sets: List
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportOperation.md b/src/Support/Support.Autorest/docs/Get-AzSupportOperation.md
index d2666be33222..cd0e6a9d6cea 100644
--- a/src/Support/Support.Autorest/docs/Get-AzSupportOperation.md
+++ b/src/Support/Support.Autorest/docs/Get-AzSupportOperation.md
@@ -17,7 +17,7 @@ Get-AzSupportOperation [-DefaultProfile ] []
```
## DESCRIPTION
-
+Lists all the available Microsoft Support REST API operations.
## EXAMPLES
@@ -46,7 +46,8 @@ Lists all the available Microsoft Support REST API operations.
## PARAMETERS
### -DefaultProfile
-
+The DefaultProfile parameter is not functional.
+Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
```yaml
Type: System.Management.Automation.PSObject
@@ -63,7 +64,6 @@ Accept wildcard characters: False
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
-
## INPUTS
## OUTPUTS
diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportTicketChatTranscriptsNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportTicketChatTranscriptsNoSubscription.md
deleted file mode 100644
index 9ccf242ecaa1..000000000000
--- a/src/Support/Support.Autorest/docs/Get-AzSupportTicketChatTranscriptsNoSubscription.md
+++ /dev/null
@@ -1,92 +0,0 @@
----
-external help file:
-Module Name: Az.Support
-online version: https://learn.microsoft.com/powershell/module/az.support/get-azsupportticketchattranscriptsnosubscription
-schema: 2.0.0
----
-
-# Get-AzSupportTicketChatTranscriptsNoSubscription
-
-## SYNOPSIS
-Lists all chat transcripts for a support ticket
-
-## SYNTAX
-
-```
-Get-AzSupportTicketChatTranscriptsNoSubscription -SupportTicketName [-DefaultProfile ]
- []
-```
-
-## DESCRIPTION
-Lists all chat transcripts for a support ticket
-
-## EXAMPLES
-
-### Example 1: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-## PARAMETERS
-
-### -DefaultProfile
-The DefaultProfile parameter is not functional.
-Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
-
-```yaml
-Type: System.Management.Automation.PSObject
-Parameter Sets: (All)
-Aliases: AzureRMContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -SupportTicketName
-Support ticket name
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-## OUTPUTS
-
-### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IChatTranscriptDetails
-
-## NOTES
-
-## RELATED LINKS
-
diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportTicketCommunicationsNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportTicketCommunicationsNoSubscription.md
deleted file mode 100644
index b4670eeb486d..000000000000
--- a/src/Support/Support.Autorest/docs/Get-AzSupportTicketCommunicationsNoSubscription.md
+++ /dev/null
@@ -1,136 +0,0 @@
----
-external help file:
-Module Name: Az.Support
-online version: https://learn.microsoft.com/powershell/module/az.support/get-azsupportticketcommunicationsnosubscription
-schema: 2.0.0
----
-
-# Get-AzSupportTicketCommunicationsNoSubscription
-
-## SYNOPSIS
-Lists all communications (attachments not included) for a support ticket.
-\
\ You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter.
-The only type of communication supported today is _Web_.
-Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.
-\
\
Support ticket data is available for 18 months after ticket creation.
-If a ticket was created more than 18 months ago, a request for data might cause an error.
-
-## SYNTAX
-
-```
-Get-AzSupportTicketCommunicationsNoSubscription -SupportTicketName [-Filter ] [-Top ]
- [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-Lists all communications (attachments not included) for a support ticket.
-\
\ You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter.
-The only type of communication supported today is _Web_.
-Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.
-\
\
Support ticket data is available for 18 months after ticket creation.
-If a ticket was created more than 18 months ago, a request for data might cause an error.
-
-## EXAMPLES
-
-### Example 1: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-## PARAMETERS
-
-### -DefaultProfile
-The DefaultProfile parameter is not functional.
-Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
-
-```yaml
-Type: System.Management.Automation.PSObject
-Parameter Sets: (All)
-Aliases: AzureRMContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Filter
-The filter to apply on the operation.
-You can filter by communicationType and createdDate properties.
-CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators.
-You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -SupportTicketName
-Support ticket name
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Top
-The number of values to return in the collection.
-Default is 10 and max is 10.
-
-```yaml
-Type: System.Int32
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-## OUTPUTS
-
-### Microsoft.Azure.PowerShell.Cmdlets.Support.Models.ICommunicationDetails
-
-## NOTES
-
-## RELATED LINKS
-
diff --git a/src/Support/Support.Autorest/docs/New-AzSupportCommunication.md b/src/Support/Support.Autorest/docs/New-AzSupportCommunication.md
index 07a0097e2a25..bbc8da49a12d 100644
--- a/src/Support/Support.Autorest/docs/New-AzSupportCommunication.md
+++ b/src/Support/Support.Autorest/docs/New-AzSupportCommunication.md
@@ -13,9 +13,9 @@ Adds a new customer communication to an Azure support ticket.
## SYNTAX
```
-New-AzSupportCommunication -Name -SupportTicketName [-SubscriptionId ]
- [-Body ] [-Sender ] [-Subject ] [-DefaultProfile ] [-AsJob] [-NoWait]
- [-Confirm] [-WhatIf] []
+New-AzSupportCommunication -Name -SupportTicketName -Body -Subject
+ [-SubscriptionId ] [-Sender ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm]
+ [-WhatIf] []
```
## DESCRIPTION
@@ -69,7 +69,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -146,7 +146,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
diff --git a/src/Support/Support.Autorest/docs/New-AzSupportCommunicationsNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportCommunicationsNoSubscription.md
index 9a4d1ee6b6ac..7a33f27c510a 100644
--- a/src/Support/Support.Autorest/docs/New-AzSupportCommunicationsNoSubscription.md
+++ b/src/Support/Support.Autorest/docs/New-AzSupportCommunicationsNoSubscription.md
@@ -14,7 +14,7 @@ Adds a new customer communication to an Azure support ticket.
```
New-AzSupportCommunicationsNoSubscription -CommunicationName -SupportTicketName
- [-Body ] [-Sender ] [-Subject ] [-DefaultProfile ] [-AsJob] [-NoWait]
+ -Body -Subject [-Sender ] [-DefaultProfile ] [-AsJob] [-NoWait]
[-Confirm] [-WhatIf] []
```
@@ -70,7 +70,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -147,7 +147,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
diff --git a/src/Support/Support.Autorest/docs/New-AzSupportTicket.md b/src/Support/Support.Autorest/docs/New-AzSupportTicket.md
index d7e68de05948..5de64d50662e 100644
--- a/src/Support/Support.Autorest/docs/New-AzSupportTicket.md
+++ b/src/Support/Support.Autorest/docs/New-AzSupportTicket.md
@@ -19,18 +19,18 @@ The auxiliary token will be from the Cloud solution provider (CSP) partner tenan
## SYNTAX
```
-New-AzSupportTicket -Name [-SubscriptionId ] [-AdvancedDiagnosticConsent ]
- [-ContactDetailAdditionalEmailAddress ] [-ContactDetailCountry ]
- [-ContactDetailFirstName ] [-ContactDetailLastName ] [-ContactDetailPhoneNumber ]
- [-ContactDetailPreferredContactMethod ] [-ContactDetailPreferredSupportLanguage ]
- [-ContactDetailPreferredTimeZone ] [-ContactDetailPrimaryEmailAddress ]
- [-Description ] [-FileWorkspaceName ] [-ProblemClassificationId ]
- [-ProblemScopingQuestion ] [-ProblemStartTime ]
- [-QuotaTicketDetailQuotaChangeRequest ]
+New-AzSupportTicket -Name -ContactDetailCountry -ContactDetailFirstName
+ -ContactDetailLastName -ContactDetailPreferredContactMethod
+ -ContactDetailPreferredSupportLanguage -ContactDetailPreferredTimeZone
+ -ContactDetailPrimaryEmailAddress -Description -ProblemClassificationId
+ -ServiceId -Severity -Title [-SubscriptionId ]
+ [-AdvancedDiagnosticConsent ] [-ContactDetailAdditionalEmailAddress ]
+ [-ContactDetailPhoneNumber ] [-FileWorkspaceName ] [-ProblemScopingQuestion ]
+ [-ProblemStartTime ] [-QuotaTicketDetailQuotaChangeRequest ]
[-QuotaTicketDetailQuotaChangeRequestSubType ] [-QuotaTicketDetailQuotaChangeRequestVersion ]
- [-Require24X7Response] [-SecondaryConsent ] [-ServiceId ] [-Severity ]
- [-SupportPlanId ] [-SupportTicketId ] [-TechnicalTicketDetailResourceId ]
- [-Title ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+ [-Require24X7Response] [-SecondaryConsent ] [-SupportPlanId ]
+ [-SupportTicketId ] [-TechnicalTicketDetailResourceId ] [-DefaultProfile ] [-AsJob]
+ [-NoWait] [-Confirm] [-WhatIf] []
```
## DESCRIPTION
@@ -155,7 +155,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -170,7 +170,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -185,7 +185,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -216,7 +216,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -235,7 +235,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -251,7 +251,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -266,7 +266,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -297,7 +297,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -358,7 +358,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -480,7 +480,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -496,7 +496,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -571,7 +571,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
diff --git a/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md
index 5ddb250837a3..06679b9f92c0 100644
--- a/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md
+++ b/src/Support/Support.Autorest/docs/New-AzSupportTicketsNoSubscription.md
@@ -16,18 +16,18 @@ The Azure support engineer working on your ticket will reach out to you for cons
## SYNTAX
```
-New-AzSupportTicketsNoSubscription -SupportTicketName [-AdvancedDiagnosticConsent ]
- [-ContactDetailAdditionalEmailAddress ] [-ContactDetailCountry ]
- [-ContactDetailFirstName ] [-ContactDetailLastName ] [-ContactDetailPhoneNumber ]
- [-ContactDetailPreferredContactMethod ] [-ContactDetailPreferredSupportLanguage ]
- [-ContactDetailPreferredTimeZone ] [-ContactDetailPrimaryEmailAddress ]
- [-Description ] [-FileWorkspaceName ] [-ProblemClassificationId ]
- [-ProblemScopingQuestion ] [-ProblemStartTime ]
- [-QuotaTicketDetailQuotaChangeRequest ]
+New-AzSupportTicketsNoSubscription -SupportTicketName -ContactDetailCountry
+ -ContactDetailFirstName -ContactDetailLastName
+ -ContactDetailPreferredContactMethod -ContactDetailPreferredSupportLanguage
+ -ContactDetailPreferredTimeZone -ContactDetailPrimaryEmailAddress -Description
+ -ProblemClassificationId -ServiceId -Severity -Title
+ [-AdvancedDiagnosticConsent ] [-ContactDetailAdditionalEmailAddress ]
+ [-ContactDetailPhoneNumber ] [-FileWorkspaceName ] [-ProblemScopingQuestion ]
+ [-ProblemStartTime ] [-QuotaTicketDetailQuotaChangeRequest ]
[-QuotaTicketDetailQuotaChangeRequestSubType ] [-QuotaTicketDetailQuotaChangeRequestVersion ]
- [-Require24X7Response] [-SecondaryConsent ] [-ServiceId ] [-Severity ]
- [-SupportPlanId ] [-SupportTicketId ] [-TechnicalTicketDetailResourceId ]
- [-Title ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] []
+ [-Require24X7Response] [-SecondaryConsent ] [-SupportPlanId ]
+ [-SupportTicketId ] [-TechnicalTicketDetailResourceId ] [-DefaultProfile ] [-AsJob]
+ [-NoWait] [-Confirm] [-WhatIf] []
```
## DESCRIPTION
@@ -148,7 +148,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -163,7 +163,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -178,7 +178,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -209,7 +209,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -228,7 +228,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -244,7 +244,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -259,7 +259,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -290,7 +290,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -336,7 +336,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -458,7 +458,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -474,7 +474,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
@@ -549,7 +549,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportTicketChatTranscriptsNoSubscription.md b/src/Support/Support.Autorest/examples/Get-AzSupportTicketChatTranscriptsNoSubscription.md
deleted file mode 100644
index 0371f56c36d2..000000000000
--- a/src/Support/Support.Autorest/examples/Get-AzSupportTicketChatTranscriptsNoSubscription.md
+++ /dev/null
@@ -1,22 +0,0 @@
-### Example 1: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportTicketCommunicationsNoSubscription.md b/src/Support/Support.Autorest/examples/Get-AzSupportTicketCommunicationsNoSubscription.md
deleted file mode 100644
index 0371f56c36d2..000000000000
--- a/src/Support/Support.Autorest/examples/Get-AzSupportTicketCommunicationsNoSubscription.md
+++ /dev/null
@@ -1,22 +0,0 @@
-### Example 1: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
diff --git a/src/Support/Support.Autorest/examples/New-AzSupportTicket.md b/src/Support/Support.Autorest/examples/New-AzSupportTicket.md
index 0371f56c36d2..ea57026858c6 100644
--- a/src/Support/Support.Autorest/examples/New-AzSupportTicket.md
+++ b/src/Support/Support.Autorest/examples/New-AzSupportTicket.md
@@ -1,22 +1,55 @@
-### Example 1: {{ Add title here }}
+### Example 1: Creates support ticket at subscription level
```powershell
-{{ Add code here }}
+New-AzSupportTicket -Name "test12345678" -AdvancedDiagnosticConsent "no" -ContactDetailPrimaryEmailAddress "test@test.com" -ContactDetailFirstName "test" -ContactDetailLastName "test" -ContactDetailPreferredContactMethod "email" -ContactDetailPreferredTimeZone "Pacific Standard Time" -ContactDetailPreferredSupportLanguage "en-US" -ContactDetailCountry "usa" -Description "test ticket - please ignore and close" -Severity "minimal" -Title "test ticket - please ignore and close" -ServiceId "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc" -ProblemClassificationId "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef"
```
```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
+AdvancedDiagnosticConsent : No
+ContactDetailAdditionalEmailAddress :
+ContactDetailCountry : USA
+ContactDetailFirstName : test
+ContactDetailLastName : test
+ContactDetailPhoneNumber :
+ContactDetailPreferredContactMethod : Email
+ContactDetailPreferredSupportLanguage : en-US
+ContactDetailPreferredTimeZone : Pacific Standard Time
+ContactDetailPrimaryEmailAddress : test@test.com
+CreatedDate : 2/22/2024 6:48:38 AM
+Description : test ticket - please ignore and close
+EnrollmentId :
+FileWorkspaceName : 2402220010002574
+Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Su
+ pport/supportTickets/test12345678
+ModifiedDate : 2/22/2024 6:48:50 AM
+Name : test12345678
+ProblemClassificationDisplayName : Add or update VAT, tax id, PO number or profile information
+ProblemClassificationId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
+ /problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef
+ProblemScopingQuestion :
+ProblemStartTime :
+QuotaTicketDetailQuotaChangeRequest :
+QuotaTicketDetailQuotaChangeRequestSubType :
+QuotaTicketDetailQuotaChangeRequestVersion :
+Require24X7Response : False
+ResourceGroupName :
+SecondaryConsent :
+ServiceDisplayName : Billing
+ServiceId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
+ServiceLevelAgreementExpirationTime : 2/22/2024 10:00:00 PM
+ServiceLevelAgreementSlaMinute : 480
+ServiceLevelAgreementStartTime : 2/22/2024 6:48:38 AM
+Severity : Minimal
+Status : Open
+SupportEngineerEmailAddress :
+SupportPlanDisplayName : Azure Support Plan - Internal
+SupportPlanId : U291cmNlOkVBLFN1YnNjcmlwdGlvbklkOjc2Q0I3N0ZBLThCMTctNEVBQi05NDkzLUI2NURBQ0
+ U5OTgxMyxPZmZlcklkOk1TLUFaUi0wMDE1UCxTb3ZlcmVpZ25DbG91ZDpQdWJsaWMs
+SupportPlanType : Azure Internal
+SupportTicketId : 2402220010002574
+TechnicalTicketDetailResourceId :
+Title : test ticket - please ignore and close
+Type : Microsoft.Support/supportTickets
```
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
+Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription
diff --git a/src/Support/Support.Autorest/examples/New-AzSupportTicketsNoSubscription.md b/src/Support/Support.Autorest/examples/New-AzSupportTicketsNoSubscription.md
index 0371f56c36d2..7b6fc5eccc1b 100644
--- a/src/Support/Support.Autorest/examples/New-AzSupportTicketsNoSubscription.md
+++ b/src/Support/Support.Autorest/examples/New-AzSupportTicketsNoSubscription.md
@@ -1,22 +1,53 @@
-### Example 1: {{ Add title here }}
+### Example 1: Creates support ticket at tenant level
```powershell
-{{ Add code here }}
+New-AzSupportTicketsNoSubscription -SupportTicketName "test12345678" -AdvancedDiagnosticConsent "no" -ContactDetailPrimaryEmailAddress "test@test.com" -ContactDetailFirstName "test" -ContactDetailLastName "test" -ContactDetailPreferredContactMethod "email" -ContactDetailPreferredTimeZone "Pacific Standard Time" -ContactDetailPreferredSupportLanguage "en-US" -ContactDetailCountry "usa" -Description "test ticket - please ignore and close" -Severity "minimal" -Title "test ticket - please ignore and close" -ServiceId "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc" -ProblemClassificationId "/providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef"
```
```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
+AdvancedDiagnosticConsent : No
+ContactDetailAdditionalEmailAddress :
+ContactDetailCountry : USA
+ContactDetailFirstName : test
+ContactDetailLastName : test
+ContactDetailPhoneNumber :
+ContactDetailPreferredContactMethod : Email
+ContactDetailPreferredSupportLanguage : en-US
+ContactDetailPreferredTimeZone : Pacific Standard Time
+ContactDetailPrimaryEmailAddress : test@test.com
+CreatedDate : 2/22/2024 6:51:11 AM
+Description : test ticket - please ignore and close
+EnrollmentId :
+FileWorkspaceName : 2402220010002592
+Id : /providers/Microsoft.Support/supportTickets/test12345678
+ModifiedDate : 2/22/2024 6:51:28 AM
+Name : test12345678
+ProblemClassificationDisplayName : Add or update VAT, tax id, PO number or profile information
+ProblemClassificationId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
+ /problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef
+ProblemScopingQuestion :
+ProblemStartTime :
+QuotaTicketDetailQuotaChangeRequest :
+QuotaTicketDetailQuotaChangeRequestSubType :
+QuotaTicketDetailQuotaChangeRequestVersion :
+Require24X7Response : False
+ResourceGroupName :
+SecondaryConsent :
+ServiceDisplayName : Billing
+ServiceId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
+ServiceLevelAgreementExpirationTime : 2/22/2024 10:00:00 PM
+ServiceLevelAgreementSlaMinute : 480
+ServiceLevelAgreementStartTime : 2/22/2024 6:51:11 AM
+Severity : Minimal
+Status : Open
+SupportEngineerEmailAddress :
+SupportPlanDisplayName : Basic support
+SupportPlanId : U291cmNlOkZyZWUsRnJlZUlkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwOS
+ w=
+SupportPlanType : Basic
+SupportTicketId : 2402220010002592
+TechnicalTicketDetailResourceId :
+Title : test ticket - please ignore and close
+Type : Microsoft.Support/supportTickets
```
-{{ Add description here }}
-
-### Example 2: {{ Add title here }}
-```powershell
-{{ Add code here }}
-```
-
-```output
-{{ Add output here (remove the output block if the example doesn't have an output) }}
-```
-
-{{ Add description here }}
-
+Creates a new support ticket for Billing, and Subscription Management issues