Provides a resource to create a VCube application and video
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VcubeApplicationAndVideo("example", {
appName: "tf-example",
bundleId: "com.example.appName",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VcubeApplicationAndVideo("example",
app_name="tf-example",
bundle_id="com.example.appName")
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.NewVcubeApplicationAndVideo(ctx, "example", &tencentcloud.VcubeApplicationAndVideoArgs{
AppName: pulumi.String("tf-example"),
BundleId: pulumi.String("com.example.appName"),
})
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.VcubeApplicationAndVideo("example", new()
{
AppName = "tf-example",
BundleId = "com.example.appName",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VcubeApplicationAndVideo;
import com.pulumi.tencentcloud.VcubeApplicationAndVideoArgs;
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 VcubeApplicationAndVideo("example", VcubeApplicationAndVideoArgs.builder()
.appName("tf-example")
.bundleId("com.example.appName")
.build());
}
}
resources:
example:
type: tencentcloud:VcubeApplicationAndVideo
properties:
appName: tf-example
bundleId: com.example.appName
Or
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VcubeApplicationAndVideo("example", {
appName: "tf-example",
packageName: "com.example.appName",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VcubeApplicationAndVideo("example",
app_name="tf-example",
package_name="com.example.appName")
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.NewVcubeApplicationAndVideo(ctx, "example", &tencentcloud.VcubeApplicationAndVideoArgs{
AppName: pulumi.String("tf-example"),
PackageName: pulumi.String("com.example.appName"),
})
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.VcubeApplicationAndVideo("example", new()
{
AppName = "tf-example",
PackageName = "com.example.appName",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VcubeApplicationAndVideo;
import com.pulumi.tencentcloud.VcubeApplicationAndVideoArgs;
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 VcubeApplicationAndVideo("example", VcubeApplicationAndVideoArgs.builder()
.appName("tf-example")
.packageName("com.example.appName")
.build());
}
}
resources:
example:
type: tencentcloud:VcubeApplicationAndVideo
properties:
appName: tf-example
packageName: com.example.appName
Or
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.VcubeApplicationAndVideo("example", {
appName: "tf-example",
bundleId: "com.example.appName",
packageName: "com.example.appName",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.VcubeApplicationAndVideo("example",
app_name="tf-example",
bundle_id="com.example.appName",
package_name="com.example.appName")
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.NewVcubeApplicationAndVideo(ctx, "example", &tencentcloud.VcubeApplicationAndVideoArgs{
AppName: pulumi.String("tf-example"),
BundleId: pulumi.String("com.example.appName"),
PackageName: pulumi.String("com.example.appName"),
})
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.VcubeApplicationAndVideo("example", new()
{
AppName = "tf-example",
BundleId = "com.example.appName",
PackageName = "com.example.appName",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.VcubeApplicationAndVideo;
import com.pulumi.tencentcloud.VcubeApplicationAndVideoArgs;
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 VcubeApplicationAndVideo("example", VcubeApplicationAndVideoArgs.builder()
.appName("tf-example")
.bundleId("com.example.appName")
.packageName("com.example.appName")
.build());
}
}
resources:
example:
type: tencentcloud:VcubeApplicationAndVideo
properties:
appName: tf-example
bundleId: com.example.appName
packageName: com.example.appName
Create VcubeApplicationAndVideo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VcubeApplicationAndVideo(name: string, args: VcubeApplicationAndVideoArgs, opts?: CustomResourceOptions);@overload
def VcubeApplicationAndVideo(resource_name: str,
args: VcubeApplicationAndVideoArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VcubeApplicationAndVideo(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
bundle_id: Optional[str] = None,
package_name: Optional[str] = None,
vcube_application_and_video_id: Optional[str] = None)func NewVcubeApplicationAndVideo(ctx *Context, name string, args VcubeApplicationAndVideoArgs, opts ...ResourceOption) (*VcubeApplicationAndVideo, error)public VcubeApplicationAndVideo(string name, VcubeApplicationAndVideoArgs args, CustomResourceOptions? opts = null)
public VcubeApplicationAndVideo(String name, VcubeApplicationAndVideoArgs args)
public VcubeApplicationAndVideo(String name, VcubeApplicationAndVideoArgs args, CustomResourceOptions options)
type: tencentcloud:VcubeApplicationAndVideo
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 VcubeApplicationAndVideoArgs
- 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 VcubeApplicationAndVideoArgs
- 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 VcubeApplicationAndVideoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VcubeApplicationAndVideoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VcubeApplicationAndVideoArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VcubeApplicationAndVideo 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 VcubeApplicationAndVideo resource accepts the following input properties:
- App
Name string - Application name.
- Bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - Package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - Vcube
Application stringAnd Video Id - ID of the resource.
- App
Name string - Application name.
- Bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - Package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - Vcube
Application stringAnd Video Id - ID of the resource.
- app
Name String - Application name.
- bundle
Id String - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - package
Name String - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application StringAnd Video Id - ID of the resource.
- app
Name string - Application name.
- bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application stringAnd Video Id - ID of the resource.
- app_
name str - Application name.
- bundle_
id str - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - package_
name str - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube_
application_ strand_ video_ id - ID of the resource.
- app
Name String - Application name.
- bundle
Id String - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - package
Name String - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application StringAnd Video Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VcubeApplicationAndVideo resource produces the following output properties:
- App
Id string - Account App ID.
- App
Type string - Application type: formal: formal application, test: test application.
- Application
Id double - User Application ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Id double - License ID.
- License
Key string - License key.
- License
Url string - License url.
- App
Id string - Account App ID.
- App
Type string - Application type: formal: formal application, test: test application.
- Application
Id float64 - User Application ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- License
Id float64 - License ID.
- License
Key string - License key.
- License
Url string - License url.
- app
Id String - Account App ID.
- app
Type String - Application type: formal: formal application, test: test application.
- application
Id Double - User Application ID.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Id Double - License ID.
- license
Key String - License key.
- license
Url String - License url.
- app
Id string - Account App ID.
- app
Type string - Application type: formal: formal application, test: test application.
- application
Id number - User Application ID.
- id string
- The provider-assigned unique ID for this managed resource.
- license
Id number - License ID.
- license
Key string - License key.
- license
Url 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.
- app
Id String - Account App ID.
- app
Type String - Application type: formal: formal application, test: test application.
- application
Id Number - User Application ID.
- id String
- The provider-assigned unique ID for this managed resource.
- license
Id Number - License ID.
- license
Key String - License key.
- license
Url String - License url.
Look up Existing VcubeApplicationAndVideo Resource
Get an existing VcubeApplicationAndVideo 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?: VcubeApplicationAndVideoState, opts?: CustomResourceOptions): VcubeApplicationAndVideo@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,
bundle_id: Optional[str] = None,
license_id: Optional[float] = None,
license_key: Optional[str] = None,
license_url: Optional[str] = None,
package_name: Optional[str] = None,
vcube_application_and_video_id: Optional[str] = None) -> VcubeApplicationAndVideofunc GetVcubeApplicationAndVideo(ctx *Context, name string, id IDInput, state *VcubeApplicationAndVideoState, opts ...ResourceOption) (*VcubeApplicationAndVideo, error)public static VcubeApplicationAndVideo Get(string name, Input<string> id, VcubeApplicationAndVideoState? state, CustomResourceOptions? opts = null)public static VcubeApplicationAndVideo get(String name, Output<String> id, VcubeApplicationAndVideoState state, CustomResourceOptions options)resources: _: type: tencentcloud:VcubeApplicationAndVideo 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.
- App
Id string - Account App ID.
- App
Name string - Application name.
- App
Type string - Application type: formal: formal application, test: test application.
- Application
Id double - User Application ID.
- Bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - License
Id double - License ID.
- License
Key string - License key.
- License
Url string - License url.
- Package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - Vcube
Application stringAnd Video Id - ID of the resource.
- App
Id string - Account App ID.
- App
Name string - Application name.
- App
Type string - Application type: formal: formal application, test: test application.
- Application
Id float64 - User Application ID.
- Bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - License
Id float64 - License ID.
- License
Key string - License key.
- License
Url string - License url.
- Package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - Vcube
Application stringAnd Video Id - ID of the resource.
- app
Id String - Account App ID.
- app
Name String - Application name.
- app
Type String - Application type: formal: formal application, test: test application.
- application
Id Double - User Application ID.
- bundle
Id String - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - license
Id Double - License ID.
- license
Key String - License key.
- license
Url String - License url.
- package
Name String - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application StringAnd Video Id - ID of the resource.
- app
Id string - Account App ID.
- app
Name string - Application name.
- app
Type string - Application type: formal: formal application, test: test application.
- application
Id number - User Application ID.
- bundle
Id string - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - license
Id number - License ID.
- license
Key string - License key.
- license
Url string - License url.
- package
Name string - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application stringAnd Video Id - 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.
- bundle_
id str - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - license_
id float - License ID.
- license_
key str - License key.
- license_
url str - License url.
- package_
name str - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube_
application_ strand_ video_ id - ID of the resource.
- app
Id String - Account App ID.
- app
Name String - Application name.
- app
Type String - Application type: formal: formal application, test: test application.
- application
Id Number - User Application ID.
- bundle
Id String - IOS bundle ID. Choose at least one of
bundle_idandpackage_name. - license
Id Number - License ID.
- license
Key String - License key.
- license
Url String - License url.
- package
Name String - Android package name. Choose at least one of
bundle_idandpackage_name. - vcube
Application StringAnd Video Id - ID of the resource.
Import
VCube application and video can be imported using the id, e.g.
$ pulumi import tencentcloud:index/vcubeApplicationAndVideo:VcubeApplicationAndVideo example 1509
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
tencentcloudTerraform Provider.
