DATASOURCE::VOD::Storages

Updated at: 2025-04-24 03:39

DATASOURCE::VOD::Storages is used to query storage configurations.

Syntax

{
  "Type": "DATASOURCE::VOD::Storages",
  "Properties": {
    "ResourceGroupId": String,
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Property

Type

Required

Editable

Description

Constraint

ResourceGroupId

String

No

Yes

The ID of the resource group.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values

Fn::GetAtt

  • Storages: details of the storage configurations.

  • StorageLocations: the storage addresses.

Property

Type

Description

Constraint

StorageLocations

List

The storage addresses.

None.

Storages

List

Details of the storage configurations.

None.

StorageUsage

String

The storage usage.

None.

StorageLocation

String

The storage address.

None.

DefaultUpload

String

Indicates whether media resources are uploaded to the default storage address.

None.

GroupId

String

The group ID.

None.

ResourceGroupId

String

The ID of the resource group.

None.

GmtModified

String

The modification time.

None.

Type

String

The storage class.

None.

CreateTime

String

The creation time.

None.

Examples

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::VOD::Storages
    Properties: {}
Outputs:
  Storages:
    Description: The list of storages.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Storages
  StorageLocations:
    Description: The list of storage locations.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageLocations
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::VOD::Storages",
      "Properties": {
      }
    }
  },
  "Outputs": {
    "Storages": {
      "Description": "The list of storages.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Storages"
        ]
      }
    },
    "StorageLocations": {
      "Description": "The list of storage locations.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageLocations"
        ]
      }
    }
  }
}
                        
  • On this page (1)
  • Syntax
  • Properties
  • Return values
  • Examples
Feedback