Statuscake v1.0.2 published on Sunday, Oct 8, 2023 by Pulumiverse
Statuscake
The Statuscake provider for Pulumi can be used to provision resources in Statuscake.
The Statuscake provider must be configured with credentials to create and update resources in Statuscake.
Example
import * as statuscake from "@pulumiverse/statuscake";
export const uptimeCheck = new statuscake.UptimeCheck("example", {
checkInterval: 60,
monitoredResource: { address: "https://www.pulumi.com" },
});
import pulumiverse_statuscake as statuscake
uptimeCheck = statuscake.UptimeCheck("example",
checkInterval=60
monitoredResource={
address="https://www.pulumi.com"
}
)
import (
"fmt"
statuscake "github.com/pulumiverse/pulumi-statuscake/sdk/go/statuscake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
project, err := statuscake.UptimeCheck(ctx, "example", &statuscake.UptimeCheckArgs{
CheckInterval: 60,
MonitoredResource: statuscake.UptimeCheckMonitoredResource{
Address: "https://www.pulumi.com",
},
})
if err != nil {
return fmt.Errorf("error creating statuscake uptime check: %v", err)
}
return nil
})
}
using Pulumi;
using Pulumiverse.Statuscake;
class statusCakeUptimeCheck : Stack
{
public uptimeCheck()
{
var project = new UptimeCheck("example", new UptimeCheckArgs{
CheckInterval: 60,
MonitoredResource: {
Address: "https://www.pulumi.com",
}
});
}
}