すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:DATASOURCE::MSE::Clusters

最終更新日:Jan 16, 2025

DATASOURCE::MSE::Clusters は、Microservices Registry クラスタをクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::MSE::Clusters",
  "Properties": {
    "ClusterAliasName": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

ClusterAliasName

String

いいえ

はい

クラスタ名。

あいまい一致がサポートされています。

RefreshOptions

String

いいえ

はい

スタックが更新されたときのデータソースリソースの更新ポリシー。

有効な値:

  • Never(デフォルト): スタックが更新されたときにデータソースリソースを更新しません。

  • Always: スタックが更新されたときにデータソースリソースを更新します。

戻り値 (Fn::GetAtt)

  • ClusterIds: クラスタの ID。

  • Clusters: クラスタの詳細。

プロパティ

タイプ

説明

制約

ClusterIds

List

クラスタの ID。

なし。

Clusters

List

クラスタの詳細。

なし。

ClusterId

String

クラスタ ID。

なし。

ClusterName

String

クラスタ名。

なし。

ClusterAliasName

String

クラスタのエイリアス。

なし。

InstanceId

String

インスタンス ID。

なし。

AppVersion

String

アプリケーションのバージョン。

なし。

VersionCode

String

クラスタのバージョン。

なし。

InstanceCount

Number

クラスタの数。

なし。

IntranetAddress

String

プライベート IP アドレス。

なし。

CanUpdate

Boolean

クラスタを更新できるかどうかを示します。

有効な値:

  • true

  • false

ChargeType

String

課金方法。

有効な値:

  • PrePaid: サブスクリプション

  • PostPaid: 従量課金制

InitStatus

String

クラスタの初期化ステータス。

なし。

InternetAddress

String

パブリック IP アドレス。

なし。

IntranetDomain

String

プライベートドメイン名。

なし。

CreateTime

String

クラスタが作成された時刻。

時刻は、ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ 形式に従います。時刻は UTC で表示されます。

EndDate

String

クラスタの有効期限。

時刻は、ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ 形式に従います。時刻は UTC で表示されます。

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ClusterAliasName": {
      "Type": "String",
      "Description": "The alias name of cluster." // クラスタのエイリアス名。
    }
  },
  "Resources": {
    "Clusters": {
      "Type": "DATASOURCE::MSE::Clusters",
      "Properties": {
        "ClusterAliasName": {
          "Ref": "ClusterAliasName"
        }
      }
    }
  },
  "Outputs": {
    "Clusters": {
      "Description": "The list of clusters.", // クラスタのリスト。
      "Value": {
        "Fn::GetAtt": [
          "Clusters",
          "Clusters"
        ]
      }
    },
    "ClusterIds": {
      "Description": "The list of cluster IDs.", // クラスタ ID のリスト。
      "Value": {
        "Fn::GetAtt": [
          "Clusters",
          "ClusterIds"
        ]
      }
    }
  }
}
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ClusterAliasName:
    Type: String
    Description: The alias name of cluster. # クラスタのエイリアス名。
Resources:
  Clusters:
    Type: DATASOURCE::MSE::Clusters
    Properties:
      ClusterAliasName:
        Ref: ClusterAliasName
Outputs:
  Clusters:
    Description: The list of clusters. # クラスタのリスト。
    Value:
      Fn::GetAtt:
        - Clusters
        - Clusters
  ClusterIds:
    Description: The list of cluster IDs. # クラスタ ID のリスト。
    Value:
      Fn::GetAtt:
        - Clusters
        - ClusterIds