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:
- App
Name string - Application name.
- Domain
Lists List<string> - Domain list.
- Vcube
Application stringAnd Web Player License Id - ID of the resource.
- App
Name string - Application name.
- Domain
Lists []string - Domain list.
- Vcube
Application stringAnd Web Player License Id - ID of the resource.
- app
Name String - Application name.
- domain
Lists List<String> - Domain list.
- vcube
Application StringAnd Web Player License Id - ID of the resource.
- app
Name string - Application name.
- domain
Lists string[] - Domain list.
- vcube
Application stringAnd Web Player License Id - ID of the resource.
- app_
name str - Application name.
- domain_
lists Sequence[str] - Domain list.
- vcube_
application_ strand_ web_ player_ license_ id - ID of the resource.
- app
Name String - Application name.
- domain
Lists List<String> - Domain list.
- vcube
Application StringAnd Web Player License Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VcubeApplicationAndWebPlayerLicense 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 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) -> VcubeApplicationAndWebPlayerLicensefunc 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.
- 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.
- Domain
Lists List<string> - Domain list.
- License
Id double - License ID.
- License
Key string - License key.
- License
Url string - License url.
- Vcube
Application stringAnd Web Player License 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.
- Domain
Lists []string - Domain list.
- License
Id float64 - License ID.
- License
Key string - License key.
- License
Url string - License url.
- Vcube
Application stringAnd Web Player License 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.
- domain
Lists List<String> - Domain list.
- license
Id Double - License ID.
- license
Key String - License key.
- license
Url String - License url.
- vcube
Application StringAnd Web Player License 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.
- domain
Lists string[] - Domain list.
- license
Id number - License ID.
- license
Key string - License key.
- license
Url string - License url.
- vcube
Application stringAnd Web Player License 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.
- domain_
lists Sequence[str] - Domain list.
- license_
id float - License ID.
- license_
key str - License key.
- license_
url str - License url.
- vcube_
application_ strand_ web_ player_ license_ 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.
- domain
Lists List<String> - Domain list.
- license
Id Number - License ID.
- license
Key String - License key.
- license
Url String - License url.
- vcube
Application StringAnd Web Player License Id - 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
tencentcloudTerraform Provider.
