Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::CloudStorageGateway::StorageBundle

Última atualização: Jun 27, 2026

Consulta informações sobre um cluster de gateway do Cloud Storage Gateway (CSG).

Sintaxe

{
  "Type": "DATASOURCE::CloudStorageGateway::StorageBundle",
  "Properties": {
    "StorageBundleId": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

StorageBundleId

String

Sim

Sim

ID do cluster de gateway.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da source de dados ao atualizar a pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos da source de dados durante a atualização da pilha.

  • Always: atualiza os recursos da source de dados durante a atualização da pilha.

Valores de retorno

Fn::GetAtt

  • Description: descrição do cluster de gateway.

  • CreateTime: timestamp de criação do cluster de gateway. Unidade: segundos.

  • StorageBundleId: ID do cluster de gateway.

  • StorageBundleName: nome do cluster de gateway.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  StorageBundleId:
    Type: String
    Description:
      en: The ID of the gateway cluster.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CloudStorageGateway::StorageBundle
    Properties:
      StorageBundleId:
        Ref: StorageBundleId
Outputs:
  Description:
    Description: The description of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  CreateTime:
    Description: 'The timestamp when the gateway cluster was created. Unit: seconds.'
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  StorageBundleId:
    Description: The ID of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundleId
  StorageBundleName:
    Description: The name of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundleName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "StorageBundleId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the gateway cluster."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CloudStorageGateway::StorageBundle",
      "Properties": {
        "StorageBundleId": {
          "Ref": "StorageBundleId"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "The timestamp when the gateway cluster was created. Unit: seconds.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "StorageBundleId": {
      "Description": "The ID of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundleId"
        ]
      }
    },
    "StorageBundleName": {
      "Description": "The name of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundleName"
        ]
      }
    }
  }
}