次の方法で共有


TemplateSpecVersionCollection クラス

定義

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

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

コンストラクター

TemplateSpecVersionCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, TemplateSpecVersionData, CancellationToken)

テンプレート スペック バージョンを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, TemplateSpecVersionData, CancellationToken)

テンプレート スペック バージョンを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_Get
Get(String, CancellationToken)

特定のテンプレート スペックからテンプレート スペック バージョンを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_Get
GetAll(CancellationToken)

指定したテンプレート スペック内のすべてのテンプレート スペック バージョンを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions
  • 操作IdTemplateSpecVersions_List
GetAllAsync(CancellationToken)

指定したテンプレート スペック内のすべてのテンプレート スペック バージョンを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions
  • 操作IdTemplateSpecVersions_List
GetAsync(String, CancellationToken)

特定のテンプレート スペックからテンプレート スペック バージョンを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}
  • 操作IdTemplateSpecVersions_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<TemplateSpecVersionResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<TemplateSpecVersionResource>.GetEnumerator()

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

適用対象