Skip to content

Commit 276498c

Browse files
committed
hide individual file commands
1 parent b953811 commit 276498c

16 files changed

+19
-1436
lines changed

src/Support/Support.Autorest/Az.Support.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.Support.private.dll'
1313
FormatsToProcess = './Az.Support.format.ps1xml'
14-
FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketChatTranscriptsNoSubscription', 'Get-AzSupportTicketCommunicationsNoSubscription', 'Get-AzSupportTicketsNoSubscription', 'Invoke-AzSupportUploadFile', 'Invoke-AzSupportUploadFilesNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFile', 'New-AzSupportFileAndUpload', 'New-AzSupportFileAndUploadNoSubscription', 'New-AzSupportFilesNoSubscription', 'New-AzSupportFileWorkspace', 'New-AzSupportFileWorkspacesNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportCommunication', 'Update-AzSupportCommunicationsNoSubscription', 'Update-AzSupportFile', 'Update-AzSupportFilesNoSubscription', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription'
14+
FunctionsToExport = 'Get-AzSupportChatTranscript', 'Get-AzSupportChatTranscriptsNoSubscription', 'Get-AzSupportCommunication', 'Get-AzSupportCommunicationsNoSubscription', 'Get-AzSupportFile', 'Get-AzSupportFilesNoSubscription', 'Get-AzSupportFileWorkspace', 'Get-AzSupportFileWorkspacesNoSubscription', 'Get-AzSupportProblemClassification', 'Get-AzSupportService', 'Get-AzSupportTicket', 'Get-AzSupportTicketChatTranscriptsNoSubscription', 'Get-AzSupportTicketCommunicationsNoSubscription', 'Get-AzSupportTicketsNoSubscription', 'New-AzSupportCommunication', 'New-AzSupportCommunicationsNoSubscription', 'New-AzSupportFileAndUpload', 'New-AzSupportFileAndUploadNoSubscription', 'New-AzSupportTicket', 'New-AzSupportTicketsNoSubscription', 'Test-AzSupportCommunicationNameAvailability', 'Test-AzSupportCommunicationsNoSubscriptionNameAvailability', 'Test-AzSupportTicketNameAvailability', 'Test-AzSupportTicketsNoSubscriptionNameAvailability', 'Update-AzSupportCommunication', 'Update-AzSupportCommunicationsNoSubscription', 'Update-AzSupportFile', 'Update-AzSupportFilesNoSubscription', 'Update-AzSupportTicket', 'Update-AzSupportTicketsNoSubscription'
1515
PrivateData = @{
1616
PSData = @{
1717
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Support'

src/Support/Support.Autorest/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,14 @@ directive:
8181
- ChunkSize
8282
- FileSize
8383
- NumberOfChunks
84-
#- where:
85-
#verb: New
86-
#subject: File
87-
#hide: true
84+
- where:
85+
verb: New
86+
subject: File|FilesNoSubscription
87+
hide: true
88+
- where:
89+
verb: Invoke
90+
subject: UploadFile|UploadFilesNoSubscription
91+
hide: true
8892
# Following are common directives which are normally required in all the RPs
8993
# 1. Remove the unexpanded parameter set
9094
# 2. For New-* cmdlets, ViaIdentity is not required

src/Support/Support.Autorest/docs/Az.Support.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,36 +62,18 @@ Gets details for a specific support ticket.
6262
Support ticket data is available for 18 months after ticket creation.
6363
If a ticket was created more than 18 months ago, a request for data might cause an error.
6464

65-
### [Invoke-AzSupportUploadFile](Invoke-AzSupportUploadFile.md)
66-
This API allows you to upload content to a file
67-
68-
### [Invoke-AzSupportUploadFilesNoSubscription](Invoke-AzSupportUploadFilesNoSubscription.md)
69-
This API allows you to upload content to a file
70-
7165
### [New-AzSupportCommunication](New-AzSupportCommunication.md)
7266
Adds a new customer communication to an Azure support ticket.
7367

7468
### [New-AzSupportCommunicationsNoSubscription](New-AzSupportCommunicationsNoSubscription.md)
7569
Adds a new customer communication to an Azure support ticket.
7670

77-
### [New-AzSupportFile](New-AzSupportFile.md)
78-
Creates a new file under a workspace for the specified subscription.
79-
8071
### [New-AzSupportFileAndUpload](New-AzSupportFileAndUpload.md)
8172
Creates and uploads a new file under a workspace for the specified subscription.
8273

8374
### [New-AzSupportFileAndUploadNoSubscription](New-AzSupportFileAndUploadNoSubscription.md)
8475
Creates and uploads a new file under a workspace for the specified subscription.
8576

86-
### [New-AzSupportFilesNoSubscription](New-AzSupportFilesNoSubscription.md)
87-
Creates a new file under a workspace.
88-
89-
### [New-AzSupportFileWorkspace](New-AzSupportFileWorkspace.md)
90-
Creates a new file workspace for the specified subscription.
91-
92-
### [New-AzSupportFileWorkspacesNoSubscription](New-AzSupportFileWorkspacesNoSubscription.md)
93-
Creates a new file workspace.
94-
9577
### [New-AzSupportTicket](New-AzSupportTicket.md)
9678
Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription.
9779
Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.\<br/\>\<br/\>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.\<br/\>\<br/\>Adding attachments is not currently supported via the API.

src/Support/Support.Autorest/docs/Invoke-AzSupportUploadFile.md

Lines changed: 0 additions & 325 deletions
This file was deleted.

0 commit comments

Comments
 (0)