tencentcloud.BiProject
Explore with Pulumi AI
Provides a resource to create a bi project
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const project = new tencentcloud.BiProject("project", {
colorCode: "#7BD936",
logo: "TF-test",
mark: "project mark",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
project = tencentcloud.BiProject("project",
color_code="#7BD936",
logo="TF-test",
mark="project mark")
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.NewBiProject(ctx, "project", &tencentcloud.BiProjectArgs{
ColorCode: pulumi.String("#7BD936"),
Logo: pulumi.String("TF-test"),
Mark: pulumi.String("project mark"),
})
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 project = new Tencentcloud.BiProject("project", new()
{
ColorCode = "#7BD936",
Logo = "TF-test",
Mark = "project mark",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.BiProject;
import com.pulumi.tencentcloud.BiProjectArgs;
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 project = new BiProject("project", BiProjectArgs.builder()
.colorCode("#7BD936")
.logo("TF-test")
.mark("project mark")
.build());
}
}
resources:
project:
type: tencentcloud:BiProject
properties:
colorCode: '#7BD936'
logo: TF-test
mark: project mark
Create BiProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BiProject(name: string, args: BiProjectArgs, opts?: CustomResourceOptions);
@overload
def BiProject(resource_name: str,
args: BiProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BiProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
color_code: Optional[str] = None,
bi_project_id: Optional[str] = None,
logo: Optional[str] = None,
mark: Optional[str] = None,
name: Optional[str] = None)
func NewBiProject(ctx *Context, name string, args BiProjectArgs, opts ...ResourceOption) (*BiProject, error)
public BiProject(string name, BiProjectArgs args, CustomResourceOptions? opts = null)
public BiProject(String name, BiProjectArgs args)
public BiProject(String name, BiProjectArgs args, CustomResourceOptions options)
type: tencentcloud:BiProject
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 BiProjectArgs
- 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 BiProjectArgs
- 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 BiProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BiProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BiProjectArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BiProject 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 BiProject resource accepts the following input properties:
- Color
Code string - Logo background color.
- Bi
Project stringId - ID of the resource.
- Logo string
- Project logo.
- Mark string
- Remark.
- Name string
- Project name.
- Color
Code string - Logo background color.
- Bi
Project stringId - ID of the resource.
- Logo string
- Project logo.
- Mark string
- Remark.
- Name string
- Project name.
- color
Code String - Logo background color.
- bi
Project StringId - ID of the resource.
- logo String
- Project logo.
- mark String
- Remark.
- name String
- Project name.
- color
Code string - Logo background color.
- bi
Project stringId - ID of the resource.
- logo string
- Project logo.
- mark string
- Remark.
- name string
- Project name.
- color_
code str - Logo background color.
- bi_
project_ strid - ID of the resource.
- logo str
- Project logo.
- mark str
- Remark.
- name str
- Project name.
- color
Code String - Logo background color.
- bi
Project StringId - ID of the resource.
- logo String
- Project logo.
- mark String
- Remark.
- name String
- Project name.
Outputs
All input properties are implicitly available as output properties. Additionally, the BiProject resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BiProject Resource
Get an existing BiProject 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?: BiProjectState, opts?: CustomResourceOptions): BiProject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bi_project_id: Optional[str] = None,
color_code: Optional[str] = None,
logo: Optional[str] = None,
mark: Optional[str] = None,
name: Optional[str] = None) -> BiProject
func GetBiProject(ctx *Context, name string, id IDInput, state *BiProjectState, opts ...ResourceOption) (*BiProject, error)
public static BiProject Get(string name, Input<string> id, BiProjectState? state, CustomResourceOptions? opts = null)
public static BiProject get(String name, Output<String> id, BiProjectState state, CustomResourceOptions options)
resources: _: type: tencentcloud:BiProject 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
Project stringId - ID of the resource.
- Color
Code string - Logo background color.
- Logo string
- Project logo.
- Mark string
- Remark.
- Name string
- Project name.
- Bi
Project stringId - ID of the resource.
- Color
Code string - Logo background color.
- Logo string
- Project logo.
- Mark string
- Remark.
- Name string
- Project name.
- bi
Project StringId - ID of the resource.
- color
Code String - Logo background color.
- logo String
- Project logo.
- mark String
- Remark.
- name String
- Project name.
- bi
Project stringId - ID of the resource.
- color
Code string - Logo background color.
- logo string
- Project logo.
- mark string
- Remark.
- name string
- Project name.
- bi_
project_ strid - ID of the resource.
- color_
code str - Logo background color.
- logo str
- Project logo.
- mark str
- Remark.
- name str
- Project name.
- bi
Project StringId - ID of the resource.
- color
Code String - Logo background color.
- logo String
- Project logo.
- mark String
- Remark.
- name String
- Project name.
Import
bi project can be imported using the id, e.g.
$ pulumi import tencentcloud:index/biProject:BiProject project project_id
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.