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

Resource Orchestration Service:DATASOURCE::EDAS::Applications

最終更新日:Jan 16, 2025

DATASOURCE::EDAS::Applications は、アプリケーションを照会するために使用されます。

構文

{
  "Type": "DATASOURCE::EDAS::Applications",
  "Properties": {
    "LogicalRegionId": String,
    "ResourceGroupId": String,
    "ClusterId": String,
    "AppName": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

LogicalRegionId

String

いいえ

はい

アプリケーションを照会するマイクロサービス名前空間の ID。

なし。

ResourceGroupId

String

いいえ

はい

アプリケーションを照会するリソースグループの ID。

なし。

ClusterId

String

いいえ

はい

アプリケーションを照会するクラスターの ID。

なし。

AppName

String

いいえ

はい

アプリケーションを照会するアプリケーションの名前。

なし。

RefreshOptions

String

いいえ

はい

スタックの更新時のデータソースリソースの更新ポリシー。

有効な値:

  • Never(デフォルト): スタックの更新時にデータソースリソースを更新しません。

  • Always: スタックの更新時にデータソースリソースを更新します。

戻り値 (Fn::GetAtt)

  • AppIds: アプリケーションの ID。

  • Applications: アプリケーションの詳細。

プロパティ

タイプ

説明

制約

AppIds

List

アプリケーションの ID。

なし。

Applications

List

アプリケーションの詳細。

なし。

AppId

String

アプリケーション ID。

なし。

ResourceGroupId

String

リソースグループの ID。

なし。

ClusterId

String

クラスター ID。

なし。

RegionId

String

リージョン ID。

なし。

ClusterType

Number

クラスタータイプ。

有効な値:

  • 2: Elastic Compute Service (ECS) クラスター

  • 3: Enterprise Distributed Application Service (EDAS) のセルフマネージド Kubernetes クラスター

  • 5: Container Service for Kubernetes (ACK) クラスター

RunningInstanceCount

Number

実行中のアプリケーションインスタンスの数。

なし。

Name

String

アプリケーション名。

なし。

BuildPackageId

Number

EDAS Container のビルドパッケージ番号。

なし。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  AppName:
    Type: String
    Description: アプリケーション名キーワード。 # Added Japanese comment
Resources:
  Applications:
    Type: DATASOURCE::EDAS::Applications
    Properties:
      AppName:
        Ref: AppName
Outputs:
  Applications:
    Description: アプリケーションのリスト。 # Added Japanese comment
    Value:
      Fn::GetAtt:
        - Applications
        - Applications
  AppIds:
    Description: アプリケーション ID のリスト。 # Added Japanese comment
    Value:
      Fn::GetAtt:
        - Applications
        - AppIds
                    
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "AppName": {
      "Type": "String",
      "Description": "アプリケーション名キーワード。" // Added Japanese comment
    }
  },
  "Resources": {
    "Applications": {
      "Type": "DATASOURCE::EDAS::Applications",
      "Properties": {
        "AppName": {
          "Ref": "AppName"
        }
      }
    }
  },
  "Outputs": {
    "Applications": {
      "Description": "アプリケーションのリスト。", // Added Japanese comment
      "Value": {
        "Fn::GetAtt": [
          "Applications",
          "Applications"
        ]
      }
    },
    "AppIds": {
      "Description": "アプリケーション ID のリスト。", // Added Japanese comment
      "Value": {
        "Fn::GetAtt": [
          "Applications",
          "AppIds"
        ]
      }
    }
  }
}