1. Registry
  2. Packages
  3. Checkly
  4. API Docs
  5. PrivateLocation
Viewing docs for Checkly v3.0.0
published on Monday, Nov 16, 2026 by Checkly
checkly logo Checkly
Viewing docs for Checkly v3.0.0
published on Monday, Nov 16, 2026 by Checkly

    A private location runs checks from your own infrastructure: Checkly agents that you deploy, for example as containers in your network, run the checks and monitors assigned to it. The agents authenticate with the location’s API keys, which are only available when the location is created; see keys.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkly from "@checkly/pulumi";
    
    const location = new checkly.PrivateLocation("location", {
        name: "New Private Location",
        slugName: "new-private-location",
    });
    const config = new pulumi.Config();
    const proxyUrl = config.require("proxyUrl");
    // API checks running in this location send their HTTP requests through the
    // proxy.
    const location_with_proxy = new checkly.PrivateLocation("location-with-proxy", {
        name: "Private Location behind a proxy",
        slugName: "private-location-with-proxy",
        proxyUrl: proxyUrl,
    });
    
    import pulumi
    import pulumi_checkly as checkly
    
    location = checkly.PrivateLocation("location",
        name="New Private Location",
        slug_name="new-private-location")
    config = pulumi.Config()
    proxy_url = config.require("proxyUrl")
    # API checks running in this location send their HTTP requests through the
    # proxy.
    location_with_proxy = checkly.PrivateLocation("location-with-proxy",
        name="Private Location behind a proxy",
        slug_name="private-location-with-proxy",
        proxy_url=proxy_url)
    
    package main
    
    import (
    	"github.com/checkly/pulumi-checkly/sdk/v3/go/checkly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkly.NewPrivateLocation(ctx, "location", &checkly.PrivateLocationArgs{
    			Name:     pulumi.String("New Private Location"),
    			SlugName: pulumi.String("new-private-location"),
    		})
    		if err != nil {
    			return err
    		}
    		cfg := config.New(ctx, "")
    		proxyUrl := cfg.Require("proxyUrl")
    		// API checks running in this location send their HTTP requests through the
    		// proxy.
    		_, err = checkly.NewPrivateLocation(ctx, "location-with-proxy", &checkly.PrivateLocationArgs{
    			Name:     pulumi.String("Private Location behind a proxy"),
    			SlugName: pulumi.String("private-location-with-proxy"),
    			ProxyUrl: pulumi.String(proxyUrl),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkly = Pulumi.Checkly;
    
    return await Deployment.RunAsync(() => 
    {
        var location = new Checkly.PrivateLocation("location", new()
        {
            Name = "New Private Location",
            SlugName = "new-private-location",
        });
    
        var config = new Config();
        var proxyUrl = config.Require("proxyUrl");
        // API checks running in this location send their HTTP requests through the
        // proxy.
        var location_with_proxy = new Checkly.PrivateLocation("location-with-proxy", new()
        {
            Name = "Private Location behind a proxy",
            SlugName = "private-location-with-proxy",
            ProxyUrl = proxyUrl,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkly.PrivateLocation;
    import com.pulumi.checkly.PrivateLocationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var config = ctx.config();
            var location = new PrivateLocation("location", PrivateLocationArgs.builder()
                .name("New Private Location")
                .slugName("new-private-location")
                .build());
    
            final var proxyUrl = config.require("proxyUrl");
            // API checks running in this location send their HTTP requests through the
            // proxy.
            var location_with_proxy = new PrivateLocation("location-with-proxy", PrivateLocationArgs.builder()
                .name("Private Location behind a proxy")
                .slugName("private-location-with-proxy")
                .proxyUrl(proxyUrl)
                .build());
    
        }
    }
    
    configuration:
      # The proxy URL can hold credentials, so set it as a secret configuration value.
      proxyUrl:
        type: string
    resources:
      location:
        type: checkly:PrivateLocation
        properties:
          name: New Private Location
          slugName: new-private-location
      # API checks running in this location send their HTTP requests through the
      # proxy.
      location-with-proxy:
        type: checkly:PrivateLocation
        properties:
          name: Private Location behind a proxy
          slugName: private-location-with-proxy
          proxyUrl: ${proxyUrl}
    
    terraform {
      required_providers {
        checkly = {
          source = "pulumi/checkly"
        }
      }
    }
    
    resource "checkly_private_location" "location" {
      lifecycle {
        create_before_destroy = true
      }
      name      = "New Private Location"
      slug_name = "new-private-location"
    }
    # API checks running in this location send their HTTP requests through the
    # proxy.
    resource "checkly_private_location" "location-with-proxy" {
      lifecycle {
        create_before_destroy = true
      }
      name      = "Private Location behind a proxy"
      slug_name = "private-location-with-proxy"
      proxy_url = var.proxyUrl
    }
    # The proxy URL can hold credentials, so set it as a secret configuration value.
    variable "proxyUrl" {
      type = string
    }
    

    Create PrivateLocation Resource

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

    Constructor syntax

    new PrivateLocation(name: string, args: PrivateLocationArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateLocation(resource_name: str,
                        args: PrivateLocationArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateLocation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        slug_name: Optional[str] = None,
                        icon: Optional[str] = None,
                        name: Optional[str] = None,
                        proxy_url: Optional[str] = None)
    func NewPrivateLocation(ctx *Context, name string, args PrivateLocationArgs, opts ...ResourceOption) (*PrivateLocation, error)
    public PrivateLocation(string name, PrivateLocationArgs args, CustomResourceOptions? opts = null)
    public PrivateLocation(String name, PrivateLocationArgs args)
    public PrivateLocation(String name, PrivateLocationArgs args, CustomResourceOptions options)
    
    type: checkly:PrivateLocation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkly_private_location" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PrivateLocationArgs
    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 PrivateLocationArgs
    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 PrivateLocationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateLocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateLocationArgs
    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 privateLocationResource = new Checkly.PrivateLocation("privateLocationResource", new()
    {
        SlugName = "string",
        Icon = "string",
        Name = "string",
        ProxyUrl = "string",
    });
    
    example, err := checkly.NewPrivateLocation(ctx, "privateLocationResource", &checkly.PrivateLocationArgs{
    	SlugName: pulumi.String("string"),
    	Icon:     pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	ProxyUrl: pulumi.String("string"),
    })
    
    resource "checkly_private_location" "privateLocationResource" {
      lifecycle {
        create_before_destroy = true
      }
      slug_name = "string"
      icon      = "string"
      name      = "string"
      proxy_url = "string"
    }
    
    var privateLocationResource = new PrivateLocation("privateLocationResource", PrivateLocationArgs.builder()
        .slugName("string")
        .icon("string")
        .name("string")
        .proxyUrl("string")
        .build());
    
    private_location_resource = checkly.PrivateLocation("privateLocationResource",
        slug_name="string",
        icon="string",
        name="string",
        proxy_url="string")
    
    const privateLocationResource = new checkly.PrivateLocation("privateLocationResource", {
        slugName: "string",
        icon: "string",
        name: "string",
        proxyUrl: "string",
    });
    
    type: checkly:PrivateLocation
    properties:
        icon: string
        name: string
        proxyUrl: string
        slugName: string
    

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

    SlugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    Icon string
    Icon assigned to the private location. Defaults to location.
    Name string
    The private location name.
    ProxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    SlugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    Icon string
    Icon assigned to the private location. Defaults to location.
    Name string
    The private location name.
    ProxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slug_name string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon string
    Icon assigned to the private location. Defaults to location.
    name string
    The private location name.
    proxy_url string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName String
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon String
    Icon assigned to the private location. Defaults to location.
    name String
    The private location name.
    proxyUrl String
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon string
    Icon assigned to the private location. Defaults to location.
    name string
    The private location name.
    proxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slug_name str
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon str
    Icon assigned to the private location. Defaults to location.
    name str
    The private location name.
    proxy_url str
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName String
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon String
    Icon assigned to the private location. Defaults to location.
    name String
    The private location name.
    proxyUrl String
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrivateLocation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Keys List<string>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    Id string
    The provider-assigned unique ID for this managed resource.
    Keys []string
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    id string
    The provider-assigned unique ID for this managed resource.
    keys list(string)
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    id String
    The provider-assigned unique ID for this managed resource.
    keys List<String>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    id string
    The provider-assigned unique ID for this managed resource.
    keys string[]
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    id str
    The provider-assigned unique ID for this managed resource.
    keys Sequence[str]
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    id String
    The provider-assigned unique ID for this managed resource.
    keys List<String>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.

    Look up Existing PrivateLocation Resource

    Get an existing PrivateLocation 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?: PrivateLocationState, opts?: CustomResourceOptions): PrivateLocation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            icon: Optional[str] = None,
            keys: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            proxy_url: Optional[str] = None,
            slug_name: Optional[str] = None) -> PrivateLocation
    func GetPrivateLocation(ctx *Context, name string, id IDInput, state *PrivateLocationState, opts ...ResourceOption) (*PrivateLocation, error)
    public static PrivateLocation Get(string name, Input<string> id, PrivateLocationState? state, CustomResourceOptions? opts = null)
    public static PrivateLocation get(String name, Output<String> id, PrivateLocationState state, CustomResourceOptions options)
    resources:  existingPrivateLocation:    type: checkly:PrivateLocation    get:      id: ${id}
    import {
      to = checkly_private_location.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state PrivateLocationState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state PrivateLocationState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state PrivateLocationState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state PrivateLocationState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Icon string
    Icon assigned to the private location. Defaults to location.
    Keys List<string>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    Name string
    The private location name.
    ProxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    SlugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    Icon string
    Icon assigned to the private location. Defaults to location.
    Keys []string
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    Name string
    The private location name.
    ProxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    SlugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon string
    Icon assigned to the private location. Defaults to location.
    keys list(string)
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    name string
    The private location name.
    proxy_url string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slug_name string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon String
    Icon assigned to the private location. Defaults to location.
    keys List<String>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    name String
    The private location name.
    proxyUrl String
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName String
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon string
    Icon assigned to the private location. Defaults to location.
    keys string[]
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    name string
    The private location name.
    proxyUrl string
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName string
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon str
    Icon assigned to the private location. Defaults to location.
    keys Sequence[str]
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    name str
    The private location name.
    proxy_url str
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slug_name str
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.
    icon String
    Icon assigned to the private location. Defaults to location.
    keys List<String>
    The API keys that the location's agents authenticate with. The API returns a key only when it is created, so this holds the key created with the location and is never refreshed: keys added or revoked later, for example in the web app, don't show here. After an import, it is null.
    name String
    The private location name.
    proxyUrl String
    The proxy that API checks running in the private location send their HTTP requests through, such as https://user:password@proxy.example.com:3128. It can hold credentials.
    slugName String
    The slug name of the private location, which checks and monitors refer to the location by. Must be between 1 and 30 characters. Must contain only letters, digits and dashes, and must not start with the ID of a public location such as eu-central-1. The slug can't be changed after creation: a preview that changes it fails. pulumi up --replace skips this check and replaces the location, which the API refuses for a location that checks or groups use, and which disconnects its agents, so don't use it to change the slug. To use a different slug, add a new checkly.PrivateLocation resource with it, move your checks and agents to the new location, then remove the old resource.

    Import

    The pulumi import command can be used, for example:

    Import an existing private location using its ID. The ID is returned by the Checkly API at GET /v1/private-locations.

    $ pulumi import checkly:index/privateLocation:PrivateLocation example 2a48cb5f-415a-4368-bffe-a58533d4b0a8
    

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

    Package Details

    Repository
    checkly checkly/pulumi-checkly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the checkly Terraform Provider.
    checkly logo Checkly
    Viewing docs for Checkly v3.0.0
    published on Monday, Nov 16, 2026 by Checkly

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial