次の方法で共有


CostManagementExtensions.GetCostManagementViews メソッド

定義

ビュー名で定義されたスコープのビューを取得します。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_GetByScope
public static Azure.Response<Azure.ResourceManager.CostManagement.CostManagementViewsResource> GetCostManagementViews (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string viewName, System.Threading.CancellationToken cancellationToken = default);
static member GetCostManagementViews : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CostManagement.CostManagementViewsResource>
<Extension()>
Public Function GetCostManagementViews (client As ArmClient, scope As ResourceIdentifier, viewName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CostManagementViewsResource)

パラメーター

client
ArmClient

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

scope
ResourceIdentifier

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

viewName
String

ビューの名前。

cancellationToken
CancellationToken

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

戻り値

例外

viewName は空の文字列であり、空でないと想定されていました。

viewName が null です。

適用対象