checkly.Dashboard
Explore with Pulumi AI
Example Usage
using Pulumi;
using Checkly = Pulumi.Checkly;
class MyStack : Stack
{
public MyStack()
{
var dashboard1 = new Checkly.Dashboard("dashboard1", new Checkly.DashboardArgs
{
CustomDomain = "status.example.com",
CustomUrl = "checkly",
Header = "Public dashboard",
HideTags = false,
Logo = "https://www.checklyhq.com/logo.png",
Paginate = false,
PaginationRate = 30,
RefreshRate = 60,
Tags =
{
"production",
},
Width = "FULL",
});
}
}
package main
import (
"github.com/checkly/pulumi-checkly/sdk/go/checkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkly.NewDashboard(ctx, "dashboard1", &checkly.DashboardArgs{
CustomDomain: pulumi.String("status.example.com"),
CustomUrl: pulumi.String("checkly"),
Header: pulumi.String("Public dashboard"),
HideTags: pulumi.Bool(false),
Logo: pulumi.String("https://www.checklyhq.com/logo.png"),
Paginate: pulumi.Bool(false),
PaginationRate: pulumi.Int(30),
RefreshRate: pulumi.Int(60),
Tags: pulumi.StringArray{
pulumi.String("production"),
},
Width: pulumi.String("FULL"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_checkly as checkly
dashboard1 = checkly.Dashboard("dashboard1",
custom_domain="status.example.com",
custom_url="checkly",
header="Public dashboard",
hide_tags=False,
logo="https://www.checklyhq.com/logo.png",
paginate=False,
pagination_rate=30,
refresh_rate=60,
tags=["production"],
width="FULL")
import * as pulumi from "@pulumi/pulumi";
import * as checkly from "@pulumi/checkly";
const dashboard1 = new checkly.Dashboard("dashboard_1", {
customDomain: "status.example.com",
customUrl: "checkly",
header: "Public dashboard",
hideTags: false,
logo: "https://www.checklyhq.com/logo.png",
paginate: false,
paginationRate: 30,
refreshRate: 60,
tags: ["production"],
width: "FULL",
});
Coming soon!
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,
custom_url: Optional[str] = None,
hide_tags: Optional[bool] = None,
logo: Optional[str] = None,
description: Optional[str] = None,
favicon: Optional[str] = None,
header: Optional[str] = None,
checks_per_page: Optional[int] = None,
link: Optional[str] = None,
custom_domain: Optional[str] = None,
paginate: Optional[bool] = None,
pagination_rate: Optional[int] = None,
refresh_rate: Optional[int] = None,
tags: Optional[Sequence[str]] = None,
use_tags_and_operator: Optional[bool] = None,
width: 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: checkly: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 Checkly.Dashboard("dashboardResource", new()
{
CustomUrl = "string",
HideTags = false,
Logo = "string",
Description = "string",
Favicon = "string",
Header = "string",
ChecksPerPage = 0,
Link = "string",
CustomDomain = "string",
Paginate = false,
PaginationRate = 0,
RefreshRate = 0,
Tags = new[]
{
"string",
},
UseTagsAndOperator = false,
Width = "string",
});
example, err := checkly.NewDashboard(ctx, "dashboardResource", &checkly.DashboardArgs{
CustomUrl: pulumi.String("string"),
HideTags: pulumi.Bool(false),
Logo: pulumi.String("string"),
Description: pulumi.String("string"),
Favicon: pulumi.String("string"),
Header: pulumi.String("string"),
ChecksPerPage: pulumi.Int(0),
Link: pulumi.String("string"),
CustomDomain: pulumi.String("string"),
Paginate: pulumi.Bool(false),
PaginationRate: pulumi.Int(0),
RefreshRate: pulumi.Int(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UseTagsAndOperator: pulumi.Bool(false),
Width: pulumi.String("string"),
})
var dashboardResource = new Dashboard("dashboardResource", DashboardArgs.builder()
.customUrl("string")
.hideTags(false)
.logo("string")
.description("string")
.favicon("string")
.header("string")
.checksPerPage(0)
.link("string")
.customDomain("string")
.paginate(false)
.paginationRate(0)
.refreshRate(0)
.tags("string")
.useTagsAndOperator(false)
.width("string")
.build());
dashboard_resource = checkly.Dashboard("dashboardResource",
custom_url="string",
hide_tags=False,
logo="string",
description="string",
favicon="string",
header="string",
checks_per_page=0,
link="string",
custom_domain="string",
paginate=False,
pagination_rate=0,
refresh_rate=0,
tags=["string"],
use_tags_and_operator=False,
width="string")
const dashboardResource = new checkly.Dashboard("dashboardResource", {
customUrl: "string",
hideTags: false,
logo: "string",
description: "string",
favicon: "string",
header: "string",
checksPerPage: 0,
link: "string",
customDomain: "string",
paginate: false,
paginationRate: 0,
refreshRate: 0,
tags: ["string"],
useTagsAndOperator: false,
width: "string",
});
type: checkly:Dashboard
properties:
checksPerPage: 0
customDomain: string
customUrl: string
description: string
favicon: string
header: string
hideTags: false
link: string
logo: string
paginate: false
paginationRate: 0
refreshRate: 0
tags:
- string
useTagsAndOperator: false
width: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dashboard resource accepts the following input properties:
- Custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- Checks
Per intPage - Determines how many checks to show per page.
- Custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- Description string
- HTML description for the dashboard.
- Favicon string
- A URL pointing to an image file to use as browser favicon.
- Header string
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- Link string
- A link to for the dashboard logo.
- Logo string
- A URL pointing to an image file to use for the dashboard logo.
- Paginate bool
- Determines if pagination is on or off.
- Pagination
Rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - Refresh
Rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<string>
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- Width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- Custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- Checks
Per intPage - Determines how many checks to show per page.
- Custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- Description string
- HTML description for the dashboard.
- Favicon string
- A URL pointing to an image file to use as browser favicon.
- Header string
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- Link string
- A link to for the dashboard logo.
- Logo string
- A URL pointing to an image file to use for the dashboard logo.
- Paginate bool
- Determines if pagination is on or off.
- Pagination
Rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - Refresh
Rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - []string
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- Width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- custom
Url String - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- checks
Per IntegerPage - Determines how many checks to show per page.
- custom
Domain String - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- description String
- HTML description for the dashboard.
- favicon String
- A URL pointing to an image file to use as browser favicon.
- header String
- A piece of text displayed at the top of your dashboard.
- Boolean
- Show or hide the tags on the dashboard.
- link String
- A link to for the dashboard logo.
- logo String
- A URL pointing to an image file to use for the dashboard logo.
- paginate Boolean
- Determines if pagination is on or off.
- pagination
Rate Integer - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate Integer - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<String>
- A list of one or more tags that filter which checks to display on the dashboard.
- Boolean
- Set when to use AND operator for fetching dashboard tags.
- width String
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- checks
Per numberPage - Determines how many checks to show per page.
- custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- description string
- HTML description for the dashboard.
- favicon string
- A URL pointing to an image file to use as browser favicon.
- header string
- A piece of text displayed at the top of your dashboard.
- boolean
- Show or hide the tags on the dashboard.
- link string
- A link to for the dashboard logo.
- logo string
- A URL pointing to an image file to use for the dashboard logo.
- paginate boolean
- Determines if pagination is on or off.
- pagination
Rate number - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate number - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - string[]
- A list of one or more tags that filter which checks to display on the dashboard.
- boolean
- Set when to use AND operator for fetching dashboard tags.
- width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- custom_
url str - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- checks_
per_ intpage - Determines how many checks to show per page.
- custom_
domain str - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- description str
- HTML description for the dashboard.
- favicon str
- A URL pointing to an image file to use as browser favicon.
- header str
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- link str
- A link to for the dashboard logo.
- logo str
- A URL pointing to an image file to use for the dashboard logo.
- paginate bool
- Determines if pagination is on or off.
- pagination_
rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh_
rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - Sequence[str]
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- width str
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- custom
Url String - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- checks
Per NumberPage - Determines how many checks to show per page.
- custom
Domain String - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- description String
- HTML description for the dashboard.
- favicon String
- A URL pointing to an image file to use as browser favicon.
- header String
- A piece of text displayed at the top of your dashboard.
- Boolean
- Show or hide the tags on the dashboard.
- link String
- A link to for the dashboard logo.
- logo String
- A URL pointing to an image file to use for the dashboard logo.
- paginate Boolean
- Determines if pagination is on or off.
- pagination
Rate Number - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate Number - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<String>
- A list of one or more tags that filter which checks to display on the dashboard.
- Boolean
- Set when to use AND operator for fetching dashboard tags.
- width String
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
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,
checks_per_page: Optional[int] = None,
custom_domain: Optional[str] = None,
custom_url: Optional[str] = None,
description: Optional[str] = None,
favicon: Optional[str] = None,
header: Optional[str] = None,
hide_tags: Optional[bool] = None,
link: Optional[str] = None,
logo: Optional[str] = None,
paginate: Optional[bool] = None,
pagination_rate: Optional[int] = None,
refresh_rate: Optional[int] = None,
tags: Optional[Sequence[str]] = None,
use_tags_and_operator: Optional[bool] = None,
width: 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.
- Checks
Per intPage - Determines how many checks to show per page.
- Custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- Custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- Description string
- HTML description for the dashboard.
- Favicon string
- A URL pointing to an image file to use as browser favicon.
- Header string
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- Link string
- A link to for the dashboard logo.
- Logo string
- A URL pointing to an image file to use for the dashboard logo.
- Paginate bool
- Determines if pagination is on or off.
- Pagination
Rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - Refresh
Rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<string>
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- Width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- Checks
Per intPage - Determines how many checks to show per page.
- Custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- Custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- Description string
- HTML description for the dashboard.
- Favicon string
- A URL pointing to an image file to use as browser favicon.
- Header string
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- Link string
- A link to for the dashboard logo.
- Logo string
- A URL pointing to an image file to use for the dashboard logo.
- Paginate bool
- Determines if pagination is on or off.
- Pagination
Rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - Refresh
Rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - []string
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- Width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- checks
Per IntegerPage - Determines how many checks to show per page.
- custom
Domain String - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- custom
Url String - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- description String
- HTML description for the dashboard.
- favicon String
- A URL pointing to an image file to use as browser favicon.
- header String
- A piece of text displayed at the top of your dashboard.
- Boolean
- Show or hide the tags on the dashboard.
- link String
- A link to for the dashboard logo.
- logo String
- A URL pointing to an image file to use for the dashboard logo.
- paginate Boolean
- Determines if pagination is on or off.
- pagination
Rate Integer - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate Integer - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<String>
- A list of one or more tags that filter which checks to display on the dashboard.
- Boolean
- Set when to use AND operator for fetching dashboard tags.
- width String
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- checks
Per numberPage - Determines how many checks to show per page.
- custom
Domain string - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- custom
Url string - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- description string
- HTML description for the dashboard.
- favicon string
- A URL pointing to an image file to use as browser favicon.
- header string
- A piece of text displayed at the top of your dashboard.
- boolean
- Show or hide the tags on the dashboard.
- link string
- A link to for the dashboard logo.
- logo string
- A URL pointing to an image file to use for the dashboard logo.
- paginate boolean
- Determines if pagination is on or off.
- pagination
Rate number - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate number - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - string[]
- A list of one or more tags that filter which checks to display on the dashboard.
- boolean
- Set when to use AND operator for fetching dashboard tags.
- width string
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- checks_
per_ intpage - Determines how many checks to show per page.
- custom_
domain str - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- custom_
url str - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- description str
- HTML description for the dashboard.
- favicon str
- A URL pointing to an image file to use as browser favicon.
- header str
- A piece of text displayed at the top of your dashboard.
- bool
- Show or hide the tags on the dashboard.
- link str
- A link to for the dashboard logo.
- logo str
- A URL pointing to an image file to use for the dashboard logo.
- paginate bool
- Determines if pagination is on or off.
- pagination_
rate int - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh_
rate int - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - Sequence[str]
- A list of one or more tags that filter which checks to display on the dashboard.
- bool
- Set when to use AND operator for fetching dashboard tags.
- width str
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
- checks
Per NumberPage - Determines how many checks to show per page.
- custom
Domain String - A custom user domain, e.g. 'status.example.com'. See the docs on updating your DNS and SSL usage.
- custom
Url String - A subdomain name under 'checklyhq.com'. Needs to be unique across all users.
- description String
- HTML description for the dashboard.
- favicon String
- A URL pointing to an image file to use as browser favicon.
- header String
- A piece of text displayed at the top of your dashboard.
- Boolean
- Show or hide the tags on the dashboard.
- link String
- A link to for the dashboard logo.
- logo String
- A URL pointing to an image file to use for the dashboard logo.
- paginate Boolean
- Determines if pagination is on or off.
- pagination
Rate Number - How often to trigger pagination in seconds. Possible values
30
,60
and300
. - refresh
Rate Number - How often to refresh the dashboard in seconds. Possible values
60
, '300' and600
. - List<String>
- A list of one or more tags that filter which checks to display on the dashboard.
- Boolean
- Set when to use AND operator for fetching dashboard tags.
- width String
- Determines whether to use the full screen or focus in the center. Possible values
FULL
and960PX
.
Package Details
- Repository
- checkly checkly/pulumi-checkly
- License
- MIT
- Notes
- This Pulumi package is based on the
checkly
Terraform Provider.