CostManagementViewsCollection クラス

定義

のコレクション CostManagementViewsResource とその操作を表すクラス。 コレクション内の各 CostManagementViewsResource は、 の同じインスタンス ArmResourceに属します。 インスタンスを CostManagementViewsCollection 取得するには、 のインスタンス ArmResourceから GetCostManagementViews メソッドを呼び出します。

public class CostManagementViewsCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.CostManagement.CostManagementViewsResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.CostManagementViewsResource>
type CostManagementViewsCollection = class
    inherit ArmCollection
    interface seq<CostManagementViewsResource>
    interface IEnumerable
    interface IAsyncEnumerable<CostManagementViewsResource>
Public Class CostManagementViewsCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CostManagementViewsResource), IEnumerable(Of CostManagementViewsResource)
継承
CostManagementViewsCollection
実装

コンストラクター

CostManagementViewsCollection()

モック作成のために クラスの CostManagementViewsCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, CostManagementViewData, CancellationToken)

ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_CreateOrUpdateByScope
CreateOrUpdateAsync(WaitUntil, String, CostManagementViewData, CancellationToken)

ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_CreateOrUpdateByScope
Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_GetByScope
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_GetByScope
Get(String, CancellationToken)

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

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_GetByScope
GetAll(CancellationToken)

指定されたスコープ内のすべてのビューを一覧表示します。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views
  • 操作IdViews_ListByScope
GetAllAsync(CancellationToken)

指定されたスコープ内のすべてのビューを一覧表示します。

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views
  • 操作IdViews_ListByScope
GetAsync(String, CancellationToken)

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

  • 要求パス/{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • 操作IdViews_GetByScope
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<CostManagementViewsResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<CostManagementViewsResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象