Поделиться через


MockableWorkloadsSapVirtualInstanceSubscriptionResource.GetSizingRecommendationsSapVirtualInstanceAsync Method

Definition

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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult>> GetSizingRecommendationsSapVirtualInstanceAsync(Azure.Core.AzureLocation location, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSizingRecommendationsSapVirtualInstanceAsync : Azure.Core.AzureLocation * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult>>
override this.GetSizingRecommendationsSapVirtualInstanceAsync : Azure.Core.AzureLocation * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapSizingRecommendationResult>>
Public Overridable Function GetSizingRecommendationsSapVirtualInstanceAsync (location As AzureLocation, content As SapSizingRecommendationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

Applies to