1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VcubeApplicationAndWebPlayerLicense
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack

    Provides a resource to create a VCube application and web player license

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.VcubeApplicationAndWebPlayerLicense("example", {
        appName: "tf-example",
        domainLists: [
            "www.example1.com",
            "www.example2.com",
            "www.example3.com",
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.VcubeApplicationAndWebPlayerLicense("example",
        app_name="tf-example",
        domain_lists=[
            "www.example1.com",
            "www.example2.com",
            "www.example3.com",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewVcubeApplicationAndWebPlayerLicense(ctx, "example", &tencentcloud.VcubeApplicationAndWebPlayerLicenseArgs{
    			AppName: pulumi.String("tf-example"),
    			DomainLists: pulumi.StringArray{
    				pulumi.String("www.example1.com"),
    				pulumi.String("www.example2.com"),
    				pulumi.String("www.example3.com"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.VcubeApplicationAndWebPlayerLicense("example", new()
        {
            AppName = "tf-example",
            DomainLists = new[]
            {
                "www.example1.com",
                "www.example2.com",
                "www.example3.com",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VcubeApplicationAndWebPlayerLicense;
    import com.pulumi.tencentcloud.VcubeApplicationAndWebPlayerLicenseArgs;
    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 VcubeApplicationAndWebPlayerLicense("example", VcubeApplicationAndWebPlayerLicenseArgs.builder()
                .appName("tf-example")
                .domainLists(            
                    "www.example1.com",
                    "www.example2.com",
                    "www.example3.com")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:VcubeApplicationAndWebPlayerLicense
        properties:
          appName: tf-example
          domainLists:
            - www.example1.com
            - www.example2.com
            - www.example3.com
    

    Create VcubeApplicationAndWebPlayerLicense Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VcubeApplicationAndWebPlayerLicense(name: string, args: VcubeApplicationAndWebPlayerLicenseArgs, opts?: CustomResourceOptions);
    @overload
    def VcubeApplicationAndWebPlayerLicense(resource_name: str,
                                            args: VcubeApplicationAndWebPlayerLicenseArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def VcubeApplicationAndWebPlayerLicense(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            app_name: Optional[str] = None,
                                            domain_lists: Optional[Sequence[str]] = None,
                                            vcube_application_and_web_player_license_id: Optional[str] = None)
    func NewVcubeApplicationAndWebPlayerLicense(ctx *Context, name string, args VcubeApplicationAndWebPlayerLicenseArgs, opts ...ResourceOption) (*VcubeApplicationAndWebPlayerLicense, error)
    public VcubeApplicationAndWebPlayerLicense(string name, VcubeApplicationAndWebPlayerLicenseArgs args, CustomResourceOptions? opts = null)
    public VcubeApplicationAndWebPlayerLicense(String name, VcubeApplicationAndWebPlayerLicenseArgs args)
    public VcubeApplicationAndWebPlayerLicense(String name, VcubeApplicationAndWebPlayerLicenseArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VcubeApplicationAndWebPlayerLicense
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VcubeApplicationAndWebPlayerLicenseArgs
    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 VcubeApplicationAndWebPlayerLicenseArgs
    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 VcubeApplicationAndWebPlayerLicenseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VcubeApplicationAndWebPlayerLicenseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VcubeApplicationAndWebPlayerLicenseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VcubeApplicationAndWebPlayerLicense Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VcubeApplicationAndWebPlayerLicense resource accepts the following input properties:

    AppName string
    Application name.
    DomainLists List<string>
    Domain list.
    VcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    AppName string
    Application name.
    DomainLists []string
    Domain list.
    VcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    appName String
    Application name.
    domainLists List<String>
    Domain list.
    vcubeApplicationAndWebPlayerLicenseId String
    ID of the resource.
    appName string
    Application name.
    domainLists string[]
    Domain list.
    vcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    app_name str
    Application name.
    domain_lists Sequence[str]
    Domain list.
    vcube_application_and_web_player_license_id str
    ID of the resource.
    appName String
    Application name.
    domainLists List<String>
    Domain list.
    vcubeApplicationAndWebPlayerLicenseId String
    ID of the resource.

    Outputs

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

    AppId string
    Account App ID.
    AppType string
    Application type: formal: formal application, test: test application.
    ApplicationId double
    User Application ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseId double
    License ID.
    LicenseKey string
    License key.
    LicenseUrl string
    License url.
    AppId string
    Account App ID.
    AppType string
    Application type: formal: formal application, test: test application.
    ApplicationId float64
    User Application ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseId float64
    License ID.
    LicenseKey string
    License key.
    LicenseUrl string
    License url.
    appId String
    Account App ID.
    appType String
    Application type: formal: formal application, test: test application.
    applicationId Double
    User Application ID.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseId Double
    License ID.
    licenseKey String
    License key.
    licenseUrl String
    License url.
    appId string
    Account App ID.
    appType string
    Application type: formal: formal application, test: test application.
    applicationId number
    User Application ID.
    id string
    The provider-assigned unique ID for this managed resource.
    licenseId number
    License ID.
    licenseKey string
    License key.
    licenseUrl string
    License url.
    app_id str
    Account App ID.
    app_type str
    Application type: formal: formal application, test: test application.
    application_id float
    User Application ID.
    id str
    The provider-assigned unique ID for this managed resource.
    license_id float
    License ID.
    license_key str
    License key.
    license_url str
    License url.
    appId String
    Account App ID.
    appType String
    Application type: formal: formal application, test: test application.
    applicationId Number
    User Application ID.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseId Number
    License ID.
    licenseKey String
    License key.
    licenseUrl String
    License url.

    Look up Existing VcubeApplicationAndWebPlayerLicense Resource

    Get an existing VcubeApplicationAndWebPlayerLicense 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?: VcubeApplicationAndWebPlayerLicenseState, opts?: CustomResourceOptions): VcubeApplicationAndWebPlayerLicense
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_id: Optional[str] = None,
            app_name: Optional[str] = None,
            app_type: Optional[str] = None,
            application_id: Optional[float] = None,
            domain_lists: Optional[Sequence[str]] = None,
            license_id: Optional[float] = None,
            license_key: Optional[str] = None,
            license_url: Optional[str] = None,
            vcube_application_and_web_player_license_id: Optional[str] = None) -> VcubeApplicationAndWebPlayerLicense
    func GetVcubeApplicationAndWebPlayerLicense(ctx *Context, name string, id IDInput, state *VcubeApplicationAndWebPlayerLicenseState, opts ...ResourceOption) (*VcubeApplicationAndWebPlayerLicense, error)
    public static VcubeApplicationAndWebPlayerLicense Get(string name, Input<string> id, VcubeApplicationAndWebPlayerLicenseState? state, CustomResourceOptions? opts = null)
    public static VcubeApplicationAndWebPlayerLicense get(String name, Output<String> id, VcubeApplicationAndWebPlayerLicenseState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VcubeApplicationAndWebPlayerLicense    get:      id: ${id}
    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:
    AppId string
    Account App ID.
    AppName string
    Application name.
    AppType string
    Application type: formal: formal application, test: test application.
    ApplicationId double
    User Application ID.
    DomainLists List<string>
    Domain list.
    LicenseId double
    License ID.
    LicenseKey string
    License key.
    LicenseUrl string
    License url.
    VcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    AppId string
    Account App ID.
    AppName string
    Application name.
    AppType string
    Application type: formal: formal application, test: test application.
    ApplicationId float64
    User Application ID.
    DomainLists []string
    Domain list.
    LicenseId float64
    License ID.
    LicenseKey string
    License key.
    LicenseUrl string
    License url.
    VcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    appId String
    Account App ID.
    appName String
    Application name.
    appType String
    Application type: formal: formal application, test: test application.
    applicationId Double
    User Application ID.
    domainLists List<String>
    Domain list.
    licenseId Double
    License ID.
    licenseKey String
    License key.
    licenseUrl String
    License url.
    vcubeApplicationAndWebPlayerLicenseId String
    ID of the resource.
    appId string
    Account App ID.
    appName string
    Application name.
    appType string
    Application type: formal: formal application, test: test application.
    applicationId number
    User Application ID.
    domainLists string[]
    Domain list.
    licenseId number
    License ID.
    licenseKey string
    License key.
    licenseUrl string
    License url.
    vcubeApplicationAndWebPlayerLicenseId string
    ID of the resource.
    app_id str
    Account App ID.
    app_name str
    Application name.
    app_type str
    Application type: formal: formal application, test: test application.
    application_id float
    User Application ID.
    domain_lists Sequence[str]
    Domain list.
    license_id float
    License ID.
    license_key str
    License key.
    license_url str
    License url.
    vcube_application_and_web_player_license_id str
    ID of the resource.
    appId String
    Account App ID.
    appName String
    Application name.
    appType String
    Application type: formal: formal application, test: test application.
    applicationId Number
    User Application ID.
    domainLists List<String>
    Domain list.
    licenseId Number
    License ID.
    licenseKey String
    License key.
    licenseUrl String
    License url.
    vcubeApplicationAndWebPlayerLicenseId String
    ID of the resource.

    Import

    VCube application and web player license can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/vcubeApplicationAndWebPlayerLicense:VcubeApplicationAndWebPlayerLicense example 1513
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate