Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere
chronosphere.Dashboard
Explore with Pulumi AI
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere
Create Dashboard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dashboard(name: string, args: DashboardArgs, opts?: CustomResourceOptions);
@overload
def Dashboard(resource_name: str,
args: DashboardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Dashboard(resource_name: str,
opts: Optional[ResourceOptions] = None,
dashboard_json: Optional[str] = None,
collection_id: Optional[str] = None,
name: Optional[str] = None,
slug: Optional[str] = None)
func NewDashboard(ctx *Context, name string, args DashboardArgs, opts ...ResourceOption) (*Dashboard, error)
public Dashboard(string name, DashboardArgs args, CustomResourceOptions? opts = null)
public Dashboard(String name, DashboardArgs args)
public Dashboard(String name, DashboardArgs args, CustomResourceOptions options)
type: chronosphere:Dashboard
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 DashboardArgs
- 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 DashboardArgs
- 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 DashboardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DashboardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DashboardArgs
- 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 dashboardResource = new Pulumi.Dashboard("dashboardResource", new()
{
DashboardJson = "string",
CollectionId = "string",
Name = "string",
Slug = "string",
});
example, err := chronosphere.NewDashboard(ctx, "dashboardResource", &chronosphere.DashboardArgs{
DashboardJson: pulumi.String("string"),
CollectionId: pulumi.String("string"),
Name: pulumi.String("string"),
Slug: pulumi.String("string"),
})
var dashboardResource = new Dashboard("dashboardResource", DashboardArgs.builder()
.dashboardJson("string")
.collectionId("string")
.name("string")
.slug("string")
.build());
dashboard_resource = chronosphere.Dashboard("dashboardResource",
dashboard_json="string",
collection_id="string",
name="string",
slug="string")
const dashboardResource = new chronosphere.Dashboard("dashboardResource", {
dashboardJson: "string",
collectionId: "string",
name: "string",
slug: "string",
});
type: chronosphere:Dashboard
properties:
collectionId: string
dashboardJson: string
name: string
slug: string
Dashboard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Dashboard resource accepts the following input properties:
- Dashboard
Json string - Collection
Id string - Name string
- Slug string
- Dashboard
Json string - Collection
Id string - Name string
- Slug string
- dashboard
Json String - collection
Id String - name String
- slug String
- dashboard
Json string - collection
Id string - name string
- slug string
- dashboard_
json str - collection_
id str - name str
- slug str
- dashboard
Json String - collection
Id String - name String
- slug String
Outputs
All input properties are implicitly available as output properties. Additionally, the Dashboard 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 Dashboard Resource
Get an existing Dashboard 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?: DashboardState, opts?: CustomResourceOptions): Dashboard
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
collection_id: Optional[str] = None,
dashboard_json: Optional[str] = None,
name: Optional[str] = None,
slug: Optional[str] = None) -> Dashboard
func GetDashboard(ctx *Context, name string, id IDInput, state *DashboardState, opts ...ResourceOption) (*Dashboard, error)
public static Dashboard Get(string name, Input<string> id, DashboardState? state, CustomResourceOptions? opts = null)
public static Dashboard get(String name, Output<String> id, DashboardState 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.
- Collection
Id string - Dashboard
Json string - Name string
- Slug string
- Collection
Id string - Dashboard
Json string - Name string
- Slug string
- collection
Id String - dashboard
Json String - name String
- slug String
- collection
Id string - dashboard
Json string - name string
- slug string
- collection_
id str - dashboard_
json str - name str
- slug str
- collection
Id String - dashboard
Json String - name String
- slug String
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphere
Terraform Provider.
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere