gcp.colab.RuntimeTemplate
Explore with Pulumi AI
‘A runtime template is a VM configuration that specifies a machine type and other characteristics of the VM, as well as common settings such as the network and whether public internet access is enabled. When you create a runtime, its VM is created according to the specifications of a runtime template.’
To get more information about RuntimeTemplate, see:
- API documentation
- How-to Guides
Example Usage
Colab Runtime Template Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const runtime_template = new gcp.colab.RuntimeTemplate("runtime-template", {
    name: "colab-runtime-template",
    displayName: "Runtime template basic",
    location: "us-central1",
    machineSpec: {
        machineType: "e2-standard-4",
    },
    networkSpec: {
        enableInternetAccess: true,
    },
});
import pulumi
import pulumi_gcp as gcp
runtime_template = gcp.colab.RuntimeTemplate("runtime-template",
    name="colab-runtime-template",
    display_name="Runtime template basic",
    location="us-central1",
    machine_spec={
        "machine_type": "e2-standard-4",
    },
    network_spec={
        "enable_internet_access": True,
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{
			Name:        pulumi.String("colab-runtime-template"),
			DisplayName: pulumi.String("Runtime template basic"),
			Location:    pulumi.String("us-central1"),
			MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{
				MachineType: pulumi.String("e2-standard-4"),
			},
			NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{
				EnableInternetAccess: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var runtime_template = new Gcp.Colab.RuntimeTemplate("runtime-template", new()
    {
        Name = "colab-runtime-template",
        DisplayName = "Runtime template basic",
        Location = "us-central1",
        MachineSpec = new Gcp.Colab.Inputs.RuntimeTemplateMachineSpecArgs
        {
            MachineType = "e2-standard-4",
        },
        NetworkSpec = new Gcp.Colab.Inputs.RuntimeTemplateNetworkSpecArgs
        {
            EnableInternetAccess = true,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.colab.RuntimeTemplate;
import com.pulumi.gcp.colab.RuntimeTemplateArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateMachineSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateNetworkSpecArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var runtime_template = new RuntimeTemplate("runtime-template", RuntimeTemplateArgs.builder()
            .name("colab-runtime-template")
            .displayName("Runtime template basic")
            .location("us-central1")
            .machineSpec(RuntimeTemplateMachineSpecArgs.builder()
                .machineType("e2-standard-4")
                .build())
            .networkSpec(RuntimeTemplateNetworkSpecArgs.builder()
                .enableInternetAccess(true)
                .build())
            .build());
    }
}
resources:
  runtime-template:
    type: gcp:colab:RuntimeTemplate
    properties:
      name: colab-runtime-template
      displayName: Runtime template basic
      location: us-central1
      machineSpec:
        machineType: e2-standard-4
      networkSpec:
        enableInternetAccess: true
Colab Runtime Template No Name
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const runtime_template = new gcp.colab.RuntimeTemplate("runtime-template", {
    displayName: "Runtime template no name",
    location: "us-central1",
    machineSpec: {
        machineType: "e2-standard-4",
    },
    networkSpec: {
        enableInternetAccess: true,
    },
});
import pulumi
import pulumi_gcp as gcp
runtime_template = gcp.colab.RuntimeTemplate("runtime-template",
    display_name="Runtime template no name",
    location="us-central1",
    machine_spec={
        "machine_type": "e2-standard-4",
    },
    network_spec={
        "enable_internet_access": True,
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{
			DisplayName: pulumi.String("Runtime template no name"),
			Location:    pulumi.String("us-central1"),
			MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{
				MachineType: pulumi.String("e2-standard-4"),
			},
			NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{
				EnableInternetAccess: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var runtime_template = new Gcp.Colab.RuntimeTemplate("runtime-template", new()
    {
        DisplayName = "Runtime template no name",
        Location = "us-central1",
        MachineSpec = new Gcp.Colab.Inputs.RuntimeTemplateMachineSpecArgs
        {
            MachineType = "e2-standard-4",
        },
        NetworkSpec = new Gcp.Colab.Inputs.RuntimeTemplateNetworkSpecArgs
        {
            EnableInternetAccess = true,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.colab.RuntimeTemplate;
import com.pulumi.gcp.colab.RuntimeTemplateArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateMachineSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateNetworkSpecArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var runtime_template = new RuntimeTemplate("runtime-template", RuntimeTemplateArgs.builder()
            .displayName("Runtime template no name")
            .location("us-central1")
            .machineSpec(RuntimeTemplateMachineSpecArgs.builder()
                .machineType("e2-standard-4")
                .build())
            .networkSpec(RuntimeTemplateNetworkSpecArgs.builder()
                .enableInternetAccess(true)
                .build())
            .build());
    }
}
resources:
  runtime-template:
    type: gcp:colab:RuntimeTemplate
    properties:
      displayName: Runtime template no name
      location: us-central1
      machineSpec:
        machineType: e2-standard-4
      networkSpec:
        enableInternetAccess: true
Colab Runtime Template Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myNetwork = new gcp.compute.Network("my_network", {
    name: "colab-test-default",
    autoCreateSubnetworks: false,
});
const mySubnetwork = new gcp.compute.Subnetwork("my_subnetwork", {
    name: "colab-test-default",
    network: myNetwork.id,
    region: "us-central1",
    ipCidrRange: "10.0.1.0/24",
});
const runtime_template = new gcp.colab.RuntimeTemplate("runtime-template", {
    name: "colab-runtime-template",
    displayName: "Runtime template full",
    location: "us-central1",
    description: "Full runtime template",
    machineSpec: {
        machineType: "n1-standard-2",
        acceleratorType: "NVIDIA_TESLA_T4",
        acceleratorCount: 1,
    },
    dataPersistentDiskSpec: {
        diskType: "pd-standard",
        diskSizeGb: "200",
    },
    networkSpec: {
        enableInternetAccess: true,
        network: myNetwork.id,
        subnetwork: mySubnetwork.id,
    },
    labels: {
        k: "val",
    },
    idleShutdownConfig: {
        idleTimeout: "3600s",
    },
    eucConfig: {
        eucDisabled: true,
    },
    shieldedVmConfig: {
        enableSecureBoot: true,
    },
    networkTags: [
        "abc",
        "def",
    ],
    encryptionSpec: {
        kmsKeyName: "my-crypto-key",
    },
    softwareConfig: {
        envs: [{
            name: "TEST",
            value: "1",
        }],
        postStartupScriptConfig: {
            postStartupScript: "echo 'hello world'",
            postStartupScriptUrl: "gs://colab-enterprise-pss-secure/secure_pss.sh",
            postStartupScriptBehavior: "RUN_ONCE",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_network = gcp.compute.Network("my_network",
    name="colab-test-default",
    auto_create_subnetworks=False)
my_subnetwork = gcp.compute.Subnetwork("my_subnetwork",
    name="colab-test-default",
    network=my_network.id,
    region="us-central1",
    ip_cidr_range="10.0.1.0/24")
runtime_template = gcp.colab.RuntimeTemplate("runtime-template",
    name="colab-runtime-template",
    display_name="Runtime template full",
    location="us-central1",
    description="Full runtime template",
    machine_spec={
        "machine_type": "n1-standard-2",
        "accelerator_type": "NVIDIA_TESLA_T4",
        "accelerator_count": 1,
    },
    data_persistent_disk_spec={
        "disk_type": "pd-standard",
        "disk_size_gb": "200",
    },
    network_spec={
        "enable_internet_access": True,
        "network": my_network.id,
        "subnetwork": my_subnetwork.id,
    },
    labels={
        "k": "val",
    },
    idle_shutdown_config={
        "idle_timeout": "3600s",
    },
    euc_config={
        "euc_disabled": True,
    },
    shielded_vm_config={
        "enable_secure_boot": True,
    },
    network_tags=[
        "abc",
        "def",
    ],
    encryption_spec={
        "kms_key_name": "my-crypto-key",
    },
    software_config={
        "envs": [{
            "name": "TEST",
            "value": "1",
        }],
        "post_startup_script_config": {
            "post_startup_script": "echo 'hello world'",
            "post_startup_script_url": "gs://colab-enterprise-pss-secure/secure_pss.sh",
            "post_startup_script_behavior": "RUN_ONCE",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{
			Name:                  pulumi.String("colab-test-default"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{
			Name:        pulumi.String("colab-test-default"),
			Network:     myNetwork.ID(),
			Region:      pulumi.String("us-central1"),
			IpCidrRange: pulumi.String("10.0.1.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{
			Name:        pulumi.String("colab-runtime-template"),
			DisplayName: pulumi.String("Runtime template full"),
			Location:    pulumi.String("us-central1"),
			Description: pulumi.String("Full runtime template"),
			MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{
				MachineType:      pulumi.String("n1-standard-2"),
				AcceleratorType:  pulumi.String("NVIDIA_TESLA_T4"),
				AcceleratorCount: pulumi.Int(1),
			},
			DataPersistentDiskSpec: &colab.RuntimeTemplateDataPersistentDiskSpecArgs{
				DiskType:   pulumi.String("pd-standard"),
				DiskSizeGb: pulumi.String("200"),
			},
			NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{
				EnableInternetAccess: pulumi.Bool(true),
				Network:              myNetwork.ID(),
				Subnetwork:           mySubnetwork.ID(),
			},
			Labels: pulumi.StringMap{
				"k": pulumi.String("val"),
			},
			IdleShutdownConfig: &colab.RuntimeTemplateIdleShutdownConfigArgs{
				IdleTimeout: pulumi.String("3600s"),
			},
			EucConfig: &colab.RuntimeTemplateEucConfigArgs{
				EucDisabled: pulumi.Bool(true),
			},
			ShieldedVmConfig: &colab.RuntimeTemplateShieldedVmConfigArgs{
				EnableSecureBoot: pulumi.Bool(true),
			},
			NetworkTags: pulumi.StringArray{
				pulumi.String("abc"),
				pulumi.String("def"),
			},
			EncryptionSpec: &colab.RuntimeTemplateEncryptionSpecArgs{
				KmsKeyName: pulumi.String("my-crypto-key"),
			},
			SoftwareConfig: &colab.RuntimeTemplateSoftwareConfigArgs{
				Envs: colab.RuntimeTemplateSoftwareConfigEnvArray{
					&colab.RuntimeTemplateSoftwareConfigEnvArgs{
						Name:  pulumi.String("TEST"),
						Value: pulumi.String("1"),
					},
				},
				PostStartupScriptConfig: &colab.RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs{
					PostStartupScript:         pulumi.String("echo 'hello world'"),
					PostStartupScriptUrl:      pulumi.String("gs://colab-enterprise-pss-secure/secure_pss.sh"),
					PostStartupScriptBehavior: pulumi.String("RUN_ONCE"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var myNetwork = new Gcp.Compute.Network("my_network", new()
    {
        Name = "colab-test-default",
        AutoCreateSubnetworks = false,
    });
    var mySubnetwork = new Gcp.Compute.Subnetwork("my_subnetwork", new()
    {
        Name = "colab-test-default",
        Network = myNetwork.Id,
        Region = "us-central1",
        IpCidrRange = "10.0.1.0/24",
    });
    var runtime_template = new Gcp.Colab.RuntimeTemplate("runtime-template", new()
    {
        Name = "colab-runtime-template",
        DisplayName = "Runtime template full",
        Location = "us-central1",
        Description = "Full runtime template",
        MachineSpec = new Gcp.Colab.Inputs.RuntimeTemplateMachineSpecArgs
        {
            MachineType = "n1-standard-2",
            AcceleratorType = "NVIDIA_TESLA_T4",
            AcceleratorCount = 1,
        },
        DataPersistentDiskSpec = new Gcp.Colab.Inputs.RuntimeTemplateDataPersistentDiskSpecArgs
        {
            DiskType = "pd-standard",
            DiskSizeGb = "200",
        },
        NetworkSpec = new Gcp.Colab.Inputs.RuntimeTemplateNetworkSpecArgs
        {
            EnableInternetAccess = true,
            Network = myNetwork.Id,
            Subnetwork = mySubnetwork.Id,
        },
        Labels = 
        {
            { "k", "val" },
        },
        IdleShutdownConfig = new Gcp.Colab.Inputs.RuntimeTemplateIdleShutdownConfigArgs
        {
            IdleTimeout = "3600s",
        },
        EucConfig = new Gcp.Colab.Inputs.RuntimeTemplateEucConfigArgs
        {
            EucDisabled = true,
        },
        ShieldedVmConfig = new Gcp.Colab.Inputs.RuntimeTemplateShieldedVmConfigArgs
        {
            EnableSecureBoot = true,
        },
        NetworkTags = new[]
        {
            "abc",
            "def",
        },
        EncryptionSpec = new Gcp.Colab.Inputs.RuntimeTemplateEncryptionSpecArgs
        {
            KmsKeyName = "my-crypto-key",
        },
        SoftwareConfig = new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigArgs
        {
            Envs = new[]
            {
                new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigEnvArgs
                {
                    Name = "TEST",
                    Value = "1",
                },
            },
            PostStartupScriptConfig = new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs
            {
                PostStartupScript = "echo 'hello world'",
                PostStartupScriptUrl = "gs://colab-enterprise-pss-secure/secure_pss.sh",
                PostStartupScriptBehavior = "RUN_ONCE",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.Subnetwork;
import com.pulumi.gcp.compute.SubnetworkArgs;
import com.pulumi.gcp.colab.RuntimeTemplate;
import com.pulumi.gcp.colab.RuntimeTemplateArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateMachineSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateDataPersistentDiskSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateNetworkSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateIdleShutdownConfigArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateEucConfigArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateShieldedVmConfigArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateEncryptionSpecArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateSoftwareConfigArgs;
import com.pulumi.gcp.colab.inputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var myNetwork = new Network("myNetwork", NetworkArgs.builder()
            .name("colab-test-default")
            .autoCreateSubnetworks(false)
            .build());
        var mySubnetwork = new Subnetwork("mySubnetwork", SubnetworkArgs.builder()
            .name("colab-test-default")
            .network(myNetwork.id())
            .region("us-central1")
            .ipCidrRange("10.0.1.0/24")
            .build());
        var runtime_template = new RuntimeTemplate("runtime-template", RuntimeTemplateArgs.builder()
            .name("colab-runtime-template")
            .displayName("Runtime template full")
            .location("us-central1")
            .description("Full runtime template")
            .machineSpec(RuntimeTemplateMachineSpecArgs.builder()
                .machineType("n1-standard-2")
                .acceleratorType("NVIDIA_TESLA_T4")
                .acceleratorCount("1")
                .build())
            .dataPersistentDiskSpec(RuntimeTemplateDataPersistentDiskSpecArgs.builder()
                .diskType("pd-standard")
                .diskSizeGb(200)
                .build())
            .networkSpec(RuntimeTemplateNetworkSpecArgs.builder()
                .enableInternetAccess(true)
                .network(myNetwork.id())
                .subnetwork(mySubnetwork.id())
                .build())
            .labels(Map.of("k", "val"))
            .idleShutdownConfig(RuntimeTemplateIdleShutdownConfigArgs.builder()
                .idleTimeout("3600s")
                .build())
            .eucConfig(RuntimeTemplateEucConfigArgs.builder()
                .eucDisabled(true)
                .build())
            .shieldedVmConfig(RuntimeTemplateShieldedVmConfigArgs.builder()
                .enableSecureBoot(true)
                .build())
            .networkTags(            
                "abc",
                "def")
            .encryptionSpec(RuntimeTemplateEncryptionSpecArgs.builder()
                .kmsKeyName("my-crypto-key")
                .build())
            .softwareConfig(RuntimeTemplateSoftwareConfigArgs.builder()
                .envs(RuntimeTemplateSoftwareConfigEnvArgs.builder()
                    .name("TEST")
                    .value(1)
                    .build())
                .postStartupScriptConfig(RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs.builder()
                    .postStartupScript("echo 'hello world'")
                    .postStartupScriptUrl("gs://colab-enterprise-pss-secure/secure_pss.sh")
                    .postStartupScriptBehavior("RUN_ONCE")
                    .build())
                .build())
            .build());
    }
}
resources:
  myNetwork:
    type: gcp:compute:Network
    name: my_network
    properties:
      name: colab-test-default
      autoCreateSubnetworks: false
  mySubnetwork:
    type: gcp:compute:Subnetwork
    name: my_subnetwork
    properties:
      name: colab-test-default
      network: ${myNetwork.id}
      region: us-central1
      ipCidrRange: 10.0.1.0/24
  runtime-template:
    type: gcp:colab:RuntimeTemplate
    properties:
      name: colab-runtime-template
      displayName: Runtime template full
      location: us-central1
      description: Full runtime template
      machineSpec:
        machineType: n1-standard-2
        acceleratorType: NVIDIA_TESLA_T4
        acceleratorCount: '1'
      dataPersistentDiskSpec:
        diskType: pd-standard
        diskSizeGb: 200
      networkSpec:
        enableInternetAccess: true
        network: ${myNetwork.id}
        subnetwork: ${mySubnetwork.id}
      labels:
        k: val
      idleShutdownConfig:
        idleTimeout: 3600s
      eucConfig:
        eucDisabled: true
      shieldedVmConfig:
        enableSecureBoot: true
      networkTags:
        - abc
        - def
      encryptionSpec:
        kmsKeyName: my-crypto-key
      softwareConfig:
        envs:
          - name: TEST
            value: 1
        postStartupScriptConfig:
          postStartupScript: echo 'hello world'
          postStartupScriptUrl: gs://colab-enterprise-pss-secure/secure_pss.sh
          postStartupScriptBehavior: RUN_ONCE
Create RuntimeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuntimeTemplate(name: string, args: RuntimeTemplateArgs, opts?: CustomResourceOptions);@overload
def RuntimeTemplate(resource_name: str,
                    args: RuntimeTemplateArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def RuntimeTemplate(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    display_name: Optional[str] = None,
                    location: Optional[str] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    encryption_spec: Optional[RuntimeTemplateEncryptionSpecArgs] = None,
                    euc_config: Optional[RuntimeTemplateEucConfigArgs] = None,
                    idle_shutdown_config: Optional[RuntimeTemplateIdleShutdownConfigArgs] = None,
                    data_persistent_disk_spec: Optional[RuntimeTemplateDataPersistentDiskSpecArgs] = None,
                    description: Optional[str] = None,
                    machine_spec: Optional[RuntimeTemplateMachineSpecArgs] = None,
                    name: Optional[str] = None,
                    network_spec: Optional[RuntimeTemplateNetworkSpecArgs] = None,
                    network_tags: Optional[Sequence[str]] = None,
                    project: Optional[str] = None,
                    shielded_vm_config: Optional[RuntimeTemplateShieldedVmConfigArgs] = None,
                    software_config: Optional[RuntimeTemplateSoftwareConfigArgs] = None)func NewRuntimeTemplate(ctx *Context, name string, args RuntimeTemplateArgs, opts ...ResourceOption) (*RuntimeTemplate, error)public RuntimeTemplate(string name, RuntimeTemplateArgs args, CustomResourceOptions? opts = null)
public RuntimeTemplate(String name, RuntimeTemplateArgs args)
public RuntimeTemplate(String name, RuntimeTemplateArgs args, CustomResourceOptions options)
type: gcp:colab:RuntimeTemplate
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 RuntimeTemplateArgs
- 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 RuntimeTemplateArgs
- 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 RuntimeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuntimeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuntimeTemplateArgs
- 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 runtimeTemplateResource = new Gcp.Colab.RuntimeTemplate("runtimeTemplateResource", new()
{
    DisplayName = "string",
    Location = "string",
    Labels = 
    {
        { "string", "string" },
    },
    EncryptionSpec = new Gcp.Colab.Inputs.RuntimeTemplateEncryptionSpecArgs
    {
        KmsKeyName = "string",
    },
    EucConfig = new Gcp.Colab.Inputs.RuntimeTemplateEucConfigArgs
    {
        EucDisabled = false,
    },
    IdleShutdownConfig = new Gcp.Colab.Inputs.RuntimeTemplateIdleShutdownConfigArgs
    {
        IdleTimeout = "string",
    },
    DataPersistentDiskSpec = new Gcp.Colab.Inputs.RuntimeTemplateDataPersistentDiskSpecArgs
    {
        DiskSizeGb = "string",
        DiskType = "string",
    },
    Description = "string",
    MachineSpec = new Gcp.Colab.Inputs.RuntimeTemplateMachineSpecArgs
    {
        AcceleratorCount = 0,
        AcceleratorType = "string",
        MachineType = "string",
    },
    Name = "string",
    NetworkSpec = new Gcp.Colab.Inputs.RuntimeTemplateNetworkSpecArgs
    {
        EnableInternetAccess = false,
        Network = "string",
        Subnetwork = "string",
    },
    NetworkTags = new[]
    {
        "string",
    },
    Project = "string",
    ShieldedVmConfig = new Gcp.Colab.Inputs.RuntimeTemplateShieldedVmConfigArgs
    {
        EnableSecureBoot = false,
    },
    SoftwareConfig = new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigArgs
    {
        Envs = new[]
        {
            new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigEnvArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        PostStartupScriptConfig = new Gcp.Colab.Inputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs
        {
            PostStartupScript = "string",
            PostStartupScriptBehavior = "string",
            PostStartupScriptUrl = "string",
        },
    },
});
example, err := colab.NewRuntimeTemplate(ctx, "runtimeTemplateResource", &colab.RuntimeTemplateArgs{
	DisplayName: pulumi.String("string"),
	Location:    pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	EncryptionSpec: &colab.RuntimeTemplateEncryptionSpecArgs{
		KmsKeyName: pulumi.String("string"),
	},
	EucConfig: &colab.RuntimeTemplateEucConfigArgs{
		EucDisabled: pulumi.Bool(false),
	},
	IdleShutdownConfig: &colab.RuntimeTemplateIdleShutdownConfigArgs{
		IdleTimeout: pulumi.String("string"),
	},
	DataPersistentDiskSpec: &colab.RuntimeTemplateDataPersistentDiskSpecArgs{
		DiskSizeGb: pulumi.String("string"),
		DiskType:   pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{
		AcceleratorCount: pulumi.Int(0),
		AcceleratorType:  pulumi.String("string"),
		MachineType:      pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{
		EnableInternetAccess: pulumi.Bool(false),
		Network:              pulumi.String("string"),
		Subnetwork:           pulumi.String("string"),
	},
	NetworkTags: pulumi.StringArray{
		pulumi.String("string"),
	},
	Project: pulumi.String("string"),
	ShieldedVmConfig: &colab.RuntimeTemplateShieldedVmConfigArgs{
		EnableSecureBoot: pulumi.Bool(false),
	},
	SoftwareConfig: &colab.RuntimeTemplateSoftwareConfigArgs{
		Envs: colab.RuntimeTemplateSoftwareConfigEnvArray{
			&colab.RuntimeTemplateSoftwareConfigEnvArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
		PostStartupScriptConfig: &colab.RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs{
			PostStartupScript:         pulumi.String("string"),
			PostStartupScriptBehavior: pulumi.String("string"),
			PostStartupScriptUrl:      pulumi.String("string"),
		},
	},
})
var runtimeTemplateResource = new RuntimeTemplate("runtimeTemplateResource", RuntimeTemplateArgs.builder()
    .displayName("string")
    .location("string")
    .labels(Map.of("string", "string"))
    .encryptionSpec(RuntimeTemplateEncryptionSpecArgs.builder()
        .kmsKeyName("string")
        .build())
    .eucConfig(RuntimeTemplateEucConfigArgs.builder()
        .eucDisabled(false)
        .build())
    .idleShutdownConfig(RuntimeTemplateIdleShutdownConfigArgs.builder()
        .idleTimeout("string")
        .build())
    .dataPersistentDiskSpec(RuntimeTemplateDataPersistentDiskSpecArgs.builder()
        .diskSizeGb("string")
        .diskType("string")
        .build())
    .description("string")
    .machineSpec(RuntimeTemplateMachineSpecArgs.builder()
        .acceleratorCount(0)
        .acceleratorType("string")
        .machineType("string")
        .build())
    .name("string")
    .networkSpec(RuntimeTemplateNetworkSpecArgs.builder()
        .enableInternetAccess(false)
        .network("string")
        .subnetwork("string")
        .build())
    .networkTags("string")
    .project("string")
    .shieldedVmConfig(RuntimeTemplateShieldedVmConfigArgs.builder()
        .enableSecureBoot(false)
        .build())
    .softwareConfig(RuntimeTemplateSoftwareConfigArgs.builder()
        .envs(RuntimeTemplateSoftwareConfigEnvArgs.builder()
            .name("string")
            .value("string")
            .build())
        .postStartupScriptConfig(RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs.builder()
            .postStartupScript("string")
            .postStartupScriptBehavior("string")
            .postStartupScriptUrl("string")
            .build())
        .build())
    .build());
runtime_template_resource = gcp.colab.RuntimeTemplate("runtimeTemplateResource",
    display_name="string",
    location="string",
    labels={
        "string": "string",
    },
    encryption_spec={
        "kms_key_name": "string",
    },
    euc_config={
        "euc_disabled": False,
    },
    idle_shutdown_config={
        "idle_timeout": "string",
    },
    data_persistent_disk_spec={
        "disk_size_gb": "string",
        "disk_type": "string",
    },
    description="string",
    machine_spec={
        "accelerator_count": 0,
        "accelerator_type": "string",
        "machine_type": "string",
    },
    name="string",
    network_spec={
        "enable_internet_access": False,
        "network": "string",
        "subnetwork": "string",
    },
    network_tags=["string"],
    project="string",
    shielded_vm_config={
        "enable_secure_boot": False,
    },
    software_config={
        "envs": [{
            "name": "string",
            "value": "string",
        }],
        "post_startup_script_config": {
            "post_startup_script": "string",
            "post_startup_script_behavior": "string",
            "post_startup_script_url": "string",
        },
    })
const runtimeTemplateResource = new gcp.colab.RuntimeTemplate("runtimeTemplateResource", {
    displayName: "string",
    location: "string",
    labels: {
        string: "string",
    },
    encryptionSpec: {
        kmsKeyName: "string",
    },
    eucConfig: {
        eucDisabled: false,
    },
    idleShutdownConfig: {
        idleTimeout: "string",
    },
    dataPersistentDiskSpec: {
        diskSizeGb: "string",
        diskType: "string",
    },
    description: "string",
    machineSpec: {
        acceleratorCount: 0,
        acceleratorType: "string",
        machineType: "string",
    },
    name: "string",
    networkSpec: {
        enableInternetAccess: false,
        network: "string",
        subnetwork: "string",
    },
    networkTags: ["string"],
    project: "string",
    shieldedVmConfig: {
        enableSecureBoot: false,
    },
    softwareConfig: {
        envs: [{
            name: "string",
            value: "string",
        }],
        postStartupScriptConfig: {
            postStartupScript: "string",
            postStartupScriptBehavior: "string",
            postStartupScriptUrl: "string",
        },
    },
});
type: gcp:colab:RuntimeTemplate
properties:
    dataPersistentDiskSpec:
        diskSizeGb: string
        diskType: string
    description: string
    displayName: string
    encryptionSpec:
        kmsKeyName: string
    eucConfig:
        eucDisabled: false
    idleShutdownConfig:
        idleTimeout: string
    labels:
        string: string
    location: string
    machineSpec:
        acceleratorCount: 0
        acceleratorType: string
        machineType: string
    name: string
    networkSpec:
        enableInternetAccess: false
        network: string
        subnetwork: string
    networkTags:
        - string
    project: string
    shieldedVmConfig:
        enableSecureBoot: false
    softwareConfig:
        envs:
            - name: string
              value: string
        postStartupScriptConfig:
            postStartupScript: string
            postStartupScriptBehavior: string
            postStartupScriptUrl: string
RuntimeTemplate 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 RuntimeTemplate resource accepts the following input properties:
- DisplayName string
- Required. The display name of the Runtime Template.
- Location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- DataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- Description string
- The description of the Runtime Template.
- EncryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- EucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- IdleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- Labels Dictionary<string, string>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- MachineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- Name string
- The resource name of the Runtime Template
- NetworkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- List<string>
- Applies the given Compute Engine tags to the runtime.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ShieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- SoftwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- DisplayName string
- Required. The display name of the Runtime Template.
- Location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- DataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec Args 
- The configuration for the data disk of the runtime. Structure is documented below.
- Description string
- The description of the Runtime Template.
- EncryptionSpec RuntimeTemplate Encryption Spec Args 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- EucConfig RuntimeTemplate Euc Config Args 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- IdleShutdown RuntimeConfig Template Idle Shutdown Config Args 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- Labels map[string]string
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- MachineSpec RuntimeTemplate Machine Spec Args 
- 'The machine configuration of the runtime.' Structure is documented below.
- Name string
- The resource name of the Runtime Template
- NetworkSpec RuntimeTemplate Network Spec Args 
- The network configuration for the runtime. Structure is documented below.
- []string
- Applies the given Compute Engine tags to the runtime.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ShieldedVm RuntimeConfig Template Shielded Vm Config Args 
- Runtime Shielded VM spec. Structure is documented below.
- SoftwareConfig RuntimeTemplate Software Config Args 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- displayName String
- Required. The display name of the Runtime Template.
- location String
- The location for the resource: https://cloud.google.com/colab/docs/locations
- dataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description String
- The description of the Runtime Template.
- encryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Map<String,String>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- machineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- name String
- The resource name of the Runtime Template
- networkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- List<String>
- Applies the given Compute Engine tags to the runtime.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- shieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- displayName string
- Required. The display name of the Runtime Template.
- location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- dataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description string
- The description of the Runtime Template.
- encryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels {[key: string]: string}
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- machineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- name string
- The resource name of the Runtime Template
- networkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- string[]
- Applies the given Compute Engine tags to the runtime.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- shieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- display_name str
- Required. The display name of the Runtime Template.
- location str
- The location for the resource: https://cloud.google.com/colab/docs/locations
- data_persistent_ Runtimedisk_ spec Template Data Persistent Disk Spec Args 
- The configuration for the data disk of the runtime. Structure is documented below.
- description str
- The description of the Runtime Template.
- encryption_spec RuntimeTemplate Encryption Spec Args 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- euc_config RuntimeTemplate Euc Config Args 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idle_shutdown_ Runtimeconfig Template Idle Shutdown Config Args 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Mapping[str, str]
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- machine_spec RuntimeTemplate Machine Spec Args 
- 'The machine configuration of the runtime.' Structure is documented below.
- name str
- The resource name of the Runtime Template
- network_spec RuntimeTemplate Network Spec Args 
- The network configuration for the runtime. Structure is documented below.
- Sequence[str]
- Applies the given Compute Engine tags to the runtime.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- shielded_vm_ Runtimeconfig Template Shielded Vm Config Args 
- Runtime Shielded VM spec. Structure is documented below.
- software_config RuntimeTemplate Software Config Args 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- displayName String
- Required. The display name of the Runtime Template.
- location String
- The location for the resource: https://cloud.google.com/colab/docs/locations
- dataPersistent Property MapDisk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description String
- The description of the Runtime Template.
- encryptionSpec Property Map
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig Property Map
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown Property MapConfig 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Map<String>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- machineSpec Property Map
- 'The machine configuration of the runtime.' Structure is documented below.
- name String
- The resource name of the Runtime Template
- networkSpec Property Map
- The network configuration for the runtime. Structure is documented below.
- List<String>
- Applies the given Compute Engine tags to the runtime.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- shieldedVm Property MapConfig 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig Property Map
- The notebook software configuration of the notebook runtime. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the RuntimeTemplate resource produces the following output properties:
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
Look up Existing RuntimeTemplate Resource
Get an existing RuntimeTemplate 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?: RuntimeTemplateState, opts?: CustomResourceOptions): RuntimeTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        data_persistent_disk_spec: Optional[RuntimeTemplateDataPersistentDiskSpecArgs] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        encryption_spec: Optional[RuntimeTemplateEncryptionSpecArgs] = None,
        euc_config: Optional[RuntimeTemplateEucConfigArgs] = None,
        idle_shutdown_config: Optional[RuntimeTemplateIdleShutdownConfigArgs] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        machine_spec: Optional[RuntimeTemplateMachineSpecArgs] = None,
        name: Optional[str] = None,
        network_spec: Optional[RuntimeTemplateNetworkSpecArgs] = None,
        network_tags: Optional[Sequence[str]] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        shielded_vm_config: Optional[RuntimeTemplateShieldedVmConfigArgs] = None,
        software_config: Optional[RuntimeTemplateSoftwareConfigArgs] = None) -> RuntimeTemplatefunc GetRuntimeTemplate(ctx *Context, name string, id IDInput, state *RuntimeTemplateState, opts ...ResourceOption) (*RuntimeTemplate, error)public static RuntimeTemplate Get(string name, Input<string> id, RuntimeTemplateState? state, CustomResourceOptions? opts = null)public static RuntimeTemplate get(String name, Output<String> id, RuntimeTemplateState state, CustomResourceOptions options)resources:  _:    type: gcp:colab:RuntimeTemplate    get:      id: ${id}- 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.
- DataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- Description string
- The description of the Runtime Template.
- DisplayName string
- Required. The display name of the Runtime Template.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- EncryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- EucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- IdleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- Labels Dictionary<string, string>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- MachineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- Name string
- The resource name of the Runtime Template
- NetworkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- List<string>
- Applies the given Compute Engine tags to the runtime.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- ShieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- SoftwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- DataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec Args 
- The configuration for the data disk of the runtime. Structure is documented below.
- Description string
- The description of the Runtime Template.
- DisplayName string
- Required. The display name of the Runtime Template.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- EncryptionSpec RuntimeTemplate Encryption Spec Args 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- EucConfig RuntimeTemplate Euc Config Args 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- IdleShutdown RuntimeConfig Template Idle Shutdown Config Args 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- Labels map[string]string
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- MachineSpec RuntimeTemplate Machine Spec Args 
- 'The machine configuration of the runtime.' Structure is documented below.
- Name string
- The resource name of the Runtime Template
- NetworkSpec RuntimeTemplate Network Spec Args 
- The network configuration for the runtime. Structure is documented below.
- []string
- Applies the given Compute Engine tags to the runtime.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- ShieldedVm RuntimeConfig Template Shielded Vm Config Args 
- Runtime Shielded VM spec. Structure is documented below.
- SoftwareConfig RuntimeTemplate Software Config Args 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- dataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description String
- The description of the Runtime Template.
- displayName String
- Required. The display name of the Runtime Template.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- encryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Map<String,String>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- The location for the resource: https://cloud.google.com/colab/docs/locations
- machineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- name String
- The resource name of the Runtime Template
- networkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- List<String>
- Applies the given Compute Engine tags to the runtime.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- shieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- dataPersistent RuntimeDisk Spec Template Data Persistent Disk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description string
- The description of the Runtime Template.
- displayName string
- Required. The display name of the Runtime Template.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- encryptionSpec RuntimeTemplate Encryption Spec 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig RuntimeTemplate Euc Config 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown RuntimeConfig Template Idle Shutdown Config 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels {[key: string]: string}
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location string
- The location for the resource: https://cloud.google.com/colab/docs/locations
- machineSpec RuntimeTemplate Machine Spec 
- 'The machine configuration of the runtime.' Structure is documented below.
- name string
- The resource name of the Runtime Template
- networkSpec RuntimeTemplate Network Spec 
- The network configuration for the runtime. Structure is documented below.
- string[]
- Applies the given Compute Engine tags to the runtime.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- shieldedVm RuntimeConfig Template Shielded Vm Config 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig RuntimeTemplate Software Config 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- data_persistent_ Runtimedisk_ spec Template Data Persistent Disk Spec Args 
- The configuration for the data disk of the runtime. Structure is documented below.
- description str
- The description of the Runtime Template.
- display_name str
- Required. The display name of the Runtime Template.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- encryption_spec RuntimeTemplate Encryption Spec Args 
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- euc_config RuntimeTemplate Euc Config Args 
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idle_shutdown_ Runtimeconfig Template Idle Shutdown Config Args 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Mapping[str, str]
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location str
- The location for the resource: https://cloud.google.com/colab/docs/locations
- machine_spec RuntimeTemplate Machine Spec Args 
- 'The machine configuration of the runtime.' Structure is documented below.
- name str
- The resource name of the Runtime Template
- network_spec RuntimeTemplate Network Spec Args 
- The network configuration for the runtime. Structure is documented below.
- Sequence[str]
- Applies the given Compute Engine tags to the runtime.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- shielded_vm_ Runtimeconfig Template Shielded Vm Config Args 
- Runtime Shielded VM spec. Structure is documented below.
- software_config RuntimeTemplate Software Config Args 
- The notebook software configuration of the notebook runtime. Structure is documented below.
- dataPersistent Property MapDisk Spec 
- The configuration for the data disk of the runtime. Structure is documented below.
- description String
- The description of the Runtime Template.
- displayName String
- Required. The display name of the Runtime Template.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- encryptionSpec Property Map
- Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
- eucConfig Property Map
- EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
- idleShutdown Property MapConfig 
- Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
- labels Map<String>
- Labels to identify and group the runtime template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- The location for the resource: https://cloud.google.com/colab/docs/locations
- machineSpec Property Map
- 'The machine configuration of the runtime.' Structure is documented below.
- name String
- The resource name of the Runtime Template
- networkSpec Property Map
- The network configuration for the runtime. Structure is documented below.
- List<String>
- Applies the given Compute Engine tags to the runtime.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- shieldedVm Property MapConfig 
- Runtime Shielded VM spec. Structure is documented below.
- softwareConfig Property Map
- The notebook software configuration of the notebook runtime. Structure is documented below.
Supporting Types
RuntimeTemplateDataPersistentDiskSpec, RuntimeTemplateDataPersistentDiskSpecArgs            
- DiskSize stringGb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- DiskType string
- The type of the persistent disk.
- DiskSize stringGb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- DiskType string
- The type of the persistent disk.
- diskSize StringGb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- diskType String
- The type of the persistent disk.
- diskSize stringGb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- diskType string
- The type of the persistent disk.
- disk_size_ strgb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- disk_type str
- The type of the persistent disk.
- diskSize StringGb 
- The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
- diskType String
- The type of the persistent disk.
RuntimeTemplateEncryptionSpec, RuntimeTemplateEncryptionSpecArgs        
- KmsKey stringName 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
- KmsKey stringName 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
- kmsKey StringName 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
- kmsKey stringName 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
- kms_key_ strname 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
- kmsKey StringName 
- The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
RuntimeTemplateEucConfig, RuntimeTemplateEucConfigArgs        
- EucDisabled bool
- Disable end user credential access for the runtime.
- EucDisabled bool
- Disable end user credential access for the runtime.
- eucDisabled Boolean
- Disable end user credential access for the runtime.
- eucDisabled boolean
- Disable end user credential access for the runtime.
- euc_disabled bool
- Disable end user credential access for the runtime.
- eucDisabled Boolean
- Disable end user credential access for the runtime.
RuntimeTemplateIdleShutdownConfig, RuntimeTemplateIdleShutdownConfigArgs          
- IdleTimeout string
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
- IdleTimeout string
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
- idleTimeout String
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
- idleTimeout string
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
- idle_timeout str
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
- idleTimeout String
- The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
RuntimeTemplateMachineSpec, RuntimeTemplateMachineSpecArgs        
- AcceleratorCount int
- The number of accelerators used by the runtime.
- AcceleratorType string
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- MachineType string
- The Compute Engine machine type selected for the runtime.
- AcceleratorCount int
- The number of accelerators used by the runtime.
- AcceleratorType string
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- MachineType string
- The Compute Engine machine type selected for the runtime.
- acceleratorCount Integer
- The number of accelerators used by the runtime.
- acceleratorType String
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- machineType String
- The Compute Engine machine type selected for the runtime.
- acceleratorCount number
- The number of accelerators used by the runtime.
- acceleratorType string
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- machineType string
- The Compute Engine machine type selected for the runtime.
- accelerator_count int
- The number of accelerators used by the runtime.
- accelerator_type str
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- machine_type str
- The Compute Engine machine type selected for the runtime.
- acceleratorCount Number
- The number of accelerators used by the runtime.
- acceleratorType String
- The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
- machineType String
- The Compute Engine machine type selected for the runtime.
RuntimeTemplateNetworkSpec, RuntimeTemplateNetworkSpecArgs        
- EnableInternet boolAccess 
- Enable public internet access for the runtime.
- Network string
- The name of the VPC that this runtime is in.
- Subnetwork string
- The name of the subnetwork that this runtime is in.
- EnableInternet boolAccess 
- Enable public internet access for the runtime.
- Network string
- The name of the VPC that this runtime is in.
- Subnetwork string
- The name of the subnetwork that this runtime is in.
- enableInternet BooleanAccess 
- Enable public internet access for the runtime.
- network String
- The name of the VPC that this runtime is in.
- subnetwork String
- The name of the subnetwork that this runtime is in.
- enableInternet booleanAccess 
- Enable public internet access for the runtime.
- network string
- The name of the VPC that this runtime is in.
- subnetwork string
- The name of the subnetwork that this runtime is in.
- enable_internet_ boolaccess 
- Enable public internet access for the runtime.
- network str
- The name of the VPC that this runtime is in.
- subnetwork str
- The name of the subnetwork that this runtime is in.
- enableInternet BooleanAccess 
- Enable public internet access for the runtime.
- network String
- The name of the VPC that this runtime is in.
- subnetwork String
- The name of the subnetwork that this runtime is in.
RuntimeTemplateShieldedVmConfig, RuntimeTemplateShieldedVmConfigArgs          
- EnableSecure boolBoot 
- Enables secure boot for the runtime.
- EnableSecure boolBoot 
- Enables secure boot for the runtime.
- enableSecure BooleanBoot 
- Enables secure boot for the runtime.
- enableSecure booleanBoot 
- Enables secure boot for the runtime.
- enable_secure_ boolboot 
- Enables secure boot for the runtime.
- enableSecure BooleanBoot 
- Enables secure boot for the runtime.
RuntimeTemplateSoftwareConfig, RuntimeTemplateSoftwareConfigArgs        
- Envs
List<RuntimeTemplate Software Config Env> 
- Environment variables to be passed to the container. Structure is documented below.
- PostStartup RuntimeScript Config Template Software Config Post Startup Script Config 
- Post startup script config. Structure is documented below.
- Envs
[]RuntimeTemplate Software Config Env 
- Environment variables to be passed to the container. Structure is documented below.
- PostStartup RuntimeScript Config Template Software Config Post Startup Script Config 
- Post startup script config. Structure is documented below.
- envs
List<RuntimeTemplate Software Config Env> 
- Environment variables to be passed to the container. Structure is documented below.
- postStartup RuntimeScript Config Template Software Config Post Startup Script Config 
- Post startup script config. Structure is documented below.
- envs
RuntimeTemplate Software Config Env[] 
- Environment variables to be passed to the container. Structure is documented below.
- postStartup RuntimeScript Config Template Software Config Post Startup Script Config 
- Post startup script config. Structure is documented below.
- envs
Sequence[RuntimeTemplate Software Config Env] 
- Environment variables to be passed to the container. Structure is documented below.
- post_startup_ Runtimescript_ config Template Software Config Post Startup Script Config 
- Post startup script config. Structure is documented below.
- envs List<Property Map>
- Environment variables to be passed to the container. Structure is documented below.
- postStartup Property MapScript Config 
- Post startup script config. Structure is documented below.
RuntimeTemplateSoftwareConfigEnv, RuntimeTemplateSoftwareConfigEnvArgs          
- Name string
- Name of the environment variable. Must be a valid C identifier.
- Value string
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
- Name string
- Name of the environment variable. Must be a valid C identifier.
- Value string
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
- name String
- Name of the environment variable. Must be a valid C identifier.
- value String
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
- name string
- Name of the environment variable. Must be a valid C identifier.
- value string
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
- name str
- Name of the environment variable. Must be a valid C identifier.
- value str
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
- name String
- Name of the environment variable. Must be a valid C identifier.
- value String
- Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
RuntimeTemplateSoftwareConfigPostStartupScriptConfig, RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs                
- PostStartup stringScript 
- Post startup script to run after runtime is started.
- PostStartup stringScript Behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- PostStartup stringScript Url 
- Post startup script url to download. Example: https://bucket/script.sh.
- PostStartup stringScript 
- Post startup script to run after runtime is started.
- PostStartup stringScript Behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- PostStartup stringScript Url 
- Post startup script url to download. Example: https://bucket/script.sh.
- postStartup StringScript 
- Post startup script to run after runtime is started.
- postStartup StringScript Behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- postStartup StringScript Url 
- Post startup script url to download. Example: https://bucket/script.sh.
- postStartup stringScript 
- Post startup script to run after runtime is started.
- postStartup stringScript Behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- postStartup stringScript Url 
- Post startup script url to download. Example: https://bucket/script.sh.
- post_startup_ strscript 
- Post startup script to run after runtime is started.
- post_startup_ strscript_ behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- post_startup_ strscript_ url 
- Post startup script url to download. Example: https://bucket/script.sh.
- postStartup StringScript 
- Post startup script to run after runtime is started.
- postStartup StringScript Behavior 
- Post startup script behavior that defines download and execution behavior.
Possible values are: RUN_ONCE,RUN_EVERY_START,DOWNLOAD_AND_RUN_EVERY_START.
- postStartup StringScript Url 
- Post startup script url to download. Example: https://bucket/script.sh.
Import
RuntimeTemplate can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{name}}
- {{project}}/{{location}}/{{name}}
- {{location}}/{{name}}
When using the pulumi import command, RuntimeTemplate can be imported using one of the formats above. For example:
$ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{name}}
$ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default {{location}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.