ConsumptionExtensions.GetConsumptionReservationRecommendations メソッド

定義

予約インスタンスの購入に関する推奨事項の一覧。

  • 要求パス/{resourceScope}/providers/Microsoft.Consumption/reservationRecommendations
  • 操作IdReservationRecommendations_List
public static Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendation> GetConsumptionReservationRecommendations (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetConsumptionReservationRecommendations : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendation>
<Extension()>
Public Function GetConsumptionReservationRecommendations (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionReservationRecommendation)

パラメーター

client
ArmClient

ArmClientメソッドが実行するインスタンス。

scope
ResourceIdentifier

リソースが適用するスコープ。

filter
String

reservationRecommendations をフィルター処理するために使用できます。 properties/scope with allowed values ['Single', 'Shared'] and default value 'Single';properties/resourceType に、許可される値 ['VirtualMachines'、'SQLDatabases'、'PostgreSQL'、'ManagedDisk'、'MySQL'、'RedHat'、'MariaDB'、'RedisCache'、'CosmosDB'、'SqlDataWarehouse'、'SUSELinux'、'AppService'、'BlockBlob'、'AzureDataExplorer'、'VMwareCloudSimple']、既定値 'VirtualMachines' が含まれています。および properties/lookBackPeriod に使用できる値 ['Last7Days'、'Last30Days'、'Last60Days']、既定値 'Last7Days' を指定します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象