文档

DATASOURCE::CMS::Namespaces

更新时间:

DATASOURCE::CMS::Namespaces类型用于查询Namespace的基本信息。

语法

{
  "Type": "DATASOURCE::CMS::Namespaces",
  "Properties": {
    "Namespace": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

Namespace

String

指标仓库名称。

返回值

Fn::GetAtt

Namespaces:指标仓库详情列表。

属性名称

类型

描述

约束

Namespaces

List

指标仓库详情列表。

CreateTime

String

创建命名空间时生成的时间。

单位:毫秒。 

Namespace

String

指标仓库名称。

Specification

String

数据存储时长。

Description

String

指标仓库描述。

ModifyTime

String

上次修改命名空间时生成的时间。

单位:毫秒。

示例

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Namespace:
    Description: Indicator warehouse name.
    Type: String
Resources:
  ExtensionDataSource:
    Properties:
      Namespace:
        Ref: Namespace
    Type: DATASOURCE::CMS::Namespaces
Outputs:
  Namespaces:
    Description: The list of namespaces.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - Namespaces

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Namespace": {
      "Type": "String",
      "Description": "Indicator warehouse name."
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CMS::Namespaces",
      "Properties": {
        "Namespace": {
          "Ref": "Namespace"
        }
      }
    }
  },
  "Outputs": {
    "Namespaces": {
      "Description": "The list of namespaces.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Namespaces"
        ]
      }
    }
  }
}
  • 本页导读 (1)
文档反馈