WorkloadsExtensions.SapSizingRecommendationsAsync Method

Definition

Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations
  • Operation Id: SAPSizingRecommendations
  • Default Api Version: 2023-04-01
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Workloads.Models.SapSizingRecommendationResult>> SapSizingRecommendationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Workloads.Models.SapSizingRecommendationContent content = default, System.Threading.CancellationToken cancellationToken = default);
static member SapSizingRecommendationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Workloads.Models.SapSizingRecommendationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Workloads.Models.SapSizingRecommendationResult>>
<Extension()>
Public Function SapSizingRecommendationsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional content As SapSizingRecommendationContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SapSizingRecommendationResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The name of Azure region.

content
SapSizingRecommendationContent

SAP Sizing Recommendation Request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to