diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFile.md b/src/Support/Support.Autorest/docs/Get-AzSupportFile.md index cbfefafc66b7..4d8b4f96e119 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFile.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFile.md @@ -40,27 +40,81 @@ Returns details of a specific file in a work space. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List all files from a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFile -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 ``` -{{ Add description here }} +Lists all the Files information under a workspace for an Azure subscription. -### Example 2: {{ Add title here }} +### Example 2: Get details of a file in a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFile -Name "test.txt" -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file in a workspace. + +### Example 3: List all files from a support ticket +```powershell +Get-AzSupportFile -WorkspaceName "2402084010005835" ``` -{{ Add description here }} +```output +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 +``` + +Lists all the Files information under a support ticket for an Azure subscription. + +### Example 2: Get details of a file under a support ticket +```powershell +Get-AzSupportFile -Name "test.txt" -WorkspaceName "2402084010005835" +``` + +```output +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file under a support ticket. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspace.md b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspace.md index da2647de2602..ece898b02d53 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspace.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspace.md @@ -28,27 +28,49 @@ Gets details for a specific file workspace in an Azure subscription. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get information about a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 2/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace in an Azure subscription. -### Example 2: {{ Add title here }} +### Example 1: Get information about a file workspace for a support ticket ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "2402084010005835" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 8/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835 +Name : 2402084010005835 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace under a support ticket in an Azure subscription. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md index 3bcbb2e49472..11738491e2a3 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFileWorkspacesNoSubscription.md @@ -29,27 +29,49 @@ Gets details for a specific file workspace. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspacesNoSubscription -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 4:25:38 PM +ExpirationTime : 2/9/2024 4:25:38 PM +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace. -### Example 2: {{ Add title here }} +### Example 1: Get information about a file workspace for a support ticket ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "2402084010005835" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 8/9/2024 3:51:36 PM +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835 +Name : 2402084010005835 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace under a support ticket. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md index 439e7e2124ee..b77e7fe3e764 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportFilesNoSubscription.md @@ -40,27 +40,81 @@ Returns details of a specific file in a work space. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List all files from a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFilesNoSubscription -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 ``` -{{ Add description here }} +Lists all the Files information under a workspace -### Example 2: {{ Add title here }} +### Example 2: Get details of a file in a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file in a workspace. + +### Example 3: List all files from a support ticket +```powershell +Get-AzSupportFilesNoSubscription -WorkspaceName "2402084010005835" ``` -{{ Add description here }} +```output +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 +``` + +Lists all the Files information under a support ticket. + +### Example 2: Get details of a file under a support ticket +```powershell +Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "2402084010005835" +``` + +```output +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file under a support ticket. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportProblemClassification.md b/src/Support/Support.Autorest/docs/Get-AzSupportProblemClassification.md index 8f1cc2e5949e..eb59b6c0ac20 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportProblemClassification.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportProblemClassification.md @@ -40,27 +40,38 @@ Get problem classification details for a specific Azure service. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List Azure Support Problem Classifications ```powershell -{{ Add code here }} +Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName Name SecondaryConsentEnabled +----------- ---- ----------------------- +Compute-VM (cores-vCPUs) subscription limit increases 4d78b174-3203-a3ac-9e08-41fb35de6354 +Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +Windows Update, Guest Patching and OS Upgrades / Issue with Azure Update Management patching 8d686480-ef41-5005-358e-12b9be9608fe ``` -{{ Add description here }} +Lists all the problem classifications (categories) available for a specific Azure service. +Always use the service and problem classifications obtained programmatically. +This practice ensures that you always have the most recent set of service and problem classification Ids. -### Example 2: {{ Add title here }} +### Example 2: Get Azure Support Problem Classification ```powershell -{{ Add code here }} +Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396" -Name "e565bd13-86f0-ecb3-d2b7-0a7501ae8839" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName : Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching +Id : /providers/Microsoft.Support/services/6f16735c-b0ae-b275-ad3a-03479cfa1396/problemClassifications/e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +Name : e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +ResourceGroupName : +SecondaryConsentEnabled : +Type : Microsoft.Support/problemClassifications ``` -{{ Add description here }} +Get problem classification details for a specific Azure service. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Get-AzSupportService.md b/src/Support/Support.Autorest/docs/Get-AzSupportService.md index 6c5270077e68..c93c85b9ccd5 100644 --- a/src/Support/Support.Autorest/docs/Get-AzSupportService.md +++ b/src/Support/Support.Autorest/docs/Get-AzSupportService.md @@ -32,27 +32,39 @@ Gets a specific Azure service for support ticket creation. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List Azure Support Services ```powershell -{{ Add code here }} +Get-AzSupportService ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName Name ResourceType +----------- ---- ------------ +Activity Logs 484e2236-bc6d-b1bb-76d2-7d09278cf9ea {} +Advisor 26d8424b-0a41-4443-cbc6-0309ea8708d0 {} +AKS Edge Essentials 1232100c-42c0-f626-2b4f-8c8a4877acad {Microsoft.Kubernetes/connectedClusters} ``` -{{ Add description here }} +Lists all the Azure services available for support ticket creation. +For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. +Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. +This practice ensures that you always have the most recent set of service and problem classification Ids. -### Example 2: {{ Add title here }} +### Example 2: Get Azure Support Service ```powershell -{{ Add code here }} +Get-AzSupportService -Name "484e2236-bc6d-b1bb-76d2-7d09278cf9ea" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName : Activity Logs +Id : /providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea +Name : 484e2236-bc6d-b1bb-76d2-7d09278cf9ea +ResourceGroupName : +ResourceType : {} +Type : Microsoft.Support/services ``` -{{ Add description here }} +Gets a specific Azure service for support ticket creation. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md index b3a01345f0e5..7ac1882ace9b 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUpload.md @@ -22,27 +22,53 @@ Creates and uploads a new file under a workspace for the specified subscription. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create and upload a file to a file workspace ```powershell -{{ Add code here }} +New-AzSupportFileAndUpload -WorkspaceName "testworkspace" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content in a file workspace for an Azure subscription. -### Example 2: {{ Add title here }} +### Example 2: Create and upload a file to a support ticket ```powershell -{{ Add code here }} +New-AzSupportFileAndUpload -WorkspaceName "2402084010005835" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content to a support ticket in an Azure subscription. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md index 8fc5d23df708..e4aa21670dce 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileAndUploadNoSubscription.md @@ -22,27 +22,53 @@ Creates and uploads a new file under a workspace for the specified subscription. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create and upload a file to a file workspace ```powershell -{{ Add code here }} +New-AzSupportFileAndUploadNoSubscription -WorkspaceName "testworkspace" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content in a file workspace. -### Example 2: {{ Add title here }} +### Example 2: Create and upload a file to a support ticket ```powershell -{{ Add code here }} +New-AzSupportFileAndUploadNoSubscription -WorkspaceName "2402084010005835" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content to a support ticket. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md index 1f1da952b27e..facc12d03b6b 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspace.md @@ -22,27 +22,27 @@ Creates a new file workspace for the specified subscription. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new file workspace ```powershell -{{ Add code here }} +New-AzSupportFileWorkspace -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 2/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ 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 file workspace for the specified subscription. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md index 969e025c88a7..e1eaae860a3a 100644 --- a/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md +++ b/src/Support/Support.Autorest/docs/New-AzSupportFileWorkspacesNoSubscription.md @@ -22,27 +22,27 @@ Creates a new file workspace. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new file workspace ```powershell -{{ Add code here }} +New-AzSupportFileWorkspacesNoSubscription -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 4:25:38 PM +ExpirationTime : 2/9/2024 4:25:38 PM +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ 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 file workspace. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationNameAvailability.md b/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationNameAvailability.md index a7951c2391f7..1188e75899d7 100644 --- a/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationNameAvailability.md +++ b/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationNameAvailability.md @@ -57,27 +57,19 @@ This API should be used to check the uniqueness of the name for adding a new com ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Check friendly name availability of a communication for a support ticket ```powershell -{{ Add code here }} +Test-AzSupportCommunicationNameAvailability -Name "testCommunication" -SupportTicketName "2402084010005835" -Type "Microsoft.Support/communications" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ 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 }} +Check the availability of a resource name. +This API should be used to check the uniqueness of the name for adding a new communication to the support ticket under an Azure subscription. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md b/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md index 8bd02de6695c..0439bb53117e 100644 --- a/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md +++ b/src/Support/Support.Autorest/docs/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md @@ -57,27 +57,19 @@ This API should be used to check the uniqueness of the name for adding a new com ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Check friendly name availability of a communication for a support ticket ```powershell -{{ Add code here }} +Test-AzSupportCommunicationsNoSubscriptionNameAvailability -Name "testCommunication" -SupportTicketName "2402084010005835" -Type "Microsoft.Support/communications" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ 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 }} +Check the availability of a resource name. +This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Test-AzSupportTicketNameAvailability.md b/src/Support/Support.Autorest/docs/Test-AzSupportTicketNameAvailability.md index b880229bb102..e31edc1665d9 100644 --- a/src/Support/Support.Autorest/docs/Test-AzSupportTicketNameAvailability.md +++ b/src/Support/Support.Autorest/docs/Test-AzSupportTicketNameAvailability.md @@ -43,27 +43,35 @@ This API should be used to check the uniqueness of the name for support ticket c ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Check support ticket friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketNameAvailability -Name "testSupportTicketName" -Type "Microsoft.Support/supportTickets" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +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. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. -### Example 2: {{ Add title here }} +### Example 2: Check file workspace friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketNameAvailability -Name "testFileWorkspaceName" -Type "Microsoft.Support/fileWorkspaces" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +Check the availability of a resource name. +This API should be used to check the uniqueness of the name for file workspace creation for the selected subscription. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. ## PARAMETERS diff --git a/src/Support/Support.Autorest/docs/Test-AzSupportTicketsNoSubscriptionNameAvailability.md b/src/Support/Support.Autorest/docs/Test-AzSupportTicketsNoSubscriptionNameAvailability.md index ed1bac94864a..634c6df72925 100644 --- a/src/Support/Support.Autorest/docs/Test-AzSupportTicketsNoSubscriptionNameAvailability.md +++ b/src/Support/Support.Autorest/docs/Test-AzSupportTicketsNoSubscriptionNameAvailability.md @@ -43,27 +43,35 @@ This API should be used to check the uniqueness of the name for support ticket c ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Check support ticket friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "testSupportTicketName" -Type "Microsoft.Support/supportTickets" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +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. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. -### Example 2: {{ Add title here }} +### Example 2: Check file workspace friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "testFileWorkspaceName" -Type "Microsoft.Support/fileWorkspaces" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +Check the availability of a resource name. +This API should be used to check the uniqueness of the name for file workspace creation for the selected subscription. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. ## PARAMETERS diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportFile.md b/src/Support/Support.Autorest/examples/Get-AzSupportFile.md index 0371f56c36d2..7f22d5abfde8 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportFile.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportFile.md @@ -1,22 +1,76 @@ -### Example 1: {{ Add title here }} +### Example 1: List all files from a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFile -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 ``` -{{ Add description here }} +Lists all the Files information under a workspace for an Azure subscription. -### Example 2: {{ Add title here }} +### Example 2: Get details of a file in a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFile -Name "test.txt" -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Returns details of a specific file in a workspace. + +### Example 3: List all files from a support ticket +```powershell +Get-AzSupportFile -WorkspaceName "2402084010005835" +``` + +```output +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 +``` + +Lists all the Files information under a support ticket for an Azure subscription. + +### Example 2: Get details of a file under a support ticket +```powershell +Get-AzSupportFile -Name "test.txt" -WorkspaceName "2402084010005835" +``` + +```output +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file under a support ticket. diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspace.md b/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspace.md index 0371f56c36d2..967500339599 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspace.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspace.md @@ -1,22 +1,43 @@ -### Example 1: {{ Add title here }} +### Example 1: Get information about a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 2/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace in an Azure subscription. -### Example 2: {{ Add title here }} +### Example 1: Get information about a file workspace for a support ticket ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "2402084010005835" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 8/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835 +Name : 2402084010005835 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} - +Gets details for a specific file workspace under a support ticket in an Azure subscription. \ No newline at end of file diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspacesNoSubscription.md index 0371f56c36d2..2aa364411952 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspacesNoSubscription.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportFileWorkspacesNoSubscription.md @@ -1,22 +1,43 @@ -### Example 1: {{ Add title here }} +### Example 1: Get a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspacesNoSubscription -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 4:25:38 PM +ExpirationTime : 2/9/2024 4:25:38 PM +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} +Gets details for a specific file workspace. -### Example 2: {{ Add title here }} +### Example 1: Get information about a file workspace for a support ticket ```powershell -{{ Add code here }} +Get-AzSupportFileWorkspace -Name "2402084010005835" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 8/9/2024 3:51:36 PM +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835 +Name : 2402084010005835 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ Add description here }} - +Gets details for a specific file workspace under a support ticket. diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportFilesNoSubscription.md b/src/Support/Support.Autorest/examples/Get-AzSupportFilesNoSubscription.md index 0371f56c36d2..003b3ef5ce25 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportFilesNoSubscription.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportFilesNoSubscription.md @@ -1,22 +1,75 @@ -### Example 1: {{ Add title here }} +### Example 1: List all files from a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFilesNoSubscription -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 ``` -{{ Add description here }} +Lists all the Files information under a workspace -### Example 2: {{ Add title here }} +### Example 2: Get details of a file in a file workspace ```powershell -{{ Add code here }} +Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Returns details of a specific file in a workspace. +### Example 3: List all files from a support ticket +```powershell +Get-AzSupportFilesNoSubscription -WorkspaceName "2402084010005835" +``` + +```output +Name CreatedOn ChunkSize FileSize +---- --------- --------- -------- +test.txt 2/9/2024 3:53:15 PM 4 4 +test2.txt 2/9/2024 3:53:29 PM 4 4 +``` + +Lists all the Files information under a support ticket. + +### Example 2: Get details of a file under a support ticket +```powershell +Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "2402084010005835" +``` + +```output +ChunkSize : 4 +CreatedOn : 2/9/2024 3:53:15 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files +``` + +Returns details of a specific file under a support ticket. \ No newline at end of file diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportProblemClassification.md b/src/Support/Support.Autorest/examples/Get-AzSupportProblemClassification.md index 0371f56c36d2..064cfb1f6f9d 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportProblemClassification.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportProblemClassification.md @@ -1,22 +1,31 @@ -### Example 1: {{ Add title here }} +### Example 1: List Azure Support Problem Classifications ```powershell -{{ Add code here }} +Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName Name SecondaryConsentEnabled +----------- ---- ----------------------- +Compute-VM (cores-vCPUs) subscription limit increases 4d78b174-3203-a3ac-9e08-41fb35de6354 +Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +Windows Update, Guest Patching and OS Upgrades / Issue with Azure Update Management patching 8d686480-ef41-5005-358e-12b9be9608fe ``` -{{ Add description here }} +Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. -### Example 2: {{ Add title here }} +### Example 2: Get Azure Support Problem Classification ```powershell -{{ Add code here }} +Get-AzSupportProblemClassification -ServiceName "6f16735c-b0ae-b275-ad3a-03479cfa1396" -Name "e565bd13-86f0-ecb3-d2b7-0a7501ae8839" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName : Windows Update, Guest Patching and OS Upgrades / Issue with Azure Automatic VM guest patching +Id : /providers/Microsoft.Support/services/6f16735c-b0ae-b275-ad3a-03479cfa1396/problemClassifications/e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +Name : e565bd13-86f0-ecb3-d2b7-0a7501ae8839 +ResourceGroupName : +SecondaryConsentEnabled : +Type : Microsoft.Support/problemClassifications ``` -{{ Add description here }} +Get problem classification details for a specific Azure service. diff --git a/src/Support/Support.Autorest/examples/Get-AzSupportService.md b/src/Support/Support.Autorest/examples/Get-AzSupportService.md index 0371f56c36d2..2325ce50e6c1 100644 --- a/src/Support/Support.Autorest/examples/Get-AzSupportService.md +++ b/src/Support/Support.Autorest/examples/Get-AzSupportService.md @@ -1,22 +1,31 @@ -### Example 1: {{ Add title here }} +### Example 1: List Azure Support Services ```powershell -{{ Add code here }} +Get-AzSupportService ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName Name ResourceType +----------- ---- ------------ +Activity Logs 484e2236-bc6d-b1bb-76d2-7d09278cf9ea {} +Advisor 26d8424b-0a41-4443-cbc6-0309ea8708d0 {} +AKS Edge Essentials 1232100c-42c0-f626-2b4f-8c8a4877acad {Microsoft.Kubernetes/connectedClusters} ``` -{{ Add description here }} +Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. -### Example 2: {{ Add title here }} +### Example 2: Get Azure Support Service ```powershell -{{ Add code here }} +Get-AzSupportService -Name "484e2236-bc6d-b1bb-76d2-7d09278cf9ea" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +DisplayName : Activity Logs +Id : /providers/Microsoft.Support/services/484e2236-bc6d-b1bb-76d2-7d09278cf9ea +Name : 484e2236-bc6d-b1bb-76d2-7d09278cf9ea +ResourceGroupName : +ResourceType : {} +Type : Microsoft.Support/services ``` -{{ Add description here }} +Gets a specific Azure service for support ticket creation. diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md index 0371f56c36d2..a8e7b0346866 100644 --- a/src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md +++ b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUpload.md @@ -1,22 +1,48 @@ -### Example 1: {{ Add title here }} +### Example 1: Create and upload a file to a file workspace ```powershell -{{ Add code here }} +New-AzSupportFileAndUpload -WorkspaceName "testworkspace" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content in a file workspace for an Azure subscription. -### Example 2: {{ Add title here }} +### Example 2: Create and upload a file to a support ticket ```powershell -{{ Add code here }} +New-AzSupportFileAndUpload -WorkspaceName "2402084010005835" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content to a support ticket in an Azure subscription. diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md index 0371f56c36d2..0693256e92c8 100644 --- a/src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md +++ b/src/Support/Support.Autorest/examples/New-AzSupportFileAndUploadNoSubscription.md @@ -1,22 +1,48 @@ -### Example 1: {{ Add title here }} +### Example 1: Create and upload a file to a file workspace ```powershell -{{ Add code here }} +New-AzSupportFileAndUploadNoSubscription -WorkspaceName "testworkspace" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content in a file workspace. -### Example 2: {{ Add title here }} +### Example 2: Create and upload a file to a support ticket ```powershell -{{ Add code here }} +New-AzSupportFileAndUploadNoSubscription -WorkspaceName "2402084010005835" -FilePath "C:\path\to\file\test.txt" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +ChunkSize : 4 +CreatedOn : 2/9/2024 4:06:13 PM +FileSize : 4 +Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt +Name : test.txt +NumberOfChunk : 1 +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/files ``` -{{ Add description here }} +Create a new file and upload content to a support ticket. diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md index 0371f56c36d2..20b56f99b6a6 100644 --- a/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md +++ b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspace.md @@ -1,22 +1,22 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new file workspace ```powershell -{{ Add code here }} +New-AzSupportFileWorkspace -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 3:51:36 PM +ExpirationTime : 2/9/2024 3:51:36 PM +Id : /subscriptions/3bb7379e-e102-4603-a59c-60f5ca39ec55/providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ 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 file workspace for the specified subscription. diff --git a/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md index 0371f56c36d2..fd3d3fddc609 100644 --- a/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md +++ b/src/Support/Support.Autorest/examples/New-AzSupportFileWorkspacesNoSubscription.md @@ -1,22 +1,22 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new file workspace ```powershell -{{ Add code here }} +New-AzSupportFileWorkspacesNoSubscription -Name "testworkspace" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +CreatedOn : 2/8/2024 4:25:38 PM +ExpirationTime : 2/9/2024 4:25:38 PM +Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace +Name : testworkspace +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : Microsoft.Support/fileWorkspaces ``` -{{ 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 file workspace. diff --git a/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationNameAvailability.md b/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationNameAvailability.md index 0371f56c36d2..7a3c44a7daf0 100644 --- a/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationNameAvailability.md +++ b/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationNameAvailability.md @@ -1,22 +1,12 @@ -### Example 1: {{ Add title here }} +### Example 1: Check friendly name availability of a communication for a support ticket ```powershell -{{ Add code here }} +Test-AzSupportCommunicationNameAvailability -Name "testCommunication" -SupportTicketName "2402084010005835" -Type "Microsoft.Support/communications" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ 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 }} - +Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket under an Azure subscription. diff --git a/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md b/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md index 0371f56c36d2..d9f6e1649cca 100644 --- a/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md +++ b/src/Support/Support.Autorest/examples/Test-AzSupportCommunicationsNoSubscriptionNameAvailability.md @@ -1,22 +1,12 @@ -### Example 1: {{ Add title here }} +### Example 1: Check friendly name availability of a communication for a support ticket ```powershell -{{ Add code here }} +Test-AzSupportCommunicationsNoSubscriptionNameAvailability -Name "testCommunication" -SupportTicketName "2402084010005835" -Type "Microsoft.Support/communications" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ 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 }} - +Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. diff --git a/src/Support/Support.Autorest/examples/Test-AzSupportTicketNameAvailability.md b/src/Support/Support.Autorest/examples/Test-AzSupportTicketNameAvailability.md index 0371f56c36d2..1f7e41d62103 100644 --- a/src/Support/Support.Autorest/examples/Test-AzSupportTicketNameAvailability.md +++ b/src/Support/Support.Autorest/examples/Test-AzSupportTicketNameAvailability.md @@ -1,22 +1,27 @@ -### Example 1: {{ Add title here }} +### Example 1: Check support ticket friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketNameAvailability -Name "testSupportTicketName" -Type "Microsoft.Support/supportTickets" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +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. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. -### Example 2: {{ Add title here }} +### Example 2: Check file workspace friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketNameAvailability -Name "testFileWorkspaceName" -Type "Microsoft.Support/fileWorkspaces" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} - +Check the availability of a resource name. This API should be used to check the uniqueness of the name for file workspace creation for the selected subscription. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. diff --git a/src/Support/Support.Autorest/examples/Test-AzSupportTicketsNoSubscriptionNameAvailability.md b/src/Support/Support.Autorest/examples/Test-AzSupportTicketsNoSubscriptionNameAvailability.md index 0371f56c36d2..8091d8aeb998 100644 --- a/src/Support/Support.Autorest/examples/Test-AzSupportTicketsNoSubscriptionNameAvailability.md +++ b/src/Support/Support.Autorest/examples/Test-AzSupportTicketsNoSubscriptionNameAvailability.md @@ -1,22 +1,27 @@ -### Example 1: {{ Add title here }} +### Example 1: Check support ticket friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "testSupportTicketName" -Type "Microsoft.Support/supportTickets" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} +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. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets. -### Example 2: {{ Add title here }} +### Example 2: Check file workspace friendly name availability ```powershell -{{ Add code here }} +Test-AzSupportTicketsNoSubscriptionNameAvailability -Name "testFileWorkspaceName" -Type "Microsoft.Support/fileWorkspaces" ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +Message NameAvailable Reason +------- ------------- ------ + True ``` -{{ Add description here }} - +Check the availability of a resource name. This API should be used to check the uniqueness of the name for file workspace creation for the selected subscription. +If the provided type is neither Microsoft.Support/supportTickets nor Microsoft.Support/fileWorkspaces, then it will default to Microsoft.Support/supportTickets.