1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vod
  5. EditingProject
Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi

alicloud.vod.EditingProject

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi

    Provides a VOD Editing Project resource.

    For information about VOD Editing Project and how to use it, see What is Editing Project.

    NOTE: Available in v1.187.0+.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AliCloud.Vod.EditingProject("example", new()
        {
            EditingProjectName = "example_value",
            Timeline = "example_value",
            Title = "example_value",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vod"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vod.NewEditingProject(ctx, "example", &vod.EditingProjectArgs{
    			EditingProjectName: pulumi.String("example_value"),
    			Timeline:           pulumi.String("example_value"),
    			Title:              pulumi.String("example_value"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vod.EditingProject;
    import com.pulumi.alicloud.vod.EditingProjectArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new EditingProject("example", EditingProjectArgs.builder()        
                .editingProjectName("example_value")
                .timeline("example_value")
                .title("example_value")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.vod.EditingProject("example",
        editing_project_name="example_value",
        timeline="example_value",
        title="example_value")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = new alicloud.vod.EditingProject("example", {
        editingProjectName: "example_value",
        timeline: "example_value",
        title: "example_value",
    });
    
    resources:
      example:
        type: alicloud:vod:EditingProject
        properties:
          editingProjectName: example_value
          timeline: example_value
          title: example_value
    

    Create EditingProject Resource

    new EditingProject(name: string, args: EditingProjectArgs, opts?: CustomResourceOptions);
    @overload
    def EditingProject(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cover_url: Optional[str] = None,
                       division: Optional[str] = None,
                       editing_project_name: Optional[str] = None,
                       timeline: Optional[str] = None,
                       title: Optional[str] = None)
    @overload
    def EditingProject(resource_name: str,
                       args: EditingProjectArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewEditingProject(ctx *Context, name string, args EditingProjectArgs, opts ...ResourceOption) (*EditingProject, error)
    public EditingProject(string name, EditingProjectArgs args, CustomResourceOptions? opts = null)
    public EditingProject(String name, EditingProjectArgs args)
    public EditingProject(String name, EditingProjectArgs args, CustomResourceOptions options)
    
    type: alicloud:vod:EditingProject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args EditingProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EditingProjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EditingProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EditingProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EditingProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EditingProject Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EditingProject resource accepts the following input properties:

    Title string

    The title of the online editing project.

    CoverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    Division string

    The region where you want to create the online editing project.

    EditingProjectName string

    The description of the online editing project.

    Timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    Title string

    The title of the online editing project.

    CoverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    Division string

    The region where you want to create the online editing project.

    EditingProjectName string

    The description of the online editing project.

    Timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title String

    The title of the online editing project.

    coverUrl String

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division String

    The region where you want to create the online editing project.

    editingProjectName String

    The description of the online editing project.

    timeline String

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title string

    The title of the online editing project.

    coverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division string

    The region where you want to create the online editing project.

    editingProjectName string

    The description of the online editing project.

    timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title str

    The title of the online editing project.

    cover_url str

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division str

    The region where you want to create the online editing project.

    editing_project_name str

    The description of the online editing project.

    timeline str

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title String

    The title of the online editing project.

    coverUrl String

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division String

    The region where you want to create the online editing project.

    editingProjectName String

    The description of the online editing project.

    timeline String

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EditingProject resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The Status of the resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    Status string

    The Status of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The Status of the resource.

    id string

    The provider-assigned unique ID for this managed resource.

    status string

    The Status of the resource.

    id str

    The provider-assigned unique ID for this managed resource.

    status str

    The Status of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    status String

    The Status of the resource.

    Look up Existing EditingProject Resource

    Get an existing EditingProject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EditingProjectState, opts?: CustomResourceOptions): EditingProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cover_url: Optional[str] = None,
            division: Optional[str] = None,
            editing_project_name: Optional[str] = None,
            status: Optional[str] = None,
            timeline: Optional[str] = None,
            title: Optional[str] = None) -> EditingProject
    func GetEditingProject(ctx *Context, name string, id IDInput, state *EditingProjectState, opts ...ResourceOption) (*EditingProject, error)
    public static EditingProject Get(string name, Input<string> id, EditingProjectState? state, CustomResourceOptions? opts = null)
    public static EditingProject get(String name, Output<String> id, EditingProjectState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CoverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    Division string

    The region where you want to create the online editing project.

    EditingProjectName string

    The description of the online editing project.

    Status string

    The Status of the resource.

    Timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    Title string

    The title of the online editing project.

    CoverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    Division string

    The region where you want to create the online editing project.

    EditingProjectName string

    The description of the online editing project.

    Status string

    The Status of the resource.

    Timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    Title string

    The title of the online editing project.

    coverUrl String

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division String

    The region where you want to create the online editing project.

    editingProjectName String

    The description of the online editing project.

    status String

    The Status of the resource.

    timeline String

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title String

    The title of the online editing project.

    coverUrl string

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division string

    The region where you want to create the online editing project.

    editingProjectName string

    The description of the online editing project.

    status string

    The Status of the resource.

    timeline string

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title string

    The title of the online editing project.

    cover_url str

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division str

    The region where you want to create the online editing project.

    editing_project_name str

    The description of the online editing project.

    status str

    The Status of the resource.

    timeline str

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title str

    The title of the online editing project.

    coverUrl String

    The thumbnail URL of the online editing project. If you do not specify this parameter and the video track in the timeline has mezzanine files, the thumbnail of the first mezzanine file in the timeline is used.

    division String

    The region where you want to create the online editing project.

    editingProjectName String

    The description of the online editing project.

    status String

    The Status of the resource.

    timeline String

    The timeline of the online editing project, in JSON format. For more information about the structure, see Timeline. If you do not specify this parameter, an empty timeline is created and the duration of the online editing project is zero.

    title String

    The title of the online editing project.

    Import

    VOD Editing Project can be imported using the id, e.g.

     $ pulumi import alicloud:vod/editingProject:EditingProject example <id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.38.0 published on Friday, Jun 2, 2023 by Pulumi