1. Packages
  2. Splight
  3. API Docs
  4. DashboardTab
splight v1.2.2 published on Friday, Nov 8, 2024 by splightplatform

splight.DashboardTab

Explore with Pulumi AI

splight logo
splight v1.2.2 published on Friday, Nov 8, 2024 by splightplatform

    Example Usage

    Create DashboardTab Resource

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

    Constructor syntax

    new DashboardTab(name: string, args: DashboardTabArgs, opts?: CustomResourceOptions);
    @overload
    def DashboardTab(resource_name: str,
                     args: DashboardTabArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def DashboardTab(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     dashboard: Optional[str] = None,
                     name: Optional[str] = None,
                     order: Optional[int] = None)
    func NewDashboardTab(ctx *Context, name string, args DashboardTabArgs, opts ...ResourceOption) (*DashboardTab, error)
    public DashboardTab(string name, DashboardTabArgs args, CustomResourceOptions? opts = null)
    public DashboardTab(String name, DashboardTabArgs args)
    public DashboardTab(String name, DashboardTabArgs args, CustomResourceOptions options)
    
    type: splight:DashboardTab
    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 DashboardTabArgs
    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 DashboardTabArgs
    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 DashboardTabArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DashboardTabArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DashboardTabArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dashboardTabResource = new Splight.DashboardTab("dashboardTabResource", new()
    {
        Dashboard = "string",
        Name = "string",
        Order = 0,
    });
    
    example, err := splight.NewDashboardTab(ctx, "dashboardTabResource", &splight.DashboardTabArgs{
    	Dashboard: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Order:     pulumi.Int(0),
    })
    
    var dashboardTabResource = new DashboardTab("dashboardTabResource", DashboardTabArgs.builder()
        .dashboard("string")
        .name("string")
        .order(0)
        .build());
    
    dashboard_tab_resource = splight.DashboardTab("dashboardTabResource",
        dashboard="string",
        name="string",
        order=0)
    
    const dashboardTabResource = new splight.DashboardTab("dashboardTabResource", {
        dashboard: "string",
        name: "string",
        order: 0,
    });
    
    type: splight:DashboardTab
    properties:
        dashboard: string
        name: string
        order: 0
    

    DashboardTab 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 DashboardTab resource accepts the following input properties:

    Dashboard string
    dashboard id where to place it
    Name string
    name for the tab
    Order int
    order within the dashboard
    Dashboard string
    dashboard id where to place it
    Name string
    name for the tab
    Order int
    order within the dashboard
    dashboard String
    dashboard id where to place it
    name String
    name for the tab
    order Integer
    order within the dashboard
    dashboard string
    dashboard id where to place it
    name string
    name for the tab
    order number
    order within the dashboard
    dashboard str
    dashboard id where to place it
    name str
    name for the tab
    order int
    order within the dashboard
    dashboard String
    dashboard id where to place it
    name String
    name for the tab
    order Number
    order within the dashboard

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DashboardTab 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 DashboardTab Resource

    Get an existing DashboardTab 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?: DashboardTabState, opts?: CustomResourceOptions): DashboardTab
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dashboard: Optional[str] = None,
            name: Optional[str] = None,
            order: Optional[int] = None) -> DashboardTab
    func GetDashboardTab(ctx *Context, name string, id IDInput, state *DashboardTabState, opts ...ResourceOption) (*DashboardTab, error)
    public static DashboardTab Get(string name, Input<string> id, DashboardTabState? state, CustomResourceOptions? opts = null)
    public static DashboardTab get(String name, Output<String> id, DashboardTabState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Dashboard string
    dashboard id where to place it
    Name string
    name for the tab
    Order int
    order within the dashboard
    Dashboard string
    dashboard id where to place it
    Name string
    name for the tab
    Order int
    order within the dashboard
    dashboard String
    dashboard id where to place it
    name String
    name for the tab
    order Integer
    order within the dashboard
    dashboard string
    dashboard id where to place it
    name string
    name for the tab
    order number
    order within the dashboard
    dashboard str
    dashboard id where to place it
    name str
    name for the tab
    order int
    order within the dashboard
    dashboard String
    dashboard id where to place it
    name String
    name for the tab
    order Number
    order within the dashboard

    Import

    $ pulumi import splight:index/dashboardTab:DashboardTab [options] splight_dashboard_tab.<name> <dashboard_tab_id>
    

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

    Package Details

    Repository
    splight splightplatform/pulumi-splight
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the splight Terraform Provider.
    splight logo
    splight v1.2.2 published on Friday, Nov 8, 2024 by splightplatform