DATASOURCE::CloudStorageGateway::StorageBundles

更新时间:2024-12-27 06:06:26

DATASOURCE::CloudStorageGateway::StorageBundles类型用于查询指定地域对应的集群列表信息。

语法

{
  "Type": "DATASOURCE::CloudStorageGateway::StorageBundles",
  "Properties": {
    "RefreshOptions": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

取值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

Fn::GetAtt

  • StorageBundleIds:网关集群ID列表。

  • StorageBundles:网关集群信息。

属性名称

类型

描述

约束

属性名称

类型

描述

约束

StorageBundleIds

List

网关集群ID列表。

StorageBundles

List

网关集群信息。

Description

String

网关集群的描述。

StorageBundleId

String

网关集群ID

CreateTime

String

网关集群创建时间。

时间戳为秒(s)。

StorageBundleName

String

网关集群名称。

示例

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CloudStorageGateway::StorageBundles
    Properties: {}
Outputs:
  StorageBundleIds:
    Description: The list of storage bundle IDs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundleIds
  StorageBundles:
    Description: The list of storage bundles.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundles
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CloudStorageGateway::StorageBundles",
      "Properties": {
      }
    }
  },
  "Outputs": {
    "StorageBundleIds": {
      "Description": "The list of storage bundle IDs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundleIds"
        ]
      }
    },
    "StorageBundles": {
      "Description": "The list of storage bundles.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundles"
        ]
      }
    }
  }
}
                        
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例