全部產品
Search
文件中心

Resource Orchestration Service:CMS資源

更新時間:Mar 17, 2026

AssociationProperty取值

說明

對應的AssociationPropertyMetadata

ALIYUN::CMS::Alarm::MetricSelector

查詢CloudMonitor開放的監控項詳情。

範例程式碼

JSON樣本:

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CMSMetricSelector": {
      "Type": "String",
      "AssociationProperty": "ALIYUN::CMS::Alarm::MetricSelector"
    }
  }
}

YAML樣本:

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CMSMetricSelector:
    Type: String
    AssociationProperty: ALIYUN::CMS::Alarm::MetricSelector

ALIYUN::CMS::Alarm::Rule

閾值警示規則。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "Rule": {
          "AssociationProperty": "ALIYUN::CMS::Alarm::Rule",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇閾值警示規則",
            "en": "AlarmRule"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      Rule:
        AssociationProperty: ALIYUN::CMS::Alarm::Rule
        Type: String
        Description:
          zh-cn: 選擇閾值警示規則
          en: AlarmRule
  • 樣本說明

    樣本中通過指定參數Rule的AssociationProperty屬性為ALIYUN::CMS::Alarm::Rule,擷取閾值警示規則。

ALIYUN::CMS::Alarm::SilenceTime

警示沉默周期。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "SilenceTime": {
          "AssociationProperty": "ALIYUN::CMS::Alarm::SilenceTime",
          "Type": "String",
          "Description": {
            "zh-cn": "警示沉默周期",
            "en": "SilenceTime"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      SilenceTime:
        AssociationProperty: ALIYUN::CMS::Alarm::SilenceTime
        Type: String
        Description:
          zh-cn: 警示沉默周期
          en: SilenceTime
  • 樣本說明

    樣本中通過指定參數SilenceTime的AssociationProperty屬性為ALIYUN::CMS::Alarm::SilenceTime,擷取警示沉默周期。

ALIYUN::CMS::Alarm::TriggerResources

警示資源觸發器。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "TriggerResources": {
          "AssociationProperty": "ALIYUN::CMS::Alarm::TriggerResources",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇警示資源觸發器",
            "en": "TriggerResources"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      TriggerResources:
        AssociationProperty: ALIYUN::CMS::Alarm::TriggerResources
        Type: String
        Description:
          zh-cn: 選擇警示資源觸發器
          en: TriggerResources
  • 樣本說明

    樣本中通過指定參數TriggerResources的AssociationProperty屬性為ALIYUN::CMS::Alarm::TriggerResources,擷取警示資源觸發器。

ALIYUN::CMS::Event::EventFilterRule

事件警示規則。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "EventRule": {
          "AssociationProperty": "ALIYUN::CMS::Event::EventFilterRule",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇事件警示規則",
            "en": "EventRule"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      EventRule:
        AssociationProperty: ALIYUN::CMS::Event::EventFilterRule
        Type: String
        Description:
          zh-cn: 選擇事件警示規則
          en: EventRule
  • 樣本說明

    樣本中通過指定參數EventRule的AssociationProperty屬性為ALIYUN::CMS::Event::EventFilterRule,擷取事件警示規則。

ALIYUN::CMS::Event::EventLevel

事件警示層級。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "EventLevel": {
          "AssociationProperty": "ALIYUN::CMS::Event::EventLevel",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇事件警示層級",
            "en": "EventLevel"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      EventLevel:
        AssociationProperty: ALIYUN::CMS::Event::EventLevel
        Type: String
        Description:
          zh-cn: 選擇事件警示層級
          en: EventLevel
  • 樣本說明

    樣本中通過指定參數EventLevel的AssociationProperty屬性為ALIYUN::CMS::Event::EventLevel,擷取事件警示層級。

ALIYUN::CMS::Event::EventName

事件警示名稱。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "EventName": {
          "AssociationProperty": "ALIYUN::CMS::Event::EventName",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇事件警示名稱",
            "en": "EventName"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      EventName:
        AssociationProperty: ALIYUN::CMS::Event::EventName
        Type: String
        Description:
          zh-cn: 選擇事件警示名稱
          en: EventName
  • 樣本說明

    樣本中通過指定參數EventName的AssociationProperty屬性為ALIYUN::CMS::Event::EventName,擷取事件警示名稱。

ALIYUN::CMS::Product::ProductType

事件支援的雲端服務。

樣本如下:

  • 範例程式碼

    JSON樣本:

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "ProductType": {
          "AssociationProperty": "ALIYUN::CMS::Product::ProductType",
          "Type": "String",
          "Description": {
            "zh-cn": "選擇事件警示名稱",
            "en": "ProductType"
          }
        }
      }
    }

    YAML樣本:

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      ProductType:
        AssociationProperty: ALIYUN::CMS::Product::ProductType
        Type: String
        Description:
          zh-cn: 選擇事件警示名稱
          en: ProductType
  • 樣本說明

    樣本中通過指定參數ProductType的AssociationProperty屬性為ALIYUN::CMS::Product::ProductType,擷取事件支援的雲端服務。