tencentcloud.BiEmbedTokenApply
Explore with Pulumi AI
Provides a resource to create a bi embed_token
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const embedToken = new tencentcloud.BiEmbedTokenApply("embedToken", {
expireTime: "240",
pageId: 10520483,
projectId: 11015030,
scope: "page",
userCorpId: "100022975249",
userId: "100024664626",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
embed_token = tencentcloud.BiEmbedTokenApply("embedToken",
expire_time="240",
page_id=10520483,
project_id=11015030,
scope="page",
user_corp_id="100022975249",
user_id="100024664626")
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.NewBiEmbedTokenApply(ctx, "embedToken", &tencentcloud.BiEmbedTokenApplyArgs{
ExpireTime: pulumi.String("240"),
PageId: pulumi.Float64(10520483),
ProjectId: pulumi.Float64(11015030),
Scope: pulumi.String("page"),
UserCorpId: pulumi.String("100022975249"),
UserId: pulumi.String("100024664626"),
})
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 embedToken = new Tencentcloud.BiEmbedTokenApply("embedToken", new()
{
ExpireTime = "240",
PageId = 10520483,
ProjectId = 11015030,
Scope = "page",
UserCorpId = "100022975249",
UserId = "100024664626",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.BiEmbedTokenApply;
import com.pulumi.tencentcloud.BiEmbedTokenApplyArgs;
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 embedToken = new BiEmbedTokenApply("embedToken", BiEmbedTokenApplyArgs.builder()
.expireTime("240")
.pageId(10520483)
.projectId(11015030)
.scope("page")
.userCorpId("100022975249")
.userId("100024664626")
.build());
}
}
resources:
embedToken:
type: tencentcloud:BiEmbedTokenApply
properties:
expireTime: '240'
pageId: 1.0520483e+07
projectId: 1.101503e+07
scope: page
userCorpId: '100022975249'
userId: '100024664626'
Create BiEmbedTokenApply Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BiEmbedTokenApply(name: string, args?: BiEmbedTokenApplyArgs, opts?: CustomResourceOptions);
@overload
def BiEmbedTokenApply(resource_name: str,
args: Optional[BiEmbedTokenApplyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def BiEmbedTokenApply(resource_name: str,
opts: Optional[ResourceOptions] = None,
bi_embed_token_apply_id: Optional[str] = None,
expire_time: Optional[str] = None,
page_id: Optional[float] = None,
project_id: Optional[float] = None,
scope: Optional[str] = None,
ticket_num: Optional[float] = None,
user_corp_id: Optional[str] = None,
user_id: Optional[str] = None)
func NewBiEmbedTokenApply(ctx *Context, name string, args *BiEmbedTokenApplyArgs, opts ...ResourceOption) (*BiEmbedTokenApply, error)
public BiEmbedTokenApply(string name, BiEmbedTokenApplyArgs? args = null, CustomResourceOptions? opts = null)
public BiEmbedTokenApply(String name, BiEmbedTokenApplyArgs args)
public BiEmbedTokenApply(String name, BiEmbedTokenApplyArgs args, CustomResourceOptions options)
type: tencentcloud:BiEmbedTokenApply
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 BiEmbedTokenApplyArgs
- 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 BiEmbedTokenApplyArgs
- 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 BiEmbedTokenApplyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BiEmbedTokenApplyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BiEmbedTokenApplyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BiEmbedTokenApply 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 BiEmbedTokenApply resource accepts the following input properties:
- Bi
Embed stringToken Apply Id - ID of the resource.
- Expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- Page
Id double - Sharing page id, this is empty value 0 when embedding the board.
- Project
Id double - Share project id.
- Scope string
- Page means embedding the page, and panel means embedding the entire board.
- Ticket
Num double - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- User
Corp stringId - User enterprise ID (for multi-user only).
- User
Id string - UserId (for multi-user only).
- Bi
Embed stringToken Apply Id - ID of the resource.
- Expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- Page
Id float64 - Sharing page id, this is empty value 0 when embedding the board.
- Project
Id float64 - Share project id.
- Scope string
- Page means embedding the page, and panel means embedding the entire board.
- Ticket
Num float64 - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- User
Corp stringId - User enterprise ID (for multi-user only).
- User
Id string - UserId (for multi-user only).
- bi
Embed StringToken Apply Id - ID of the resource.
- expire
Time String - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id Double - Sharing page id, this is empty value 0 when embedding the board.
- project
Id Double - Share project id.
- scope String
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num Double - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- user
Corp StringId - User enterprise ID (for multi-user only).
- user
Id String - UserId (for multi-user only).
- bi
Embed stringToken Apply Id - ID of the resource.
- expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id number - Sharing page id, this is empty value 0 when embedding the board.
- project
Id number - Share project id.
- scope string
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num number - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- user
Corp stringId - User enterprise ID (for multi-user only).
- user
Id string - UserId (for multi-user only).
- bi_
embed_ strtoken_ apply_ id - ID of the resource.
- expire_
time str - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page_
id float - Sharing page id, this is empty value 0 when embedding the board.
- project_
id float - Share project id.
- scope str
- Page means embedding the page, and panel means embedding the entire board.
- ticket_
num float - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- user_
corp_ strid - User enterprise ID (for multi-user only).
- user_
id str - UserId (for multi-user only).
- bi
Embed StringToken Apply Id - ID of the resource.
- expire
Time String - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id Number - Sharing page id, this is empty value 0 when embedding the board.
- project
Id Number - Share project id.
- scope String
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num Number - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- user
Corp StringId - User enterprise ID (for multi-user only).
- user
Id String - UserId (for multi-user only).
Outputs
All input properties are implicitly available as output properties. Additionally, the BiEmbedTokenApply resource produces the following output properties:
Look up Existing BiEmbedTokenApply Resource
Get an existing BiEmbedTokenApply 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?: BiEmbedTokenApplyState, opts?: CustomResourceOptions): BiEmbedTokenApply
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bi_embed_token_apply_id: Optional[str] = None,
bi_token: Optional[str] = None,
create_at: Optional[str] = None,
expire_time: Optional[str] = None,
page_id: Optional[float] = None,
project_id: Optional[float] = None,
scope: Optional[str] = None,
ticket_num: Optional[float] = None,
udpate_at: Optional[str] = None,
user_corp_id: Optional[str] = None,
user_id: Optional[str] = None) -> BiEmbedTokenApply
func GetBiEmbedTokenApply(ctx *Context, name string, id IDInput, state *BiEmbedTokenApplyState, opts ...ResourceOption) (*BiEmbedTokenApply, error)
public static BiEmbedTokenApply Get(string name, Input<string> id, BiEmbedTokenApplyState? state, CustomResourceOptions? opts = null)
public static BiEmbedTokenApply get(String name, Output<String> id, BiEmbedTokenApplyState state, CustomResourceOptions options)
resources: _: type: tencentcloud:BiEmbedTokenApply 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.
- Bi
Embed stringToken Apply Id - ID of the resource.
- Bi
Token string - Create the generated token.
- Create
At string - Create time.
- Expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- Page
Id double - Sharing page id, this is empty value 0 when embedding the board.
- Project
Id double - Share project id.
- Scope string
- Page means embedding the page, and panel means embedding the entire board.
- Ticket
Num double - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- Udpate
At string - Upadte time.
- User
Corp stringId - User enterprise ID (for multi-user only).
- User
Id string - UserId (for multi-user only).
- Bi
Embed stringToken Apply Id - ID of the resource.
- Bi
Token string - Create the generated token.
- Create
At string - Create time.
- Expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- Page
Id float64 - Sharing page id, this is empty value 0 when embedding the board.
- Project
Id float64 - Share project id.
- Scope string
- Page means embedding the page, and panel means embedding the entire board.
- Ticket
Num float64 - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- Udpate
At string - Upadte time.
- User
Corp stringId - User enterprise ID (for multi-user only).
- User
Id string - UserId (for multi-user only).
- bi
Embed StringToken Apply Id - ID of the resource.
- bi
Token String - Create the generated token.
- create
At String - Create time.
- expire
Time String - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id Double - Sharing page id, this is empty value 0 when embedding the board.
- project
Id Double - Share project id.
- scope String
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num Double - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- udpate
At String - Upadte time.
- user
Corp StringId - User enterprise ID (for multi-user only).
- user
Id String - UserId (for multi-user only).
- bi
Embed stringToken Apply Id - ID of the resource.
- bi
Token string - Create the generated token.
- create
At string - Create time.
- expire
Time string - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id number - Sharing page id, this is empty value 0 when embedding the board.
- project
Id number - Share project id.
- scope string
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num number - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- udpate
At string - Upadte time.
- user
Corp stringId - User enterprise ID (for multi-user only).
- user
Id string - UserId (for multi-user only).
- bi_
embed_ strtoken_ apply_ id - ID of the resource.
- bi_
token str - Create the generated token.
- create_
at str - Create time.
- expire_
time str - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page_
id float - Sharing page id, this is empty value 0 when embedding the board.
- project_
id float - Share project id.
- scope str
- Page means embedding the page, and panel means embedding the entire board.
- ticket_
num float - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- udpate_
at str - Upadte time.
- user_
corp_ strid - User enterprise ID (for multi-user only).
- user_
id str - UserId (for multi-user only).
- bi
Embed StringToken Apply Id - ID of the resource.
- bi
Token String - Create the generated token.
- create
At String - Create time.
- expire
Time String - Expiration. Unit: Minutes Maximum value: 240. i.e. 4 hours Default: 240.
- page
Id Number - Sharing page id, this is empty value 0 when embedding the board.
- project
Id Number - Share project id.
- scope String
- Page means embedding the page, and panel means embedding the entire board.
- ticket
Num Number - Access limit, the limit range is 1-99999, if it is empty, no access limit will be set.
- udpate
At String - Upadte time.
- user
Corp StringId - User enterprise ID (for multi-user only).
- user
Id String - UserId (for multi-user only).
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.