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

Resource Orchestration Service:DATASOURCE::CMS::MonitorGroups

最終更新日:Jan 16, 2025

DATASOURCE::CMS::MonitorGroups は、アプリケーショングループに関する情報をクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::CMS::MonitorGroups",
  "Properties": {
    "Type": String,
    "DynamicTagRuleId": String,
    "MonitorGroupName": String,
    "GroupId": Integer,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Type

String

いいえ

はい

アプリケーショングループのタイプ。

有効な値:

  • custom: セルフマネージドアプリケーショングループ

  • ehpc_cluster: エラスティックハイパフォーマンスコンピューティング(E-HPC)クラスターから同期されたアプリケーショングループ

  • kubernetes: Container Service for Kubernetes(ACK)クラスターから同期されたアプリケーショングループ

DynamicTagRuleId

String

いいえ

はい

タグルールの ID。

なし。

MonitorGroupName

String

いいえ

はい

アプリケーショングループの名前。

なし。

GroupId

Integer

いいえ

はい

アプリケーショングループの ID。

なし。

RefreshOptions

String

いいえ

はい

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

有効な値:

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

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

戻り値

Fn::GetAtt

  • GroupIds: アプリケーショングループの ID。

  • MonitorGroups: アプリケーショングループの詳細。

プロパティ

タイプ

説明

制約

GroupIds

List

アプリケーショングループの ID。

なし。

MonitorGroups

List

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

なし。

Tags

List

アプリケーショングループのタグ。

なし。

BindUrl

String

ACK から同期された URL。

なし。

TemplateIds

List

アプリケーショングループに適用されるアラートテンプレート。

なし。

ContactGroups

List

アラート連絡先グループ。

なし。

ServiceId

String

Alibaba Cloud サービスの ID。

なし。

DynamicTagRuleId

String

タグルールの ID。

なし。

MonitorGroupName

String

アプリケーショングループの名前。

なし。

GmtModified

String

アプリケーショングループが変更された日時を示すタイムスタンプ。

単位:ミリ秒。

CreateTime

String

アプリケーショングループが作成された日時を示すタイムスタンプ。

単位:ミリ秒。

Type

String

アプリケーショングループのタイプ。

なし。

GroupId

String

アプリケーショングループの ID。

なし。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Resources:
  ExtensionDataSource:
    Type: 'DATASOURCE::CMS::MonitorGroups'
    Properties:
      Type:
        Ref: Type
Parameters:
  Type:
    Type: String
    Description: >-
      アプリケーショングループのタイプ。有効な値:

      custom: セルフマネージドアプリケーショングループ。

      ehpc_cluster: エラスティックハイパフォーマンスコンピューティング(E-HPC)クラスターから同期されたアプリケーショングループ。

      kubernetes: Container Service for Kubernetes(ACK)クラスターから同期されたアプリケーショングループ。
Outputs:
  GroupIds:
    Description: グループ ID のリスト。
    Value:
      'Fn::GetAtt':
        - ExtensionDataSource
        - GroupIds
  MonitorGroups:
    Description: 監視グループのリスト。
    Value:
      'Fn::GetAtt':
        - ExtensionDataSource
        - MonitorGroups

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CMS::MonitorGroups",
      "Properties": {
        "Type": {
          "Ref": "Type"
        }
      }
    }
  },
  "Parameters": {
    "Type": {
      "Type": "String",
      "Description": "アプリケーショングループのタイプ。有効な値:\ncustom: セルフマネージドアプリケーショングループ。\nehpc_cluster: エラスティックハイパフォーマンスコンピューティング(E-HPC)クラスターから同期されたアプリケーショングループ。\nkubernetes: Container Service for Kubernetes(ACK)クラスターから同期されたアプリケーショングループ。"
    }
  },
  "Outputs": {
    "GroupIds": {
      "Description": "グループ ID のリスト。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "GroupIds"
        ]
      }
    },
    "MonitorGroups": {
      "Description": "監視グループのリスト。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "MonitorGroups"
        ]
      }
    }
  }
}