MockableWorkloadsSapVirtualInstanceSubscriptionResource.GetSizingRecommendationsSapVirtualInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the sizing recommendations.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations
- Operation Id: SAPVirtualInstances_GetSizingRecommendations
- Default Api Version: 2024-09-01
- Resource: SapVirtualInstanceResource
public virtual Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult> GetSizingRecommendationsSapVirtualInstance(Azure.Core.AzureLocation location, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSizingRecommendationsSapVirtualInstance : Azure.Core.AzureLocation * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult>
override this.GetSizingRecommendationsSapVirtualInstance : Azure.Core.AzureLocation * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult>
Public Overridable Function GetSizingRecommendationsSapVirtualInstance (location As AzureLocation, content As SapSizingRecommendationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SapSizingRecommendationResult)
Parameters
- location
- AzureLocation
The name of the Azure region.
- content
- SapSizingRecommendationContent
The content of the action request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.