All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::VOD::EditingProjects

更新時間:Jul 03, 2023

DATASOURCE::VOD::EditingProjects is used to query the basic information about online editing projects.

Syntax

{
  "Type": "DATASOURCE::VOD::EditingProjects",
  "Properties": {
    "Title": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Title

String

No

Yes

The title of the online editing project.

None.

Return values

Fn::GetAtt

  • EditingProjects: details of the online editing projects.

  • EditingProjectIds: the IDs of the online editing projects.

Property

Type

Description

Constraint

EditingProjectIds

List

The IDs of the online editing projects.

None.

EditingProjects

List

Details of the online editing projects.

None.

ModifiedTime

String

The time when the online editing project was last modified.  

None.

RegionId

String

The region ID of the online editing project.

None.

Title

String

The title of the online editing project.

None.

EditingProjectId

String

The name of the online editing project.

None.

Status

String

The state of the online editing project.

None.

Examples

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Title:
    Description: The title of the online editing project.
    Type: String
Resources:
  ExtensionDataSource:
    Properties:
      Title:
        Ref: Title
    Type: DATASOURCE::VOD::EditingProjects
Outputs:
  EditingProjectIds:
    Description: The list of editing project IDs.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - EditingProjectIds
  EditingProjects:
    Description: The list of editing projects.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - EditingProjects

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Title": {
      "Type": "String",
      "Description": "The title of the online editing project."
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::VOD::EditingProjects",
      "Properties": {
        "Title": {
          "Ref": "Title"
        }
      }
    }
  },
  "Outputs": {
    "EditingProjects": {
      "Description": "The list of editing projects.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjects"
        ]
      }
    },
    "EditingProjectIds": {
      "Description": "The list of editing project IDs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjectIds"
        ]
      }
    }
  }
}