You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Workloads] Generation of GA PowerShell module for Workloads 2024-09-01 api (#27209)
* Merge remote-tracking branch 'Azure/legacy-main-tools-2025-02-14' into workloadsapi20240901
* Add GA PowerShell module for Workloads's 2024-09-01 API to ChangeLog
* Remove locations.json file from SAP Virtual Instance Autorest
---------
Co-authored-by: Jaskirat Singh <[email protected]>
return { "200": { "description": "OK" }, "202": { "description": "Accepted", "headers": { "Location": { "description": "The URL of the resource used to check the status of the asynchronous operation.", "type": "string" }, "Retry-After": { "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", "type": "integer", "format": "int32" }, "Azure-AsyncOperation": { "description": "The URI to poll for completion status.", "type": "string" } } }, "204": { "description": "No Content" }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/202321f386ea5b0c103b46902d43b3d3c50e029c/specification/common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }
409
-
428
+
return { "200": { "description": "OK" }, "202": { "description": "Accepted", "headers": { "Location": { "description": "The URL of the resource used to check the status of the asynchronous operation.", "type": "string" }, "Retry-After": { "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", "type": "integer", "format": "int32" }, "Azure-AsyncOperation": { "description": "The URI to poll for completion status.", "type": "string" } } }, "204": { "description": "No Content" }, "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/724933f1dfe3bc7831d74b6f1d0a189790fca5e0/specification/common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }
429
+
410
430
# Result shoule be in SingleServerRecommendationResult and ThreeTierRecommendationResult
# remove System Data in module Monitor, ProviderInstance, SapApplicationServerInstance, SapCentralServerInstance, SapDatabaseInstance, SapLandscapeMonitor, SapVirtualInstance
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/UX/Microsoft.Workloads/sapVirtualInstances-applicationInstances.json
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/UX/Microsoft.Workloads/sapVirtualInstances-centralInstances.json
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/UX/Microsoft.Workloads/sapVirtualInstances-databaseInstances.json
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/custom/InvokeAzWorkloadsSapSizingRecommendation_InvokeExpanded.cs
/// <summary>a delegate that is called when the remote service returns 200 (OK).</summary>
21
21
/// <param name="responseMessage">the raw response message as an global::System.Net.Http.HttpResponseMessage.</param>
22
-
/// <param name="response">the body result as a <see cref="Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapSizingRecommendationResult">Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapSizingRecommendationResult</see>
22
+
/// <param name="response">the body result as a <see cref="Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapSizingRecommendationResult">Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapSizingRecommendationResult</see>
23
23
/// from the remote call</param>
24
24
/// <returns>
25
25
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the method is completed.
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/custom/InvokeAzWorkloadsSapSizingRecommendation_InvokeViaIdentityExpanded.cs
/// <summary>a delegate that is called when the remote service returns 200 (OK).</summary>
21
21
/// <param name="responseMessage">the raw response message as an global::System.Net.Http.HttpResponseMessage.</param>
22
-
/// <param name="response">the body result as a <see cref="Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapSizingRecommendationResult">Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapSizingRecommendationResult</see>
22
+
/// <param name="response">the body result as a <see cref="Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapSizingRecommendationResult">Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapSizingRecommendationResult</see>
23
23
/// from the remote call</param>
24
24
/// <returns>
25
25
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the method is completed.
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISapSizingRecommendationResult
30
+
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapSizingRecommendationResult
Copy file name to clipboardExpand all lines: src/Workloads/SapVirtualInstance.Autorest/custom/New-AzWorkloadsSapVirtualInstance/New-AzWorkloadsSapVirtualInstance_CreateWithDiscovery.ps1
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Creates a Virtual Instance for SAP solutions (VIS) resource
0 commit comments