rancher2.NodeTemplate
Explore with Pulumi AI
Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information.
amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates.
Note: If you are upgrading to Rancher v2.3.3, please take a look to final section
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 Node Template up to Rancher 2.1.x
const foo = new rancher2.NodeTemplate("foo", {
name: "foo",
description: "foo test",
amazonec2Config: {
accessKey: "AWS_ACCESS_KEY",
secretKey: "<AWS_SECRET_KEY>",
ami: "<AMI_ID>",
region: "<REGION>",
securityGroups: ["<AWS_SECURITY_GROUP>"],
subnetId: "<SUBNET_ID>",
vpcId: "<VPC_ID>",
zone: "<ZONE>",
},
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 Node Template up to Rancher 2.1.x
foo = rancher2.NodeTemplate("foo",
name="foo",
description="foo test",
amazonec2_config={
"access_key": "AWS_ACCESS_KEY",
"secret_key": "<AWS_SECRET_KEY>",
"ami": "<AMI_ID>",
"region": "<REGION>",
"security_groups": ["<AWS_SECURITY_GROUP>"],
"subnet_id": "<SUBNET_ID>",
"vpc_id": "<VPC_ID>",
"zone": "<ZONE>",
})
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v7/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 Node Template up to Rancher 2.1.x
_, err := rancher2.NewNodeTemplate(ctx, "foo", &rancher2.NodeTemplateArgs{
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
Amazonec2Config: &rancher2.NodeTemplateAmazonec2ConfigArgs{
AccessKey: pulumi.String("AWS_ACCESS_KEY"),
SecretKey: pulumi.String("<AWS_SECRET_KEY>"),
Ami: pulumi.String("<AMI_ID>"),
Region: pulumi.String("<REGION>"),
SecurityGroups: pulumi.StringArray{
pulumi.String("<AWS_SECURITY_GROUP>"),
},
SubnetId: pulumi.String("<SUBNET_ID>"),
VpcId: pulumi.String("<VPC_ID>"),
Zone: pulumi.String("<ZONE>"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 Node Template up to Rancher 2.1.x
var foo = new Rancher2.NodeTemplate("foo", new()
{
Name = "foo",
Description = "foo test",
Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs
{
AccessKey = "AWS_ACCESS_KEY",
SecretKey = "<AWS_SECRET_KEY>",
Ami = "<AMI_ID>",
Region = "<REGION>",
SecurityGroups = new[]
{
"<AWS_SECURITY_GROUP>",
},
SubnetId = "<SUBNET_ID>",
VpcId = "<VPC_ID>",
Zone = "<ZONE>",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.NodeTemplate;
import com.pulumi.rancher2.NodeTemplateArgs;
import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;
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) {
// Create a new rancher2 Node Template up to Rancher 2.1.x
var foo = new NodeTemplate("foo", NodeTemplateArgs.builder()
.name("foo")
.description("foo test")
.amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()
.accessKey("AWS_ACCESS_KEY")
.secretKey("<AWS_SECRET_KEY>")
.ami("<AMI_ID>")
.region("<REGION>")
.securityGroups("<AWS_SECURITY_GROUP>")
.subnetId("<SUBNET_ID>")
.vpcId("<VPC_ID>")
.zone("<ZONE>")
.build())
.build());
}
}
resources:
# Create a new rancher2 Node Template up to Rancher 2.1.x
foo:
type: rancher2:NodeTemplate
properties:
name: foo
description: foo test
amazonec2Config:
accessKey: AWS_ACCESS_KEY
secretKey: <AWS_SECRET_KEY>
ami: <AMI_ID>
region: <REGION>
securityGroups:
- <AWS_SECURITY_GROUP>
subnetId: <SUBNET_ID>
vpcId: <VPC_ID>
zone: <ZONE>
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 Node Template from Rancher 2.2.x
const foo = new rancher2.CloudCredential("foo", {
name: "foo",
description: "foo test",
amazonec2CredentialConfig: {
accessKey: "<AWS_ACCESS_KEY>",
secretKey: "<AWS_SECRET_KEY>",
},
});
const fooNodeTemplate = new rancher2.NodeTemplate("foo", {
name: "foo",
description: "foo test",
cloudCredentialId: foo.id,
amazonec2Config: {
ami: "<AMI_ID>",
region: "<REGION>",
securityGroups: ["<AWS_SECURITY_GROUP>"],
subnetId: "<SUBNET_ID>",
vpcId: "<VPC_ID>",
zone: "<ZONE>",
},
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 Node Template from Rancher 2.2.x
foo = rancher2.CloudCredential("foo",
name="foo",
description="foo test",
amazonec2_credential_config={
"access_key": "<AWS_ACCESS_KEY>",
"secret_key": "<AWS_SECRET_KEY>",
})
foo_node_template = rancher2.NodeTemplate("foo",
name="foo",
description="foo test",
cloud_credential_id=foo.id,
amazonec2_config={
"ami": "<AMI_ID>",
"region": "<REGION>",
"security_groups": ["<AWS_SECURITY_GROUP>"],
"subnet_id": "<SUBNET_ID>",
"vpc_id": "<VPC_ID>",
"zone": "<ZONE>",
})
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v7/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 Node Template from Rancher 2.2.x
foo, err := rancher2.NewCloudCredential(ctx, "foo", &rancher2.CloudCredentialArgs{
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
AccessKey: pulumi.String("<AWS_ACCESS_KEY>"),
SecretKey: pulumi.String("<AWS_SECRET_KEY>"),
},
})
if err != nil {
return err
}
_, err = rancher2.NewNodeTemplate(ctx, "foo", &rancher2.NodeTemplateArgs{
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
CloudCredentialId: foo.ID(),
Amazonec2Config: &rancher2.NodeTemplateAmazonec2ConfigArgs{
Ami: pulumi.String("<AMI_ID>"),
Region: pulumi.String("<REGION>"),
SecurityGroups: pulumi.StringArray{
pulumi.String("<AWS_SECURITY_GROUP>"),
},
SubnetId: pulumi.String("<SUBNET_ID>"),
VpcId: pulumi.String("<VPC_ID>"),
Zone: pulumi.String("<ZONE>"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 Node Template from Rancher 2.2.x
var foo = new Rancher2.CloudCredential("foo", new()
{
Name = "foo",
Description = "foo test",
Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
{
AccessKey = "<AWS_ACCESS_KEY>",
SecretKey = "<AWS_SECRET_KEY>",
},
});
var fooNodeTemplate = new Rancher2.NodeTemplate("foo", new()
{
Name = "foo",
Description = "foo test",
CloudCredentialId = foo.Id,
Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs
{
Ami = "<AMI_ID>",
Region = "<REGION>",
SecurityGroups = new[]
{
"<AWS_SECURITY_GROUP>",
},
SubnetId = "<SUBNET_ID>",
VpcId = "<VPC_ID>",
Zone = "<ZONE>",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;
import com.pulumi.rancher2.NodeTemplate;
import com.pulumi.rancher2.NodeTemplateArgs;
import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;
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) {
// Create a new rancher2 Node Template from Rancher 2.2.x
var foo = new CloudCredential("foo", CloudCredentialArgs.builder()
.name("foo")
.description("foo test")
.amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
.accessKey("<AWS_ACCESS_KEY>")
.secretKey("<AWS_SECRET_KEY>")
.build())
.build());
var fooNodeTemplate = new NodeTemplate("fooNodeTemplate", NodeTemplateArgs.builder()
.name("foo")
.description("foo test")
.cloudCredentialId(foo.id())
.amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()
.ami("<AMI_ID>")
.region("<REGION>")
.securityGroups("<AWS_SECURITY_GROUP>")
.subnetId("<SUBNET_ID>")
.vpcId("<VPC_ID>")
.zone("<ZONE>")
.build())
.build());
}
}
resources:
# Create a new rancher2 Node Template from Rancher 2.2.x
foo:
type: rancher2:CloudCredential
properties:
name: foo
description: foo test
amazonec2CredentialConfig:
accessKey: <AWS_ACCESS_KEY>
secretKey: <AWS_SECRET_KEY>
fooNodeTemplate:
type: rancher2:NodeTemplate
name: foo
properties:
name: foo
description: foo test
cloudCredentialId: ${foo.id}
amazonec2Config:
ami: <AMI_ID>
region: <REGION>
securityGroups:
- <AWS_SECURITY_GROUP>
subnetId: <SUBNET_ID>
vpcId: <VPC_ID>
zone: <ZONE>
Using the Harvester Node Driver
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Get imported harvester cluster info
const foo-harvester = rancher2.getClusterV2({
name: "foo-harvester",
});
// Create a new Cloud Credential for an imported Harvester cluster
const foo_harvesterCloudCredential = new rancher2.CloudCredential("foo-harvester", {
name: "foo-harvester",
harvesterCredentialConfig: {
clusterId: foo_harvester.then(foo_harvester => foo_harvester.clusterV1Id),
clusterType: "imported",
kubeconfigContent: foo_harvester.then(foo_harvester => foo_harvester.kubeConfig),
},
});
// Create a new rancher2 Node Template using harvester node_driver
const foo_harvesterNodeTemplate = new rancher2.NodeTemplate("foo-harvester", {
name: "foo-harvester",
cloudCredentialId: foo_harvesterCloudCredential.id,
engineInstallUrl: "https://releases.rancher.com/install-docker/20.10.sh",
harvesterConfig: {
vmNamespace: "default",
cpuCount: "2",
memorySize: "4",
diskInfo: ` {
"disks": [{
"imageName": "harvester-public/image-57hzg",
"size": 40,
"bootOrder": 1
}]
}
`,
networkInfo: ` {
"interfaces": [{
"networkName": "harvester-public/vlan1"
}]
}
`,
sshUser: "ubuntu",
userData: ` package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
`,
},
});
import pulumi
import pulumi_rancher2 as rancher2
# Get imported harvester cluster info
foo_harvester = rancher2.get_cluster_v2(name="foo-harvester")
# Create a new Cloud Credential for an imported Harvester cluster
foo_harvester_cloud_credential = rancher2.CloudCredential("foo-harvester",
name="foo-harvester",
harvester_credential_config={
"cluster_id": foo_harvester.cluster_v1_id,
"cluster_type": "imported",
"kubeconfig_content": foo_harvester.kube_config,
})
# Create a new rancher2 Node Template using harvester node_driver
foo_harvester_node_template = rancher2.NodeTemplate("foo-harvester",
name="foo-harvester",
cloud_credential_id=foo_harvester_cloud_credential.id,
engine_install_url="https://releases.rancher.com/install-docker/20.10.sh",
harvester_config={
"vm_namespace": "default",
"cpu_count": "2",
"memory_size": "4",
"disk_info": """ {
"disks": [{
"imageName": "harvester-public/image-57hzg",
"size": 40,
"bootOrder": 1
}]
}
""",
"network_info": """ {
"interfaces": [{
"networkName": "harvester-public/vlan1"
}]
}
""",
"ssh_user": "ubuntu",
"user_data": """ package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
""",
})
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v7/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get imported harvester cluster info
foo_harvester, err := rancher2.LookupClusterV2(ctx, &rancher2.LookupClusterV2Args{
Name: "foo-harvester",
}, nil)
if err != nil {
return err
}
// Create a new Cloud Credential for an imported Harvester cluster
_, err = rancher2.NewCloudCredential(ctx, "foo-harvester", &rancher2.CloudCredentialArgs{
Name: pulumi.String("foo-harvester"),
HarvesterCredentialConfig: &rancher2.CloudCredentialHarvesterCredentialConfigArgs{
ClusterId: pulumi.String(foo_harvester.ClusterV1Id),
ClusterType: pulumi.String("imported"),
KubeconfigContent: pulumi.String(foo_harvester.KubeConfig),
},
})
if err != nil {
return err
}
// Create a new rancher2 Node Template using harvester node_driver
_, err = rancher2.NewNodeTemplate(ctx, "foo-harvester", &rancher2.NodeTemplateArgs{
Name: pulumi.String("foo-harvester"),
CloudCredentialId: foo_harvesterCloudCredential.ID(),
EngineInstallUrl: pulumi.String("https://releases.rancher.com/install-docker/20.10.sh"),
HarvesterConfig: &rancher2.NodeTemplateHarvesterConfigArgs{
VmNamespace: pulumi.String("default"),
CpuCount: pulumi.String("2"),
MemorySize: pulumi.String("4"),
DiskInfo: pulumi.String(` {
"disks": [{
"imageName": "harvester-public/image-57hzg",
"size": 40,
"bootOrder": 1
}]
}
`),
NetworkInfo: pulumi.String(` {
"interfaces": [{
"networkName": "harvester-public/vlan1"
}]
}
`),
SshUser: pulumi.String("ubuntu"),
UserData: pulumi.String(` package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
`),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Get imported harvester cluster info
var foo_harvester = Rancher2.GetClusterV2.Invoke(new()
{
Name = "foo-harvester",
});
// Create a new Cloud Credential for an imported Harvester cluster
var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvester", new()
{
Name = "foo-harvester",
HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs
{
ClusterId = foo_harvester.Apply(foo_harvester => foo_harvester.Apply(getClusterV2Result => getClusterV2Result.ClusterV1Id)),
ClusterType = "imported",
KubeconfigContent = foo_harvester.Apply(foo_harvester => foo_harvester.Apply(getClusterV2Result => getClusterV2Result.KubeConfig)),
},
});
// Create a new rancher2 Node Template using harvester node_driver
var foo_harvesterNodeTemplate = new Rancher2.NodeTemplate("foo-harvester", new()
{
Name = "foo-harvester",
CloudCredentialId = foo_harvesterCloudCredential.Id,
EngineInstallUrl = "https://releases.rancher.com/install-docker/20.10.sh",
HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs
{
VmNamespace = "default",
CpuCount = "2",
MemorySize = "4",
DiskInfo = @" {
""disks"": [{
""imageName"": ""harvester-public/image-57hzg"",
""size"": 40,
""bootOrder"": 1
}]
}
",
NetworkInfo = @" {
""interfaces"": [{
""networkName"": ""harvester-public/vlan1""
}]
}
",
SshUser = "ubuntu",
UserData = @" package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Rancher2Functions;
import com.pulumi.rancher2.inputs.GetClusterV2Args;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs;
import com.pulumi.rancher2.NodeTemplate;
import com.pulumi.rancher2.NodeTemplateArgs;
import com.pulumi.rancher2.inputs.NodeTemplateHarvesterConfigArgs;
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) {
// Get imported harvester cluster info
final var foo-harvester = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
.name("foo-harvester")
.build());
// Create a new Cloud Credential for an imported Harvester cluster
var foo_harvesterCloudCredential = new CloudCredential("foo-harvesterCloudCredential", CloudCredentialArgs.builder()
.name("foo-harvester")
.harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()
.clusterId(foo_harvester.clusterV1Id())
.clusterType("imported")
.kubeconfigContent(foo_harvester.kubeConfig())
.build())
.build());
// Create a new rancher2 Node Template using harvester node_driver
var foo_harvesterNodeTemplate = new NodeTemplate("foo-harvesterNodeTemplate", NodeTemplateArgs.builder()
.name("foo-harvester")
.cloudCredentialId(foo_harvesterCloudCredential.id())
.engineInstallUrl("https://releases.rancher.com/install-docker/20.10.sh")
.harvesterConfig(NodeTemplateHarvesterConfigArgs.builder()
.vmNamespace("default")
.cpuCount("2")
.memorySize("4")
.diskInfo("""
{
"disks": [{
"imageName": "harvester-public/image-57hzg",
"size": 40,
"bootOrder": 1
}]
}
""")
.networkInfo("""
{
"interfaces": [{
"networkName": "harvester-public/vlan1"
}]
}
""")
.sshUser("ubuntu")
.userData("""
package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
""")
.build())
.build());
}
}
resources:
# Create a new Cloud Credential for an imported Harvester cluster
foo-harvesterCloudCredential:
type: rancher2:CloudCredential
name: foo-harvester
properties:
name: foo-harvester
harvesterCredentialConfig:
clusterId: ${["foo-harvester"].clusterV1Id}
clusterType: imported
kubeconfigContent: ${["foo-harvester"].kubeConfig}
# Create a new rancher2 Node Template using harvester node_driver
foo-harvesterNodeTemplate:
type: rancher2:NodeTemplate
name: foo-harvester
properties:
name: foo-harvester
cloudCredentialId: ${["foo-harvesterCloudCredential"].id}
engineInstallUrl: https://releases.rancher.com/install-docker/20.10.sh
harvesterConfig:
vmNamespace: default
cpuCount: '2'
memorySize: '4'
diskInfo: |2
{
"disks": [{
"imageName": "harvester-public/image-57hzg",
"size": 40,
"bootOrder": 1
}]
}
networkInfo: |2
{
"interfaces": [{
"networkName": "harvester-public/vlan1"
}]
}
sshUser: ubuntu
userData: |2
package_update: true
packages:
- qemu-guest-agent
- iptables
runcmd:
- - systemctl
- enable
- '--now'
- qemu-guest-agent.service
variables:
# Get imported harvester cluster info
foo-harvester:
fn::invoke:
Function: rancher2:getClusterV2
Arguments:
name: foo-harvester
Using the Hetzner Node Driver
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 Node Template using hetzner node_driver
const hetznerNodeDriver = new rancher2.NodeDriver("hetzner_node_driver", {
active: true,
builtin: false,
name: "Hetzner",
uiUrl: "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js",
url: "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz",
whitelistDomains: ["storage.googleapis.com"],
});
const myHetznerNodeTemplate = new rancher2.NodeTemplate("my_hetzner_node_template", {
name: "my-hetzner-node-template",
driverId: hetznerNodeDriver.id,
hetznerConfig: {
apiToken: "XXXXXXXXXX",
image: "ubuntu-18.04",
serverLocation: "nbg1",
serverType: "cx11",
},
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 Node Template using hetzner node_driver
hetzner_node_driver = rancher2.NodeDriver("hetzner_node_driver",
active=True,
builtin=False,
name="Hetzner",
ui_url="https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js",
url="https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz",
whitelist_domains=["storage.googleapis.com"])
my_hetzner_node_template = rancher2.NodeTemplate("my_hetzner_node_template",
name="my-hetzner-node-template",
driver_id=hetzner_node_driver.id,
hetzner_config={
"api_token": "XXXXXXXXXX",
"image": "ubuntu-18.04",
"server_location": "nbg1",
"server_type": "cx11",
})
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v7/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 Node Template using hetzner node_driver
hetznerNodeDriver, err := rancher2.NewNodeDriver(ctx, "hetzner_node_driver", &rancher2.NodeDriverArgs{
Active: pulumi.Bool(true),
Builtin: pulumi.Bool(false),
Name: pulumi.String("Hetzner"),
UiUrl: pulumi.String("https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js"),
Url: pulumi.String("https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz"),
WhitelistDomains: pulumi.StringArray{
pulumi.String("storage.googleapis.com"),
},
})
if err != nil {
return err
}
_, err = rancher2.NewNodeTemplate(ctx, "my_hetzner_node_template", &rancher2.NodeTemplateArgs{
Name: pulumi.String("my-hetzner-node-template"),
DriverId: hetznerNodeDriver.ID(),
HetznerConfig: &rancher2.NodeTemplateHetznerConfigArgs{
ApiToken: pulumi.String("XXXXXXXXXX"),
Image: pulumi.String("ubuntu-18.04"),
ServerLocation: pulumi.String("nbg1"),
ServerType: pulumi.String("cx11"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 Node Template using hetzner node_driver
var hetznerNodeDriver = new Rancher2.NodeDriver("hetzner_node_driver", new()
{
Active = true,
Builtin = false,
Name = "Hetzner",
UiUrl = "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js",
Url = "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz",
WhitelistDomains = new[]
{
"storage.googleapis.com",
},
});
var myHetznerNodeTemplate = new Rancher2.NodeTemplate("my_hetzner_node_template", new()
{
Name = "my-hetzner-node-template",
DriverId = hetznerNodeDriver.Id,
HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs
{
ApiToken = "XXXXXXXXXX",
Image = "ubuntu-18.04",
ServerLocation = "nbg1",
ServerType = "cx11",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.NodeDriver;
import com.pulumi.rancher2.NodeDriverArgs;
import com.pulumi.rancher2.NodeTemplate;
import com.pulumi.rancher2.NodeTemplateArgs;
import com.pulumi.rancher2.inputs.NodeTemplateHetznerConfigArgs;
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) {
// Create a new rancher2 Node Template using hetzner node_driver
var hetznerNodeDriver = new NodeDriver("hetznerNodeDriver", NodeDriverArgs.builder()
.active(true)
.builtin(false)
.name("Hetzner")
.uiUrl("https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js")
.url("https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz")
.whitelistDomains("storage.googleapis.com")
.build());
var myHetznerNodeTemplate = new NodeTemplate("myHetznerNodeTemplate", NodeTemplateArgs.builder()
.name("my-hetzner-node-template")
.driverId(hetznerNodeDriver.id())
.hetznerConfig(NodeTemplateHetznerConfigArgs.builder()
.apiToken("XXXXXXXXXX")
.image("ubuntu-18.04")
.serverLocation("nbg1")
.serverType("cx11")
.build())
.build());
}
}
resources:
# Create a new rancher2 Node Template using hetzner node_driver
hetznerNodeDriver:
type: rancher2:NodeDriver
name: hetzner_node_driver
properties:
active: true
builtin: false
name: Hetzner
uiUrl: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
url: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz
whitelistDomains:
- storage.googleapis.com
myHetznerNodeTemplate:
type: rancher2:NodeTemplate
name: my_hetzner_node_template
properties:
name: my-hetzner-node-template
driverId: ${hetznerNodeDriver.id}
hetznerConfig:
apiToken: XXXXXXXXXX
image: ubuntu-18.04
serverLocation: nbg1
serverType: cx11
Upgrading to Rancher v2.3.3
Important This process could update rancher2.NodeTemplate
data on tfstate file. Be sure to save a copy of tfstate file before proceed
Due to this feature included on Rancher v2.3.3, rancher2.NodeTemplate
are now global scoped objects with RBAC around them, instead of user scoped objects as they were. This means that existing node templates id
field is changing on upgrade. Provider implements fixNodeTemplateID()
that will update tfstate with proper id.
Create NodeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeTemplate(name: string, args?: NodeTemplateArgs, opts?: CustomResourceOptions);
@overload
def NodeTemplate(resource_name: str,
args: Optional[NodeTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def NodeTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
amazonec2_config: Optional[NodeTemplateAmazonec2ConfigArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
auth_certificate_authority: Optional[str] = None,
auth_key: Optional[str] = None,
azure_config: Optional[NodeTemplateAzureConfigArgs] = None,
cloud_credential_id: Optional[str] = None,
description: Optional[str] = None,
digitalocean_config: Optional[NodeTemplateDigitaloceanConfigArgs] = None,
driver_id: Optional[str] = None,
engine_env: Optional[Mapping[str, str]] = None,
engine_insecure_registries: Optional[Sequence[str]] = None,
engine_install_url: Optional[str] = None,
engine_label: Optional[Mapping[str, str]] = None,
engine_opt: Optional[Mapping[str, str]] = None,
engine_registry_mirrors: Optional[Sequence[str]] = None,
engine_storage_driver: Optional[str] = None,
harvester_config: Optional[NodeTemplateHarvesterConfigArgs] = None,
hetzner_config: Optional[NodeTemplateHetznerConfigArgs] = None,
labels: Optional[Mapping[str, str]] = None,
linode_config: Optional[NodeTemplateLinodeConfigArgs] = None,
name: Optional[str] = None,
node_taints: Optional[Sequence[NodeTemplateNodeTaintArgs]] = None,
opennebula_config: Optional[NodeTemplateOpennebulaConfigArgs] = None,
openstack_config: Optional[NodeTemplateOpenstackConfigArgs] = None,
outscale_config: Optional[NodeTemplateOutscaleConfigArgs] = None,
use_internal_ip_address: Optional[bool] = None,
vsphere_config: Optional[NodeTemplateVsphereConfigArgs] = None)
func NewNodeTemplate(ctx *Context, name string, args *NodeTemplateArgs, opts ...ResourceOption) (*NodeTemplate, error)
public NodeTemplate(string name, NodeTemplateArgs? args = null, CustomResourceOptions? opts = null)
public NodeTemplate(String name, NodeTemplateArgs args)
public NodeTemplate(String name, NodeTemplateArgs args, CustomResourceOptions options)
type: rancher2:NodeTemplate
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 NodeTemplateArgs
- 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 NodeTemplateArgs
- 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 NodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeTemplateArgs
- 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 nodeTemplateResource = new Rancher2.NodeTemplate("nodeTemplateResource", new()
{
Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs
{
Region = "string",
Ami = "string",
Zone = "string",
VpcId = "string",
SubnetId = "string",
SecurityGroups = new[]
{
"string",
},
RequestSpotInstance = false,
SecretKey = "string",
IamInstanceProfile = "string",
InsecureTransport = false,
InstanceType = "string",
KmsKey = "string",
Monitoring = false,
OpenPorts = new[]
{
"string",
},
PrivateAddressOnly = false,
HttpEndpoint = "string",
AccessKey = "string",
Retries = "string",
RootSize = "string",
HttpTokens = "string",
SecurityGroupReadonly = false,
Endpoint = "string",
SessionToken = "string",
SpotPrice = "string",
SshKeypath = "string",
SshUser = "string",
EncryptEbsVolume = false,
Tags = "string",
UseEbsOptimizedInstance = false,
UsePrivateAddress = false,
Userdata = "string",
VolumeType = "string",
DeviceName = "string",
BlockDurationMinutes = "string",
},
Annotations =
{
{ "string", "string" },
},
AuthCertificateAuthority = "string",
AuthKey = "string",
AzureConfig = new Rancher2.Inputs.NodeTemplateAzureConfigArgs
{
AcceleratedNetworking = false,
AvailabilitySet = "string",
AvailabilityZone = "string",
ClientId = "string",
ClientSecret = "string",
CustomData = "string",
DiskSize = "string",
Dns = "string",
DockerPort = "string",
Environment = "string",
FaultDomainCount = "string",
Image = "string",
Location = "string",
ManagedDisks = false,
NoPublicIp = false,
Nsg = "string",
OpenPorts = new[]
{
"string",
},
Plan = "string",
PrivateIpAddress = "string",
ResourceGroup = "string",
Size = "string",
SshUser = "string",
StaticPublicIp = false,
StorageType = "string",
Subnet = "string",
SubnetPrefix = "string",
SubscriptionId = "string",
Tags = "string",
UpdateDomainCount = "string",
UsePrivateIp = false,
UsePublicIpStandardSku = false,
Vnet = "string",
},
CloudCredentialId = "string",
Description = "string",
DigitaloceanConfig = new Rancher2.Inputs.NodeTemplateDigitaloceanConfigArgs
{
AccessToken = "string",
Backups = false,
Image = "string",
Ipv6 = false,
Monitoring = false,
PrivateNetworking = false,
Region = "string",
Size = "string",
SshKeyFingerprint = "string",
SshKeyPath = "string",
SshPort = "string",
SshUser = "string",
Tags = "string",
Userdata = "string",
},
DriverId = "string",
EngineEnv =
{
{ "string", "string" },
},
EngineInsecureRegistries = new[]
{
"string",
},
EngineInstallUrl = "string",
EngineLabel =
{
{ "string", "string" },
},
EngineOpt =
{
{ "string", "string" },
},
EngineRegistryMirrors = new[]
{
"string",
},
EngineStorageDriver = "string",
HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs
{
SshUser = "string",
VmNamespace = "string",
NetworkData = "string",
MemorySize = "string",
CpuCount = "string",
NetworkInfo = "string",
SshPassword = "string",
DiskInfo = "string",
UserData = "string",
VmAffinity = "string",
},
HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs
{
ApiToken = "string",
Image = "string",
Networks = "string",
ServerLabels =
{
{ "string", "string" },
},
ServerLocation = "string",
ServerType = "string",
UsePrivateNetwork = false,
Userdata = "string",
Volumes = "string",
},
Labels =
{
{ "string", "string" },
},
LinodeConfig = new Rancher2.Inputs.NodeTemplateLinodeConfigArgs
{
AuthorizedUsers = "string",
CreatePrivateIp = false,
DockerPort = "string",
Image = "string",
InstanceType = "string",
Label = "string",
Region = "string",
RootPass = "string",
SshPort = "string",
SshUser = "string",
Stackscript = "string",
StackscriptData = "string",
SwapSize = "string",
Tags = "string",
Token = "string",
UaPrefix = "string",
},
Name = "string",
NodeTaints = new[]
{
new Rancher2.Inputs.NodeTemplateNodeTaintArgs
{
Key = "string",
Value = "string",
Effect = "string",
TimeAdded = "string",
},
},
OpennebulaConfig = new Rancher2.Inputs.NodeTemplateOpennebulaConfigArgs
{
Password = "string",
XmlRpcUrl = "string",
User = "string",
DiskResize = "string",
NetworkName = "string",
ImageId = "string",
ImageName = "string",
ImageOwner = "string",
Memory = "string",
NetworkId = "string",
B2dSize = "string",
NetworkOwner = "string",
DisableVnc = false,
SshUser = "string",
TemplateId = "string",
TemplateName = "string",
DevPrefix = "string",
Vcpu = "string",
Cpu = "string",
},
OpenstackConfig = new Rancher2.Inputs.NodeTemplateOpenstackConfigArgs
{
AuthUrl = "string",
Region = "string",
AvailabilityZone = "string",
IpVersion = "string",
BootFromVolume = false,
ApplicationCredentialName = "string",
NetId = "string",
Cacert = "string",
NetName = "string",
DomainId = "string",
DomainName = "string",
EndpointType = "string",
FlavorId = "string",
FlavorName = "string",
FloatingIpPool = "string",
ImageId = "string",
ImageName = "string",
Insecure = false,
ActiveTimeout = "string",
VolumeSize = "string",
ApplicationCredentialSecret = "string",
ConfigDrive = false,
NovaNetwork = false,
Password = "string",
PrivateKeyFile = "string",
ApplicationCredentialId = "string",
SecGroups = "string",
SshPort = "string",
SshUser = "string",
TenantId = "string",
TenantName = "string",
UserDataFile = "string",
Username = "string",
VolumeDevicePath = "string",
VolumeId = "string",
VolumeName = "string",
KeypairName = "string",
VolumeType = "string",
},
OutscaleConfig = new Rancher2.Inputs.NodeTemplateOutscaleConfigArgs
{
AccessKey = "string",
SecretKey = "string",
ExtraTagsAlls = new[]
{
"string",
},
ExtraTagsInstances = new[]
{
"string",
},
InstanceType = "string",
Region = "string",
RootDiskIops = 0,
RootDiskSize = 0,
RootDiskType = "string",
SecurityGroupIds = new[]
{
"string",
},
SourceOmi = "string",
},
UseInternalIpAddress = false,
VsphereConfig = new Rancher2.Inputs.NodeTemplateVsphereConfigArgs
{
Boot2dockerUrl = "string",
Cfgparams = new[]
{
"string",
},
CloneFrom = "string",
CloudConfig = "string",
Cloudinit = "string",
ContentLibrary = "string",
CpuCount = "string",
CreationType = "string",
CustomAttributes = new[]
{
"string",
},
Datacenter = "string",
Datastore = "string",
DatastoreCluster = "string",
DiskSize = "string",
Folder = "string",
GracefulShutdownTimeout = "string",
Hostsystem = "string",
MemorySize = "string",
Networks = new[]
{
"string",
},
Password = "string",
Pool = "string",
SshPassword = "string",
SshPort = "string",
SshUser = "string",
SshUserGroup = "string",
Tags = new[]
{
"string",
},
Username = "string",
VappIpAllocationPolicy = "string",
VappIpProtocol = "string",
VappProperties = new[]
{
"string",
},
VappTransport = "string",
Vcenter = "string",
VcenterPort = "string",
},
});
example, err := rancher2.NewNodeTemplate(ctx, "nodeTemplateResource", &rancher2.NodeTemplateArgs{
Amazonec2Config: &rancher2.NodeTemplateAmazonec2ConfigArgs{
Region: pulumi.String("string"),
Ami: pulumi.String("string"),
Zone: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
RequestSpotInstance: pulumi.Bool(false),
SecretKey: pulumi.String("string"),
IamInstanceProfile: pulumi.String("string"),
InsecureTransport: pulumi.Bool(false),
InstanceType: pulumi.String("string"),
KmsKey: pulumi.String("string"),
Monitoring: pulumi.Bool(false),
OpenPorts: pulumi.StringArray{
pulumi.String("string"),
},
PrivateAddressOnly: pulumi.Bool(false),
HttpEndpoint: pulumi.String("string"),
AccessKey: pulumi.String("string"),
Retries: pulumi.String("string"),
RootSize: pulumi.String("string"),
HttpTokens: pulumi.String("string"),
SecurityGroupReadonly: pulumi.Bool(false),
Endpoint: pulumi.String("string"),
SessionToken: pulumi.String("string"),
SpotPrice: pulumi.String("string"),
SshKeypath: pulumi.String("string"),
SshUser: pulumi.String("string"),
EncryptEbsVolume: pulumi.Bool(false),
Tags: pulumi.String("string"),
UseEbsOptimizedInstance: pulumi.Bool(false),
UsePrivateAddress: pulumi.Bool(false),
Userdata: pulumi.String("string"),
VolumeType: pulumi.String("string"),
DeviceName: pulumi.String("string"),
BlockDurationMinutes: pulumi.String("string"),
},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
AuthCertificateAuthority: pulumi.String("string"),
AuthKey: pulumi.String("string"),
AzureConfig: &rancher2.NodeTemplateAzureConfigArgs{
AcceleratedNetworking: pulumi.Bool(false),
AvailabilitySet: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
CustomData: pulumi.String("string"),
DiskSize: pulumi.String("string"),
Dns: pulumi.String("string"),
DockerPort: pulumi.String("string"),
Environment: pulumi.String("string"),
FaultDomainCount: pulumi.String("string"),
Image: pulumi.String("string"),
Location: pulumi.String("string"),
ManagedDisks: pulumi.Bool(false),
NoPublicIp: pulumi.Bool(false),
Nsg: pulumi.String("string"),
OpenPorts: pulumi.StringArray{
pulumi.String("string"),
},
Plan: pulumi.String("string"),
PrivateIpAddress: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
Size: pulumi.String("string"),
SshUser: pulumi.String("string"),
StaticPublicIp: pulumi.Bool(false),
StorageType: pulumi.String("string"),
Subnet: pulumi.String("string"),
SubnetPrefix: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
Tags: pulumi.String("string"),
UpdateDomainCount: pulumi.String("string"),
UsePrivateIp: pulumi.Bool(false),
UsePublicIpStandardSku: pulumi.Bool(false),
Vnet: pulumi.String("string"),
},
CloudCredentialId: pulumi.String("string"),
Description: pulumi.String("string"),
DigitaloceanConfig: &rancher2.NodeTemplateDigitaloceanConfigArgs{
AccessToken: pulumi.String("string"),
Backups: pulumi.Bool(false),
Image: pulumi.String("string"),
Ipv6: pulumi.Bool(false),
Monitoring: pulumi.Bool(false),
PrivateNetworking: pulumi.Bool(false),
Region: pulumi.String("string"),
Size: pulumi.String("string"),
SshKeyFingerprint: pulumi.String("string"),
SshKeyPath: pulumi.String("string"),
SshPort: pulumi.String("string"),
SshUser: pulumi.String("string"),
Tags: pulumi.String("string"),
Userdata: pulumi.String("string"),
},
DriverId: pulumi.String("string"),
EngineEnv: pulumi.StringMap{
"string": pulumi.String("string"),
},
EngineInsecureRegistries: pulumi.StringArray{
pulumi.String("string"),
},
EngineInstallUrl: pulumi.String("string"),
EngineLabel: pulumi.StringMap{
"string": pulumi.String("string"),
},
EngineOpt: pulumi.StringMap{
"string": pulumi.String("string"),
},
EngineRegistryMirrors: pulumi.StringArray{
pulumi.String("string"),
},
EngineStorageDriver: pulumi.String("string"),
HarvesterConfig: &rancher2.NodeTemplateHarvesterConfigArgs{
SshUser: pulumi.String("string"),
VmNamespace: pulumi.String("string"),
NetworkData: pulumi.String("string"),
MemorySize: pulumi.String("string"),
CpuCount: pulumi.String("string"),
NetworkInfo: pulumi.String("string"),
SshPassword: pulumi.String("string"),
DiskInfo: pulumi.String("string"),
UserData: pulumi.String("string"),
VmAffinity: pulumi.String("string"),
},
HetznerConfig: &rancher2.NodeTemplateHetznerConfigArgs{
ApiToken: pulumi.String("string"),
Image: pulumi.String("string"),
Networks: pulumi.String("string"),
ServerLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ServerLocation: pulumi.String("string"),
ServerType: pulumi.String("string"),
UsePrivateNetwork: pulumi.Bool(false),
Userdata: pulumi.String("string"),
Volumes: pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LinodeConfig: &rancher2.NodeTemplateLinodeConfigArgs{
AuthorizedUsers: pulumi.String("string"),
CreatePrivateIp: pulumi.Bool(false),
DockerPort: pulumi.String("string"),
Image: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Label: pulumi.String("string"),
Region: pulumi.String("string"),
RootPass: pulumi.String("string"),
SshPort: pulumi.String("string"),
SshUser: pulumi.String("string"),
Stackscript: pulumi.String("string"),
StackscriptData: pulumi.String("string"),
SwapSize: pulumi.String("string"),
Tags: pulumi.String("string"),
Token: pulumi.String("string"),
UaPrefix: pulumi.String("string"),
},
Name: pulumi.String("string"),
NodeTaints: rancher2.NodeTemplateNodeTaintArray{
&rancher2.NodeTemplateNodeTaintArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Effect: pulumi.String("string"),
TimeAdded: pulumi.String("string"),
},
},
OpennebulaConfig: &rancher2.NodeTemplateOpennebulaConfigArgs{
Password: pulumi.String("string"),
XmlRpcUrl: pulumi.String("string"),
User: pulumi.String("string"),
DiskResize: pulumi.String("string"),
NetworkName: pulumi.String("string"),
ImageId: pulumi.String("string"),
ImageName: pulumi.String("string"),
ImageOwner: pulumi.String("string"),
Memory: pulumi.String("string"),
NetworkId: pulumi.String("string"),
B2dSize: pulumi.String("string"),
NetworkOwner: pulumi.String("string"),
DisableVnc: pulumi.Bool(false),
SshUser: pulumi.String("string"),
TemplateId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
DevPrefix: pulumi.String("string"),
Vcpu: pulumi.String("string"),
Cpu: pulumi.String("string"),
},
OpenstackConfig: &rancher2.NodeTemplateOpenstackConfigArgs{
AuthUrl: pulumi.String("string"),
Region: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
IpVersion: pulumi.String("string"),
BootFromVolume: pulumi.Bool(false),
ApplicationCredentialName: pulumi.String("string"),
NetId: pulumi.String("string"),
Cacert: pulumi.String("string"),
NetName: pulumi.String("string"),
DomainId: pulumi.String("string"),
DomainName: pulumi.String("string"),
EndpointType: pulumi.String("string"),
FlavorId: pulumi.String("string"),
FlavorName: pulumi.String("string"),
FloatingIpPool: pulumi.String("string"),
ImageId: pulumi.String("string"),
ImageName: pulumi.String("string"),
Insecure: pulumi.Bool(false),
ActiveTimeout: pulumi.String("string"),
VolumeSize: pulumi.String("string"),
ApplicationCredentialSecret: pulumi.String("string"),
ConfigDrive: pulumi.Bool(false),
NovaNetwork: pulumi.Bool(false),
Password: pulumi.String("string"),
PrivateKeyFile: pulumi.String("string"),
ApplicationCredentialId: pulumi.String("string"),
SecGroups: pulumi.String("string"),
SshPort: pulumi.String("string"),
SshUser: pulumi.String("string"),
TenantId: pulumi.String("string"),
TenantName: pulumi.String("string"),
UserDataFile: pulumi.String("string"),
Username: pulumi.String("string"),
VolumeDevicePath: pulumi.String("string"),
VolumeId: pulumi.String("string"),
VolumeName: pulumi.String("string"),
KeypairName: pulumi.String("string"),
VolumeType: pulumi.String("string"),
},
OutscaleConfig: &rancher2.NodeTemplateOutscaleConfigArgs{
AccessKey: pulumi.String("string"),
SecretKey: pulumi.String("string"),
ExtraTagsAlls: pulumi.StringArray{
pulumi.String("string"),
},
ExtraTagsInstances: pulumi.StringArray{
pulumi.String("string"),
},
InstanceType: pulumi.String("string"),
Region: pulumi.String("string"),
RootDiskIops: pulumi.Int(0),
RootDiskSize: pulumi.Int(0),
RootDiskType: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SourceOmi: pulumi.String("string"),
},
UseInternalIpAddress: pulumi.Bool(false),
VsphereConfig: &rancher2.NodeTemplateVsphereConfigArgs{
Boot2dockerUrl: pulumi.String("string"),
Cfgparams: pulumi.StringArray{
pulumi.String("string"),
},
CloneFrom: pulumi.String("string"),
CloudConfig: pulumi.String("string"),
Cloudinit: pulumi.String("string"),
ContentLibrary: pulumi.String("string"),
CpuCount: pulumi.String("string"),
CreationType: pulumi.String("string"),
CustomAttributes: pulumi.StringArray{
pulumi.String("string"),
},
Datacenter: pulumi.String("string"),
Datastore: pulumi.String("string"),
DatastoreCluster: pulumi.String("string"),
DiskSize: pulumi.String("string"),
Folder: pulumi.String("string"),
GracefulShutdownTimeout: pulumi.String("string"),
Hostsystem: pulumi.String("string"),
MemorySize: pulumi.String("string"),
Networks: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
Pool: pulumi.String("string"),
SshPassword: pulumi.String("string"),
SshPort: pulumi.String("string"),
SshUser: pulumi.String("string"),
SshUserGroup: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Username: pulumi.String("string"),
VappIpAllocationPolicy: pulumi.String("string"),
VappIpProtocol: pulumi.String("string"),
VappProperties: pulumi.StringArray{
pulumi.String("string"),
},
VappTransport: pulumi.String("string"),
Vcenter: pulumi.String("string"),
VcenterPort: pulumi.String("string"),
},
})
var nodeTemplateResource = new NodeTemplate("nodeTemplateResource", NodeTemplateArgs.builder()
.amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()
.region("string")
.ami("string")
.zone("string")
.vpcId("string")
.subnetId("string")
.securityGroups("string")
.requestSpotInstance(false)
.secretKey("string")
.iamInstanceProfile("string")
.insecureTransport(false)
.instanceType("string")
.kmsKey("string")
.monitoring(false)
.openPorts("string")
.privateAddressOnly(false)
.httpEndpoint("string")
.accessKey("string")
.retries("string")
.rootSize("string")
.httpTokens("string")
.securityGroupReadonly(false)
.endpoint("string")
.sessionToken("string")
.spotPrice("string")
.sshKeypath("string")
.sshUser("string")
.encryptEbsVolume(false)
.tags("string")
.useEbsOptimizedInstance(false)
.usePrivateAddress(false)
.userdata("string")
.volumeType("string")
.deviceName("string")
.blockDurationMinutes("string")
.build())
.annotations(Map.of("string", "string"))
.authCertificateAuthority("string")
.authKey("string")
.azureConfig(NodeTemplateAzureConfigArgs.builder()
.acceleratedNetworking(false)
.availabilitySet("string")
.availabilityZone("string")
.clientId("string")
.clientSecret("string")
.customData("string")
.diskSize("string")
.dns("string")
.dockerPort("string")
.environment("string")
.faultDomainCount("string")
.image("string")
.location("string")
.managedDisks(false)
.noPublicIp(false)
.nsg("string")
.openPorts("string")
.plan("string")
.privateIpAddress("string")
.resourceGroup("string")
.size("string")
.sshUser("string")
.staticPublicIp(false)
.storageType("string")
.subnet("string")
.subnetPrefix("string")
.subscriptionId("string")
.tags("string")
.updateDomainCount("string")
.usePrivateIp(false)
.usePublicIpStandardSku(false)
.vnet("string")
.build())
.cloudCredentialId("string")
.description("string")
.digitaloceanConfig(NodeTemplateDigitaloceanConfigArgs.builder()
.accessToken("string")
.backups(false)
.image("string")
.ipv6(false)
.monitoring(false)
.privateNetworking(false)
.region("string")
.size("string")
.sshKeyFingerprint("string")
.sshKeyPath("string")
.sshPort("string")
.sshUser("string")
.tags("string")
.userdata("string")
.build())
.driverId("string")
.engineEnv(Map.of("string", "string"))
.engineInsecureRegistries("string")
.engineInstallUrl("string")
.engineLabel(Map.of("string", "string"))
.engineOpt(Map.of("string", "string"))
.engineRegistryMirrors("string")
.engineStorageDriver("string")
.harvesterConfig(NodeTemplateHarvesterConfigArgs.builder()
.sshUser("string")
.vmNamespace("string")
.networkData("string")
.memorySize("string")
.cpuCount("string")
.networkInfo("string")
.sshPassword("string")
.diskInfo("string")
.userData("string")
.vmAffinity("string")
.build())
.hetznerConfig(NodeTemplateHetznerConfigArgs.builder()
.apiToken("string")
.image("string")
.networks("string")
.serverLabels(Map.of("string", "string"))
.serverLocation("string")
.serverType("string")
.usePrivateNetwork(false)
.userdata("string")
.volumes("string")
.build())
.labels(Map.of("string", "string"))
.linodeConfig(NodeTemplateLinodeConfigArgs.builder()
.authorizedUsers("string")
.createPrivateIp(false)
.dockerPort("string")
.image("string")
.instanceType("string")
.label("string")
.region("string")
.rootPass("string")
.sshPort("string")
.sshUser("string")
.stackscript("string")
.stackscriptData("string")
.swapSize("string")
.tags("string")
.token("string")
.uaPrefix("string")
.build())
.name("string")
.nodeTaints(NodeTemplateNodeTaintArgs.builder()
.key("string")
.value("string")
.effect("string")
.timeAdded("string")
.build())
.opennebulaConfig(NodeTemplateOpennebulaConfigArgs.builder()
.password("string")
.xmlRpcUrl("string")
.user("string")
.diskResize("string")
.networkName("string")
.imageId("string")
.imageName("string")
.imageOwner("string")
.memory("string")
.networkId("string")
.b2dSize("string")
.networkOwner("string")
.disableVnc(false)
.sshUser("string")
.templateId("string")
.templateName("string")
.devPrefix("string")
.vcpu("string")
.cpu("string")
.build())
.openstackConfig(NodeTemplateOpenstackConfigArgs.builder()
.authUrl("string")
.region("string")
.availabilityZone("string")
.ipVersion("string")
.bootFromVolume(false)
.applicationCredentialName("string")
.netId("string")
.cacert("string")
.netName("string")
.domainId("string")
.domainName("string")
.endpointType("string")
.flavorId("string")
.flavorName("string")
.floatingIpPool("string")
.imageId("string")
.imageName("string")
.insecure(false)
.activeTimeout("string")
.volumeSize("string")
.applicationCredentialSecret("string")
.configDrive(false)
.novaNetwork(false)
.password("string")
.privateKeyFile("string")
.applicationCredentialId("string")
.secGroups("string")
.sshPort("string")
.sshUser("string")
.tenantId("string")
.tenantName("string")
.userDataFile("string")
.username("string")
.volumeDevicePath("string")
.volumeId("string")
.volumeName("string")
.keypairName("string")
.volumeType("string")
.build())
.outscaleConfig(NodeTemplateOutscaleConfigArgs.builder()
.accessKey("string")
.secretKey("string")
.extraTagsAlls("string")
.extraTagsInstances("string")
.instanceType("string")
.region("string")
.rootDiskIops(0)
.rootDiskSize(0)
.rootDiskType("string")
.securityGroupIds("string")
.sourceOmi("string")
.build())
.useInternalIpAddress(false)
.vsphereConfig(NodeTemplateVsphereConfigArgs.builder()
.boot2dockerUrl("string")
.cfgparams("string")
.cloneFrom("string")
.cloudConfig("string")
.cloudinit("string")
.contentLibrary("string")
.cpuCount("string")
.creationType("string")
.customAttributes("string")
.datacenter("string")
.datastore("string")
.datastoreCluster("string")
.diskSize("string")
.folder("string")
.gracefulShutdownTimeout("string")
.hostsystem("string")
.memorySize("string")
.networks("string")
.password("string")
.pool("string")
.sshPassword("string")
.sshPort("string")
.sshUser("string")
.sshUserGroup("string")
.tags("string")
.username("string")
.vappIpAllocationPolicy("string")
.vappIpProtocol("string")
.vappProperties("string")
.vappTransport("string")
.vcenter("string")
.vcenterPort("string")
.build())
.build());
node_template_resource = rancher2.NodeTemplate("nodeTemplateResource",
amazonec2_config={
"region": "string",
"ami": "string",
"zone": "string",
"vpc_id": "string",
"subnet_id": "string",
"security_groups": ["string"],
"request_spot_instance": False,
"secret_key": "string",
"iam_instance_profile": "string",
"insecure_transport": False,
"instance_type": "string",
"kms_key": "string",
"monitoring": False,
"open_ports": ["string"],
"private_address_only": False,
"http_endpoint": "string",
"access_key": "string",
"retries": "string",
"root_size": "string",
"http_tokens": "string",
"security_group_readonly": False,
"endpoint": "string",
"session_token": "string",
"spot_price": "string",
"ssh_keypath": "string",
"ssh_user": "string",
"encrypt_ebs_volume": False,
"tags": "string",
"use_ebs_optimized_instance": False,
"use_private_address": False,
"userdata": "string",
"volume_type": "string",
"device_name": "string",
"block_duration_minutes": "string",
},
annotations={
"string": "string",
},
auth_certificate_authority="string",
auth_key="string",
azure_config={
"accelerated_networking": False,
"availability_set": "string",
"availability_zone": "string",
"client_id": "string",
"client_secret": "string",
"custom_data": "string",
"disk_size": "string",
"dns": "string",
"docker_port": "string",
"environment": "string",
"fault_domain_count": "string",
"image": "string",
"location": "string",
"managed_disks": False,
"no_public_ip": False,
"nsg": "string",
"open_ports": ["string"],
"plan": "string",
"private_ip_address": "string",
"resource_group": "string",
"size": "string",
"ssh_user": "string",
"static_public_ip": False,
"storage_type": "string",
"subnet": "string",
"subnet_prefix": "string",
"subscription_id": "string",
"tags": "string",
"update_domain_count": "string",
"use_private_ip": False,
"use_public_ip_standard_sku": False,
"vnet": "string",
},
cloud_credential_id="string",
description="string",
digitalocean_config={
"access_token": "string",
"backups": False,
"image": "string",
"ipv6": False,
"monitoring": False,
"private_networking": False,
"region": "string",
"size": "string",
"ssh_key_fingerprint": "string",
"ssh_key_path": "string",
"ssh_port": "string",
"ssh_user": "string",
"tags": "string",
"userdata": "string",
},
driver_id="string",
engine_env={
"string": "string",
},
engine_insecure_registries=["string"],
engine_install_url="string",
engine_label={
"string": "string",
},
engine_opt={
"string": "string",
},
engine_registry_mirrors=["string"],
engine_storage_driver="string",
harvester_config={
"ssh_user": "string",
"vm_namespace": "string",
"network_data": "string",
"memory_size": "string",
"cpu_count": "string",
"network_info": "string",
"ssh_password": "string",
"disk_info": "string",
"user_data": "string",
"vm_affinity": "string",
},
hetzner_config={
"api_token": "string",
"image": "string",
"networks": "string",
"server_labels": {
"string": "string",
},
"server_location": "string",
"server_type": "string",
"use_private_network": False,
"userdata": "string",
"volumes": "string",
},
labels={
"string": "string",
},
linode_config={
"authorized_users": "string",
"create_private_ip": False,
"docker_port": "string",
"image": "string",
"instance_type": "string",
"label": "string",
"region": "string",
"root_pass": "string",
"ssh_port": "string",
"ssh_user": "string",
"stackscript": "string",
"stackscript_data": "string",
"swap_size": "string",
"tags": "string",
"token": "string",
"ua_prefix": "string",
},
name="string",
node_taints=[{
"key": "string",
"value": "string",
"effect": "string",
"time_added": "string",
}],
opennebula_config={
"password": "string",
"xml_rpc_url": "string",
"user": "string",
"disk_resize": "string",
"network_name": "string",
"image_id": "string",
"image_name": "string",
"image_owner": "string",
"memory": "string",
"network_id": "string",
"b2d_size": "string",
"network_owner": "string",
"disable_vnc": False,
"ssh_user": "string",
"template_id": "string",
"template_name": "string",
"dev_prefix": "string",
"vcpu": "string",
"cpu": "string",
},
openstack_config={
"auth_url": "string",
"region": "string",
"availability_zone": "string",
"ip_version": "string",
"boot_from_volume": False,
"application_credential_name": "string",
"net_id": "string",
"cacert": "string",
"net_name": "string",
"domain_id": "string",
"domain_name": "string",
"endpoint_type": "string",
"flavor_id": "string",
"flavor_name": "string",
"floating_ip_pool": "string",
"image_id": "string",
"image_name": "string",
"insecure": False,
"active_timeout": "string",
"volume_size": "string",
"application_credential_secret": "string",
"config_drive": False,
"nova_network": False,
"password": "string",
"private_key_file": "string",
"application_credential_id": "string",
"sec_groups": "string",
"ssh_port": "string",
"ssh_user": "string",
"tenant_id": "string",
"tenant_name": "string",
"user_data_file": "string",
"username": "string",
"volume_device_path": "string",
"volume_id": "string",
"volume_name": "string",
"keypair_name": "string",
"volume_type": "string",
},
outscale_config={
"access_key": "string",
"secret_key": "string",
"extra_tags_alls": ["string"],
"extra_tags_instances": ["string"],
"instance_type": "string",
"region": "string",
"root_disk_iops": 0,
"root_disk_size": 0,
"root_disk_type": "string",
"security_group_ids": ["string"],
"source_omi": "string",
},
use_internal_ip_address=False,
vsphere_config={
"boot2docker_url": "string",
"cfgparams": ["string"],
"clone_from": "string",
"cloud_config": "string",
"cloudinit": "string",
"content_library": "string",
"cpu_count": "string",
"creation_type": "string",
"custom_attributes": ["string"],
"datacenter": "string",
"datastore": "string",
"datastore_cluster": "string",
"disk_size": "string",
"folder": "string",
"graceful_shutdown_timeout": "string",
"hostsystem": "string",
"memory_size": "string",
"networks": ["string"],
"password": "string",
"pool": "string",
"ssh_password": "string",
"ssh_port": "string",
"ssh_user": "string",
"ssh_user_group": "string",
"tags": ["string"],
"username": "string",
"vapp_ip_allocation_policy": "string",
"vapp_ip_protocol": "string",
"vapp_properties": ["string"],
"vapp_transport": "string",
"vcenter": "string",
"vcenter_port": "string",
})
const nodeTemplateResource = new rancher2.NodeTemplate("nodeTemplateResource", {
amazonec2Config: {
region: "string",
ami: "string",
zone: "string",
vpcId: "string",
subnetId: "string",
securityGroups: ["string"],
requestSpotInstance: false,
secretKey: "string",
iamInstanceProfile: "string",
insecureTransport: false,
instanceType: "string",
kmsKey: "string",
monitoring: false,
openPorts: ["string"],
privateAddressOnly: false,
httpEndpoint: "string",
accessKey: "string",
retries: "string",
rootSize: "string",
httpTokens: "string",
securityGroupReadonly: false,
endpoint: "string",
sessionToken: "string",
spotPrice: "string",
sshKeypath: "string",
sshUser: "string",
encryptEbsVolume: false,
tags: "string",
useEbsOptimizedInstance: false,
usePrivateAddress: false,
userdata: "string",
volumeType: "string",
deviceName: "string",
blockDurationMinutes: "string",
},
annotations: {
string: "string",
},
authCertificateAuthority: "string",
authKey: "string",
azureConfig: {
acceleratedNetworking: false,
availabilitySet: "string",
availabilityZone: "string",
clientId: "string",
clientSecret: "string",
customData: "string",
diskSize: "string",
dns: "string",
dockerPort: "string",
environment: "string",
faultDomainCount: "string",
image: "string",
location: "string",
managedDisks: false,
noPublicIp: false,
nsg: "string",
openPorts: ["string"],
plan: "string",
privateIpAddress: "string",
resourceGroup: "string",
size: "string",
sshUser: "string",
staticPublicIp: false,
storageType: "string",
subnet: "string",
subnetPrefix: "string",
subscriptionId: "string",
tags: "string",
updateDomainCount: "string",
usePrivateIp: false,
usePublicIpStandardSku: false,
vnet: "string",
},
cloudCredentialId: "string",
description: "string",
digitaloceanConfig: {
accessToken: "string",
backups: false,
image: "string",
ipv6: false,
monitoring: false,
privateNetworking: false,
region: "string",
size: "string",
sshKeyFingerprint: "string",
sshKeyPath: "string",
sshPort: "string",
sshUser: "string",
tags: "string",
userdata: "string",
},
driverId: "string",
engineEnv: {
string: "string",
},
engineInsecureRegistries: ["string"],
engineInstallUrl: "string",
engineLabel: {
string: "string",
},
engineOpt: {
string: "string",
},
engineRegistryMirrors: ["string"],
engineStorageDriver: "string",
harvesterConfig: {
sshUser: "string",
vmNamespace: "string",
networkData: "string",
memorySize: "string",
cpuCount: "string",
networkInfo: "string",
sshPassword: "string",
diskInfo: "string",
userData: "string",
vmAffinity: "string",
},
hetznerConfig: {
apiToken: "string",
image: "string",
networks: "string",
serverLabels: {
string: "string",
},
serverLocation: "string",
serverType: "string",
usePrivateNetwork: false,
userdata: "string",
volumes: "string",
},
labels: {
string: "string",
},
linodeConfig: {
authorizedUsers: "string",
createPrivateIp: false,
dockerPort: "string",
image: "string",
instanceType: "string",
label: "string",
region: "string",
rootPass: "string",
sshPort: "string",
sshUser: "string",
stackscript: "string",
stackscriptData: "string",
swapSize: "string",
tags: "string",
token: "string",
uaPrefix: "string",
},
name: "string",
nodeTaints: [{
key: "string",
value: "string",
effect: "string",
timeAdded: "string",
}],
opennebulaConfig: {
password: "string",
xmlRpcUrl: "string",
user: "string",
diskResize: "string",
networkName: "string",
imageId: "string",
imageName: "string",
imageOwner: "string",
memory: "string",
networkId: "string",
b2dSize: "string",
networkOwner: "string",
disableVnc: false,
sshUser: "string",
templateId: "string",
templateName: "string",
devPrefix: "string",
vcpu: "string",
cpu: "string",
},
openstackConfig: {
authUrl: "string",
region: "string",
availabilityZone: "string",
ipVersion: "string",
bootFromVolume: false,
applicationCredentialName: "string",
netId: "string",
cacert: "string",
netName: "string",
domainId: "string",
domainName: "string",
endpointType: "string",
flavorId: "string",
flavorName: "string",
floatingIpPool: "string",
imageId: "string",
imageName: "string",
insecure: false,
activeTimeout: "string",
volumeSize: "string",
applicationCredentialSecret: "string",
configDrive: false,
novaNetwork: false,
password: "string",
privateKeyFile: "string",
applicationCredentialId: "string",
secGroups: "string",
sshPort: "string",
sshUser: "string",
tenantId: "string",
tenantName: "string",
userDataFile: "string",
username: "string",
volumeDevicePath: "string",
volumeId: "string",
volumeName: "string",
keypairName: "string",
volumeType: "string",
},
outscaleConfig: {
accessKey: "string",
secretKey: "string",
extraTagsAlls: ["string"],
extraTagsInstances: ["string"],
instanceType: "string",
region: "string",
rootDiskIops: 0,
rootDiskSize: 0,
rootDiskType: "string",
securityGroupIds: ["string"],
sourceOmi: "string",
},
useInternalIpAddress: false,
vsphereConfig: {
boot2dockerUrl: "string",
cfgparams: ["string"],
cloneFrom: "string",
cloudConfig: "string",
cloudinit: "string",
contentLibrary: "string",
cpuCount: "string",
creationType: "string",
customAttributes: ["string"],
datacenter: "string",
datastore: "string",
datastoreCluster: "string",
diskSize: "string",
folder: "string",
gracefulShutdownTimeout: "string",
hostsystem: "string",
memorySize: "string",
networks: ["string"],
password: "string",
pool: "string",
sshPassword: "string",
sshPort: "string",
sshUser: "string",
sshUserGroup: "string",
tags: ["string"],
username: "string",
vappIpAllocationPolicy: "string",
vappIpProtocol: "string",
vappProperties: ["string"],
vappTransport: "string",
vcenter: "string",
vcenterPort: "string",
},
});
type: rancher2:NodeTemplate
properties:
amazonec2Config:
accessKey: string
ami: string
blockDurationMinutes: string
deviceName: string
encryptEbsVolume: false
endpoint: string
httpEndpoint: string
httpTokens: string
iamInstanceProfile: string
insecureTransport: false
instanceType: string
kmsKey: string
monitoring: false
openPorts:
- string
privateAddressOnly: false
region: string
requestSpotInstance: false
retries: string
rootSize: string
secretKey: string
securityGroupReadonly: false
securityGroups:
- string
sessionToken: string
spotPrice: string
sshKeypath: string
sshUser: string
subnetId: string
tags: string
useEbsOptimizedInstance: false
usePrivateAddress: false
userdata: string
volumeType: string
vpcId: string
zone: string
annotations:
string: string
authCertificateAuthority: string
authKey: string
azureConfig:
acceleratedNetworking: false
availabilitySet: string
availabilityZone: string
clientId: string
clientSecret: string
customData: string
diskSize: string
dns: string
dockerPort: string
environment: string
faultDomainCount: string
image: string
location: string
managedDisks: false
noPublicIp: false
nsg: string
openPorts:
- string
plan: string
privateIpAddress: string
resourceGroup: string
size: string
sshUser: string
staticPublicIp: false
storageType: string
subnet: string
subnetPrefix: string
subscriptionId: string
tags: string
updateDomainCount: string
usePrivateIp: false
usePublicIpStandardSku: false
vnet: string
cloudCredentialId: string
description: string
digitaloceanConfig:
accessToken: string
backups: false
image: string
ipv6: false
monitoring: false
privateNetworking: false
region: string
size: string
sshKeyFingerprint: string
sshKeyPath: string
sshPort: string
sshUser: string
tags: string
userdata: string
driverId: string
engineEnv:
string: string
engineInsecureRegistries:
- string
engineInstallUrl: string
engineLabel:
string: string
engineOpt:
string: string
engineRegistryMirrors:
- string
engineStorageDriver: string
harvesterConfig:
cpuCount: string
diskInfo: string
memorySize: string
networkData: string
networkInfo: string
sshPassword: string
sshUser: string
userData: string
vmAffinity: string
vmNamespace: string
hetznerConfig:
apiToken: string
image: string
networks: string
serverLabels:
string: string
serverLocation: string
serverType: string
usePrivateNetwork: false
userdata: string
volumes: string
labels:
string: string
linodeConfig:
authorizedUsers: string
createPrivateIp: false
dockerPort: string
image: string
instanceType: string
label: string
region: string
rootPass: string
sshPort: string
sshUser: string
stackscript: string
stackscriptData: string
swapSize: string
tags: string
token: string
uaPrefix: string
name: string
nodeTaints:
- effect: string
key: string
timeAdded: string
value: string
opennebulaConfig:
b2dSize: string
cpu: string
devPrefix: string
disableVnc: false
diskResize: string
imageId: string
imageName: string
imageOwner: string
memory: string
networkId: string
networkName: string
networkOwner: string
password: string
sshUser: string
templateId: string
templateName: string
user: string
vcpu: string
xmlRpcUrl: string
openstackConfig:
activeTimeout: string
applicationCredentialId: string
applicationCredentialName: string
applicationCredentialSecret: string
authUrl: string
availabilityZone: string
bootFromVolume: false
cacert: string
configDrive: false
domainId: string
domainName: string
endpointType: string
flavorId: string
flavorName: string
floatingIpPool: string
imageId: string
imageName: string
insecure: false
ipVersion: string
keypairName: string
netId: string
netName: string
novaNetwork: false
password: string
privateKeyFile: string
region: string
secGroups: string
sshPort: string
sshUser: string
tenantId: string
tenantName: string
userDataFile: string
username: string
volumeDevicePath: string
volumeId: string
volumeName: string
volumeSize: string
volumeType: string
outscaleConfig:
accessKey: string
extraTagsAlls:
- string
extraTagsInstances:
- string
instanceType: string
region: string
rootDiskIops: 0
rootDiskSize: 0
rootDiskType: string
secretKey: string
securityGroupIds:
- string
sourceOmi: string
useInternalIpAddress: false
vsphereConfig:
boot2dockerUrl: string
cfgparams:
- string
cloneFrom: string
cloudConfig: string
cloudinit: string
contentLibrary: string
cpuCount: string
creationType: string
customAttributes:
- string
datacenter: string
datastore: string
datastoreCluster: string
diskSize: string
folder: string
gracefulShutdownTimeout: string
hostsystem: string
memorySize: string
networks:
- string
password: string
pool: string
sshPassword: string
sshPort: string
sshUser: string
sshUserGroup: string
tags:
- string
username: string
vappIpAllocationPolicy: string
vappIpProtocol: string
vappProperties:
- string
vappTransport: string
vcenter: string
vcenterPort: string
NodeTemplate 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 NodeTemplate resource accepts the following input properties:
- Amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- Annotations Dictionary<string, string>
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- Auth
Key string - Auth key for the Node Template (string)
- Azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- Cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- Description string
- Description for the Node Template (string)
- Digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- Driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- Engine
Env Dictionary<string, string> - Engine environment for the node template (string)
- Engine
Insecure List<string>Registries - Insecure registry for the node template (list)
- Engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - Engine
Label Dictionary<string, string> - Engine label for the node template (string)
- Engine
Opt Dictionary<string, string> - Engine options for the node template (map)
- Engine
Registry List<string>Mirrors - Engine registry mirror for the node template (list)
- Engine
Storage stringDriver - Engine storage driver for the node template (string)
- Harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- Hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- Labels Dictionary<string, string>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- Linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- Name string
- The name of the Node Template (string)
- Node
Taints List<NodeTemplate Node Taint> - Node taints. For Rancher v2.3.3 and above (List)
- Opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- Openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- Outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- Use
Internal boolIp Address - Engine storage driver for the node template (bool)
- Vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- Amazonec2Config
Node
Template Amazonec2Config Args - AWS config for the Node Template (list maxitems:1)
- Annotations map[string]string
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- Auth
Key string - Auth key for the Node Template (string)
- Azure
Config NodeTemplate Azure Config Args - Azure config for the Node Template (list maxitems:1)
- Cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- Description string
- Description for the Node Template (string)
- Digitalocean
Config NodeTemplate Digitalocean Config Args - Digitalocean config for the Node Template (list maxitems:1)
- Driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- Engine
Env map[string]string - Engine environment for the node template (string)
- Engine
Insecure []stringRegistries - Insecure registry for the node template (list)
- Engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - Engine
Label map[string]string - Engine label for the node template (string)
- Engine
Opt map[string]string - Engine options for the node template (map)
- Engine
Registry []stringMirrors - Engine registry mirror for the node template (list)
- Engine
Storage stringDriver - Engine storage driver for the node template (string)
- Harvester
Config NodeTemplate Harvester Config Args - Harvester config for the Node Template (list maxitems:1)
- Hetzner
Config NodeTemplate Hetzner Config Args - Hetzner config for the Node Template (list maxitems:1)
- Labels map[string]string
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- Linode
Config NodeTemplate Linode Config Args - Linode config for the Node Template (list maxitems:1)
- Name string
- The name of the Node Template (string)
- Node
Taints []NodeTemplate Node Taint Args - Node taints. For Rancher v2.3.3 and above (List)
- Opennebula
Config NodeTemplate Opennebula Config Args - Opennebula config for the Node Template (list maxitems:1)
- Openstack
Config NodeTemplate Openstack Config Args - Openstack config for the Node Template (list maxitems:1)
- Outscale
Config NodeTemplate Outscale Config Args - Outscale config for the Node Template (list maxitems:1)
- Use
Internal boolIp Address - Engine storage driver for the node template (bool)
- Vsphere
Config NodeTemplate Vsphere Config Args - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- annotations Map<String,String>
- Annotations for Node Template object (map)
- String
- Auth certificate authority for the Node Template (string)
- auth
Key String - Auth key for the Node Template (string)
- azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- cloud
Credential StringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description String
- Description for the Node Template (string)
- digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- driver
Id String - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env Map<String,String> - Engine environment for the node template (string)
- engine
Insecure List<String>Registries - Insecure registry for the node template (list)
- engine
Install StringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label Map<String,String> - Engine label for the node template (string)
- engine
Opt Map<String,String> - Engine options for the node template (map)
- engine
Registry List<String>Mirrors - Engine registry mirror for the node template (list)
- engine
Storage StringDriver - Engine storage driver for the node template (string)
- harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- labels Map<String,String>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- name String
- The name of the Node Template (string)
- node
Taints List<NodeTemplate Node Taint> - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- use
Internal BooleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- annotations {[key: string]: string}
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- auth
Key string - Auth key for the Node Template (string)
- azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description string
- Description for the Node Template (string)
- digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env {[key: string]: string} - Engine environment for the node template (string)
- engine
Insecure string[]Registries - Insecure registry for the node template (list)
- engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label {[key: string]: string} - Engine label for the node template (string)
- engine
Opt {[key: string]: string} - Engine options for the node template (map)
- engine
Registry string[]Mirrors - Engine registry mirror for the node template (list)
- engine
Storage stringDriver - Engine storage driver for the node template (string)
- harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- labels {[key: string]: string}
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- name string
- The name of the Node Template (string)
- node
Taints NodeTemplate Node Taint[] - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- use
Internal booleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- amazonec2_
config NodeTemplate Amazonec2Config Args - AWS config for the Node Template (list maxitems:1)
- annotations Mapping[str, str]
- Annotations for Node Template object (map)
- str
- Auth certificate authority for the Node Template (string)
- auth_
key str - Auth key for the Node Template (string)
- azure_
config NodeTemplate Azure Config Args - Azure config for the Node Template (list maxitems:1)
- cloud_
credential_ strid - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description str
- Description for the Node Template (string)
- digitalocean_
config NodeTemplate Digitalocean Config Args - Digitalocean config for the Node Template (list maxitems:1)
- driver_
id str - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine_
env Mapping[str, str] - Engine environment for the node template (string)
- engine_
insecure_ Sequence[str]registries - Insecure registry for the node template (list)
- engine_
install_ strurl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine_
label Mapping[str, str] - Engine label for the node template (string)
- engine_
opt Mapping[str, str] - Engine options for the node template (map)
- engine_
registry_ Sequence[str]mirrors - Engine registry mirror for the node template (list)
- engine_
storage_ strdriver - Engine storage driver for the node template (string)
- harvester_
config NodeTemplate Harvester Config Args - Harvester config for the Node Template (list maxitems:1)
- hetzner_
config NodeTemplate Hetzner Config Args - Hetzner config for the Node Template (list maxitems:1)
- labels Mapping[str, str]
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode_
config NodeTemplate Linode Config Args - Linode config for the Node Template (list maxitems:1)
- name str
- The name of the Node Template (string)
- node_
taints Sequence[NodeTemplate Node Taint Args] - Node taints. For Rancher v2.3.3 and above (List)
- opennebula_
config NodeTemplate Opennebula Config Args - Opennebula config for the Node Template (list maxitems:1)
- openstack_
config NodeTemplate Openstack Config Args - Openstack config for the Node Template (list maxitems:1)
- outscale_
config NodeTemplate Outscale Config Args - Outscale config for the Node Template (list maxitems:1)
- use_
internal_ boolip_ address - Engine storage driver for the node template (bool)
- vsphere_
config NodeTemplate Vsphere Config Args - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config Property Map
- AWS config for the Node Template (list maxitems:1)
- annotations Map<String>
- Annotations for Node Template object (map)
- String
- Auth certificate authority for the Node Template (string)
- auth
Key String - Auth key for the Node Template (string)
- azure
Config Property Map - Azure config for the Node Template (list maxitems:1)
- cloud
Credential StringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description String
- Description for the Node Template (string)
- digitalocean
Config Property Map - Digitalocean config for the Node Template (list maxitems:1)
- driver
Id String - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env Map<String> - Engine environment for the node template (string)
- engine
Insecure List<String>Registries - Insecure registry for the node template (list)
- engine
Install StringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label Map<String> - Engine label for the node template (string)
- engine
Opt Map<String> - Engine options for the node template (map)
- engine
Registry List<String>Mirrors - Engine registry mirror for the node template (list)
- engine
Storage StringDriver - Engine storage driver for the node template (string)
- harvester
Config Property Map - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config Property Map - Hetzner config for the Node Template (list maxitems:1)
- labels Map<String>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config Property Map - Linode config for the Node Template (list maxitems:1)
- name String
- The name of the Node Template (string)
- node
Taints List<Property Map> - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config Property Map - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config Property Map - Openstack config for the Node Template (list maxitems:1)
- outscale
Config Property Map - Outscale config for the Node Template (list maxitems:1)
- use
Internal BooleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config Property Map - vSphere config for the Node Template (list maxitems:1)
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeTemplate resource produces the following output properties:
Look up Existing NodeTemplate Resource
Get an existing NodeTemplate 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?: NodeTemplateState, opts?: CustomResourceOptions): NodeTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
amazonec2_config: Optional[NodeTemplateAmazonec2ConfigArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
auth_certificate_authority: Optional[str] = None,
auth_key: Optional[str] = None,
azure_config: Optional[NodeTemplateAzureConfigArgs] = None,
cloud_credential_id: Optional[str] = None,
description: Optional[str] = None,
digitalocean_config: Optional[NodeTemplateDigitaloceanConfigArgs] = None,
driver: Optional[str] = None,
driver_id: Optional[str] = None,
engine_env: Optional[Mapping[str, str]] = None,
engine_insecure_registries: Optional[Sequence[str]] = None,
engine_install_url: Optional[str] = None,
engine_label: Optional[Mapping[str, str]] = None,
engine_opt: Optional[Mapping[str, str]] = None,
engine_registry_mirrors: Optional[Sequence[str]] = None,
engine_storage_driver: Optional[str] = None,
harvester_config: Optional[NodeTemplateHarvesterConfigArgs] = None,
hetzner_config: Optional[NodeTemplateHetznerConfigArgs] = None,
labels: Optional[Mapping[str, str]] = None,
linode_config: Optional[NodeTemplateLinodeConfigArgs] = None,
name: Optional[str] = None,
node_taints: Optional[Sequence[NodeTemplateNodeTaintArgs]] = None,
opennebula_config: Optional[NodeTemplateOpennebulaConfigArgs] = None,
openstack_config: Optional[NodeTemplateOpenstackConfigArgs] = None,
outscale_config: Optional[NodeTemplateOutscaleConfigArgs] = None,
use_internal_ip_address: Optional[bool] = None,
vsphere_config: Optional[NodeTemplateVsphereConfigArgs] = None) -> NodeTemplate
func GetNodeTemplate(ctx *Context, name string, id IDInput, state *NodeTemplateState, opts ...ResourceOption) (*NodeTemplate, error)
public static NodeTemplate Get(string name, Input<string> id, NodeTemplateState? state, CustomResourceOptions? opts = null)
public static NodeTemplate get(String name, Output<String> id, NodeTemplateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- Annotations Dictionary<string, string>
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- Auth
Key string - Auth key for the Node Template (string)
- Azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- Cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- Description string
- Description for the Node Template (string)
- Digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- Driver string
- (Computed) The driver of the node template (string)
- Driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- Engine
Env Dictionary<string, string> - Engine environment for the node template (string)
- Engine
Insecure List<string>Registries - Insecure registry for the node template (list)
- Engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - Engine
Label Dictionary<string, string> - Engine label for the node template (string)
- Engine
Opt Dictionary<string, string> - Engine options for the node template (map)
- Engine
Registry List<string>Mirrors - Engine registry mirror for the node template (list)
- Engine
Storage stringDriver - Engine storage driver for the node template (string)
- Harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- Hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- Labels Dictionary<string, string>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- Linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- Name string
- The name of the Node Template (string)
- Node
Taints List<NodeTemplate Node Taint> - Node taints. For Rancher v2.3.3 and above (List)
- Opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- Openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- Outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- Use
Internal boolIp Address - Engine storage driver for the node template (bool)
- Vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- Amazonec2Config
Node
Template Amazonec2Config Args - AWS config for the Node Template (list maxitems:1)
- Annotations map[string]string
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- Auth
Key string - Auth key for the Node Template (string)
- Azure
Config NodeTemplate Azure Config Args - Azure config for the Node Template (list maxitems:1)
- Cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- Description string
- Description for the Node Template (string)
- Digitalocean
Config NodeTemplate Digitalocean Config Args - Digitalocean config for the Node Template (list maxitems:1)
- Driver string
- (Computed) The driver of the node template (string)
- Driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- Engine
Env map[string]string - Engine environment for the node template (string)
- Engine
Insecure []stringRegistries - Insecure registry for the node template (list)
- Engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - Engine
Label map[string]string - Engine label for the node template (string)
- Engine
Opt map[string]string - Engine options for the node template (map)
- Engine
Registry []stringMirrors - Engine registry mirror for the node template (list)
- Engine
Storage stringDriver - Engine storage driver for the node template (string)
- Harvester
Config NodeTemplate Harvester Config Args - Harvester config for the Node Template (list maxitems:1)
- Hetzner
Config NodeTemplate Hetzner Config Args - Hetzner config for the Node Template (list maxitems:1)
- Labels map[string]string
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- Linode
Config NodeTemplate Linode Config Args - Linode config for the Node Template (list maxitems:1)
- Name string
- The name of the Node Template (string)
- Node
Taints []NodeTemplate Node Taint Args - Node taints. For Rancher v2.3.3 and above (List)
- Opennebula
Config NodeTemplate Opennebula Config Args - Opennebula config for the Node Template (list maxitems:1)
- Openstack
Config NodeTemplate Openstack Config Args - Openstack config for the Node Template (list maxitems:1)
- Outscale
Config NodeTemplate Outscale Config Args - Outscale config for the Node Template (list maxitems:1)
- Use
Internal boolIp Address - Engine storage driver for the node template (bool)
- Vsphere
Config NodeTemplate Vsphere Config Args - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- annotations Map<String,String>
- Annotations for Node Template object (map)
- String
- Auth certificate authority for the Node Template (string)
- auth
Key String - Auth key for the Node Template (string)
- azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- cloud
Credential StringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description String
- Description for the Node Template (string)
- digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- driver String
- (Computed) The driver of the node template (string)
- driver
Id String - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env Map<String,String> - Engine environment for the node template (string)
- engine
Insecure List<String>Registries - Insecure registry for the node template (list)
- engine
Install StringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label Map<String,String> - Engine label for the node template (string)
- engine
Opt Map<String,String> - Engine options for the node template (map)
- engine
Registry List<String>Mirrors - Engine registry mirror for the node template (list)
- engine
Storage StringDriver - Engine storage driver for the node template (string)
- harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- labels Map<String,String>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- name String
- The name of the Node Template (string)
- node
Taints List<NodeTemplate Node Taint> - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- use
Internal BooleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config
Node
Template Amazonec2Config - AWS config for the Node Template (list maxitems:1)
- annotations {[key: string]: string}
- Annotations for Node Template object (map)
- string
- Auth certificate authority for the Node Template (string)
- auth
Key string - Auth key for the Node Template (string)
- azure
Config NodeTemplate Azure Config - Azure config for the Node Template (list maxitems:1)
- cloud
Credential stringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description string
- Description for the Node Template (string)
- digitalocean
Config NodeTemplate Digitalocean Config - Digitalocean config for the Node Template (list maxitems:1)
- driver string
- (Computed) The driver of the node template (string)
- driver
Id string - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env {[key: string]: string} - Engine environment for the node template (string)
- engine
Insecure string[]Registries - Insecure registry for the node template (list)
- engine
Install stringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label {[key: string]: string} - Engine label for the node template (string)
- engine
Opt {[key: string]: string} - Engine options for the node template (map)
- engine
Registry string[]Mirrors - Engine registry mirror for the node template (list)
- engine
Storage stringDriver - Engine storage driver for the node template (string)
- harvester
Config NodeTemplate Harvester Config - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config NodeTemplate Hetzner Config - Hetzner config for the Node Template (list maxitems:1)
- labels {[key: string]: string}
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config NodeTemplate Linode Config - Linode config for the Node Template (list maxitems:1)
- name string
- The name of the Node Template (string)
- node
Taints NodeTemplate Node Taint[] - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config NodeTemplate Opennebula Config - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config NodeTemplate Openstack Config - Openstack config for the Node Template (list maxitems:1)
- outscale
Config NodeTemplate Outscale Config - Outscale config for the Node Template (list maxitems:1)
- use
Internal booleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config NodeTemplate Vsphere Config - vSphere config for the Node Template (list maxitems:1)
- amazonec2_
config NodeTemplate Amazonec2Config Args - AWS config for the Node Template (list maxitems:1)
- annotations Mapping[str, str]
- Annotations for Node Template object (map)
- str
- Auth certificate authority for the Node Template (string)
- auth_
key str - Auth key for the Node Template (string)
- azure_
config NodeTemplate Azure Config Args - Azure config for the Node Template (list maxitems:1)
- cloud_
credential_ strid - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description str
- Description for the Node Template (string)
- digitalocean_
config NodeTemplate Digitalocean Config Args - Digitalocean config for the Node Template (list maxitems:1)
- driver str
- (Computed) The driver of the node template (string)
- driver_
id str - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine_
env Mapping[str, str] - Engine environment for the node template (string)
- engine_
insecure_ Sequence[str]registries - Insecure registry for the node template (list)
- engine_
install_ strurl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine_
label Mapping[str, str] - Engine label for the node template (string)
- engine_
opt Mapping[str, str] - Engine options for the node template (map)
- engine_
registry_ Sequence[str]mirrors - Engine registry mirror for the node template (list)
- engine_
storage_ strdriver - Engine storage driver for the node template (string)
- harvester_
config NodeTemplate Harvester Config Args - Harvester config for the Node Template (list maxitems:1)
- hetzner_
config NodeTemplate Hetzner Config Args - Hetzner config for the Node Template (list maxitems:1)
- labels Mapping[str, str]
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode_
config NodeTemplate Linode Config Args - Linode config for the Node Template (list maxitems:1)
- name str
- The name of the Node Template (string)
- node_
taints Sequence[NodeTemplate Node Taint Args] - Node taints. For Rancher v2.3.3 and above (List)
- opennebula_
config NodeTemplate Opennebula Config Args - Opennebula config for the Node Template (list maxitems:1)
- openstack_
config NodeTemplate Openstack Config Args - Openstack config for the Node Template (list maxitems:1)
- outscale_
config NodeTemplate Outscale Config Args - Outscale config for the Node Template (list maxitems:1)
- use_
internal_ boolip_ address - Engine storage driver for the node template (bool)
- vsphere_
config NodeTemplate Vsphere Config Args - vSphere config for the Node Template (list maxitems:1)
- amazonec2Config Property Map
- AWS config for the Node Template (list maxitems:1)
- annotations Map<String>
- Annotations for Node Template object (map)
- String
- Auth certificate authority for the Node Template (string)
- auth
Key String - Auth key for the Node Template (string)
- azure
Config Property Map - Azure config for the Node Template (list maxitems:1)
- cloud
Credential StringId - Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
- description String
- Description for the Node Template (string)
- digitalocean
Config Property Map - Digitalocean config for the Node Template (list maxitems:1)
- driver String
- (Computed) The driver of the node template (string)
- driver
Id String - The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
- engine
Env Map<String> - Engine environment for the node template (string)
- engine
Insecure List<String>Registries - Insecure registry for the node template (list)
- engine
Install StringUrl - Docker engine install URL for the node template. Available install docker versions at
https://github.com/rancher/install-docker
(string) - engine
Label Map<String> - Engine label for the node template (string)
- engine
Opt Map<String> - Engine options for the node template (map)
- engine
Registry List<String>Mirrors - Engine registry mirror for the node template (list)
- engine
Storage StringDriver - Engine storage driver for the node template (string)
- harvester
Config Property Map - Harvester config for the Node Template (list maxitems:1)
- hetzner
Config Property Map - Hetzner config for the Node Template (list maxitems:1)
- labels Map<String>
Labels for Node Template object (map)
Note:
labels
andnode_taints
will be applied to nodes deployed using the Node Template- linode
Config Property Map - Linode config for the Node Template (list maxitems:1)
- name String
- The name of the Node Template (string)
- node
Taints List<Property Map> - Node taints. For Rancher v2.3.3 and above (List)
- opennebula
Config Property Map - Opennebula config for the Node Template (list maxitems:1)
- openstack
Config Property Map - Openstack config for the Node Template (list maxitems:1)
- outscale
Config Property Map - Outscale config for the Node Template (list maxitems:1)
- use
Internal BooleanIp Address - Engine storage driver for the node template (bool)
- vsphere
Config Property Map - vSphere config for the Node Template (list maxitems:1)
Supporting Types
NodeTemplateAmazonec2Config, NodeTemplateAmazonec2ConfigArgs
- Ami string
- AWS machine image
- Region string
- AWS Region
- Security
Groups List<string> - AWS VPC security group
- Subnet
Id string - AWS VPC subnet id
- Vpc
Id string - AWS VPC id
- Zone string
- AWS zone for instance (i.e. a,b,c,d,e)
- Access
Key string - AWS Access Key
- Block
Duration stringMinutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- Device
Name string - AWS root device name
- Encrypt
Ebs boolVolume - Encrypt EBS volume
- Endpoint string
- Optional endpoint URL (hostname only or fully qualified URI)
- Http
Endpoint string - Enables or disables the HTTP metadata endpoint on your instances
- Http
Tokens string - The state of token usage for your instance metadata requests
- Iam
Instance stringProfile - AWS IAM Instance Profile
- Insecure
Transport bool - Disable SSL when sending requests
- Instance
Type string - AWS instance type
- Kms
Key string - Custom KMS key ID using the AWS Managed CMK
- Monitoring bool
- Set this flag to enable CloudWatch monitoring
- Open
Ports List<string> - Make the specified port number accessible from the Internet
- Private
Address boolOnly - Only use a private IP address
- Request
Spot boolInstance - Set this flag to request spot instance
- Retries string
- Set retry count for recoverable failures (use -1 to disable)
- Root
Size string - AWS root disk size (in GB)
- Secret
Key string - AWS Secret Key
- Security
Group boolReadonly - Skip adding default rules to security groups
- Session
Token string - AWS Session Token
- Spot
Price string - AWS spot instance bid price (in dollar)
- Ssh
Keypath string - SSH Key for Instance
- Ssh
User string - Set the name of the ssh user
- string
- AWS Tags (e.g. key1,value1,key2,value2)
- Use
Ebs boolOptimized Instance - Create an EBS optimized instance
- Use
Private boolAddress - Force the usage of private IP address
- Userdata string
- Path to file with cloud-init user data
- Volume
Type string - Amazon EBS volume type
- Ami string
- AWS machine image
- Region string
- AWS Region
- Security
Groups []string - AWS VPC security group
- Subnet
Id string - AWS VPC subnet id
- Vpc
Id string - AWS VPC id
- Zone string
- AWS zone for instance (i.e. a,b,c,d,e)
- Access
Key string - AWS Access Key
- Block
Duration stringMinutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- Device
Name string - AWS root device name
- Encrypt
Ebs boolVolume - Encrypt EBS volume
- Endpoint string
- Optional endpoint URL (hostname only or fully qualified URI)
- Http
Endpoint string - Enables or disables the HTTP metadata endpoint on your instances
- Http
Tokens string - The state of token usage for your instance metadata requests
- Iam
Instance stringProfile - AWS IAM Instance Profile
- Insecure
Transport bool - Disable SSL when sending requests
- Instance
Type string - AWS instance type
- Kms
Key string - Custom KMS key ID using the AWS Managed CMK
- Monitoring bool
- Set this flag to enable CloudWatch monitoring
- Open
Ports []string - Make the specified port number accessible from the Internet
- Private
Address boolOnly - Only use a private IP address
- Request
Spot boolInstance - Set this flag to request spot instance
- Retries string
- Set retry count for recoverable failures (use -1 to disable)
- Root
Size string - AWS root disk size (in GB)
- Secret
Key string - AWS Secret Key
- Security
Group boolReadonly - Skip adding default rules to security groups
- Session
Token string - AWS Session Token
- Spot
Price string - AWS spot instance bid price (in dollar)
- Ssh
Keypath string - SSH Key for Instance
- Ssh
User string - Set the name of the ssh user
- string
- AWS Tags (e.g. key1,value1,key2,value2)
- Use
Ebs boolOptimized Instance - Create an EBS optimized instance
- Use
Private boolAddress - Force the usage of private IP address
- Userdata string
- Path to file with cloud-init user data
- Volume
Type string - Amazon EBS volume type
- ami String
- AWS machine image
- region String
- AWS Region
- security
Groups List<String> - AWS VPC security group
- subnet
Id String - AWS VPC subnet id
- vpc
Id String - AWS VPC id
- zone String
- AWS zone for instance (i.e. a,b,c,d,e)
- access
Key String - AWS Access Key
- block
Duration StringMinutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- device
Name String - AWS root device name
- encrypt
Ebs BooleanVolume - Encrypt EBS volume
- endpoint String
- Optional endpoint URL (hostname only or fully qualified URI)
- http
Endpoint String - Enables or disables the HTTP metadata endpoint on your instances
- http
Tokens String - The state of token usage for your instance metadata requests
- iam
Instance StringProfile - AWS IAM Instance Profile
- insecure
Transport Boolean - Disable SSL when sending requests
- instance
Type String - AWS instance type
- kms
Key String - Custom KMS key ID using the AWS Managed CMK
- monitoring Boolean
- Set this flag to enable CloudWatch monitoring
- open
Ports List<String> - Make the specified port number accessible from the Internet
- private
Address BooleanOnly - Only use a private IP address
- request
Spot BooleanInstance - Set this flag to request spot instance
- retries String
- Set retry count for recoverable failures (use -1 to disable)
- root
Size String - AWS root disk size (in GB)
- secret
Key String - AWS Secret Key
- security
Group BooleanReadonly - Skip adding default rules to security groups
- session
Token String - AWS Session Token
- spot
Price String - AWS spot instance bid price (in dollar)
- ssh
Keypath String - SSH Key for Instance
- ssh
User String - Set the name of the ssh user
- String
- AWS Tags (e.g. key1,value1,key2,value2)
- use
Ebs BooleanOptimized Instance - Create an EBS optimized instance
- use
Private BooleanAddress - Force the usage of private IP address
- userdata String
- Path to file with cloud-init user data
- volume
Type String - Amazon EBS volume type
- ami string
- AWS machine image
- region string
- AWS Region
- security
Groups string[] - AWS VPC security group
- subnet
Id string - AWS VPC subnet id
- vpc
Id string - AWS VPC id
- zone string
- AWS zone for instance (i.e. a,b,c,d,e)
- access
Key string - AWS Access Key
- block
Duration stringMinutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- device
Name string - AWS root device name
- encrypt
Ebs booleanVolume - Encrypt EBS volume
- endpoint string
- Optional endpoint URL (hostname only or fully qualified URI)
- http
Endpoint string - Enables or disables the HTTP metadata endpoint on your instances
- http
Tokens string - The state of token usage for your instance metadata requests
- iam
Instance stringProfile - AWS IAM Instance Profile
- insecure
Transport boolean - Disable SSL when sending requests
- instance
Type string - AWS instance type
- kms
Key string - Custom KMS key ID using the AWS Managed CMK
- monitoring boolean
- Set this flag to enable CloudWatch monitoring
- open
Ports string[] - Make the specified port number accessible from the Internet
- private
Address booleanOnly - Only use a private IP address
- request
Spot booleanInstance - Set this flag to request spot instance
- retries string
- Set retry count for recoverable failures (use -1 to disable)
- root
Size string - AWS root disk size (in GB)
- secret
Key string - AWS Secret Key
- security
Group booleanReadonly - Skip adding default rules to security groups
- session
Token string - AWS Session Token
- spot
Price string - AWS spot instance bid price (in dollar)
- ssh
Keypath string - SSH Key for Instance
- ssh
User string - Set the name of the ssh user
- string
- AWS Tags (e.g. key1,value1,key2,value2)
- use
Ebs booleanOptimized Instance - Create an EBS optimized instance
- use
Private booleanAddress - Force the usage of private IP address
- userdata string
- Path to file with cloud-init user data
- volume
Type string - Amazon EBS volume type
- ami str
- AWS machine image
- region str
- AWS Region
- security_
groups Sequence[str] - AWS VPC security group
- subnet_
id str - AWS VPC subnet id
- vpc_
id str - AWS VPC id
- zone str
- AWS zone for instance (i.e. a,b,c,d,e)
- access_
key str - AWS Access Key
- block_
duration_ strminutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- device_
name str - AWS root device name
- encrypt_
ebs_ boolvolume - Encrypt EBS volume
- endpoint str
- Optional endpoint URL (hostname only or fully qualified URI)
- http_
endpoint str - Enables or disables the HTTP metadata endpoint on your instances
- http_
tokens str - The state of token usage for your instance metadata requests
- iam_
instance_ strprofile - AWS IAM Instance Profile
- insecure_
transport bool - Disable SSL when sending requests
- instance_
type str - AWS instance type
- kms_
key str - Custom KMS key ID using the AWS Managed CMK
- monitoring bool
- Set this flag to enable CloudWatch monitoring
- open_
ports Sequence[str] - Make the specified port number accessible from the Internet
- private_
address_ boolonly - Only use a private IP address
- request_
spot_ boolinstance - Set this flag to request spot instance
- retries str
- Set retry count for recoverable failures (use -1 to disable)
- root_
size str - AWS root disk size (in GB)
- secret_
key str - AWS Secret Key
- security_
group_ boolreadonly - Skip adding default rules to security groups
- session_
token str - AWS Session Token
- spot_
price str - AWS spot instance bid price (in dollar)
- ssh_
keypath str - SSH Key for Instance
- ssh_
user str - Set the name of the ssh user
- str
- AWS Tags (e.g. key1,value1,key2,value2)
- use_
ebs_ booloptimized_ instance - Create an EBS optimized instance
- use_
private_ booladdress - Force the usage of private IP address
- userdata str
- Path to file with cloud-init user data
- volume_
type str - Amazon EBS volume type
- ami String
- AWS machine image
- region String
- AWS Region
- security
Groups List<String> - AWS VPC security group
- subnet
Id String - AWS VPC subnet id
- vpc
Id String - AWS VPC id
- zone String
- AWS zone for instance (i.e. a,b,c,d,e)
- access
Key String - AWS Access Key
- block
Duration StringMinutes - AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
- device
Name String - AWS root device name
- encrypt
Ebs BooleanVolume - Encrypt EBS volume
- endpoint String
- Optional endpoint URL (hostname only or fully qualified URI)
- http
Endpoint String - Enables or disables the HTTP metadata endpoint on your instances
- http
Tokens String - The state of token usage for your instance metadata requests
- iam
Instance StringProfile - AWS IAM Instance Profile
- insecure
Transport Boolean - Disable SSL when sending requests
- instance
Type String - AWS instance type
- kms
Key String - Custom KMS key ID using the AWS Managed CMK
- monitoring Boolean
- Set this flag to enable CloudWatch monitoring
- open
Ports List<String> - Make the specified port number accessible from the Internet
- private
Address BooleanOnly - Only use a private IP address
- request
Spot BooleanInstance - Set this flag to request spot instance
- retries String
- Set retry count for recoverable failures (use -1 to disable)
- root
Size String - AWS root disk size (in GB)
- secret
Key String - AWS Secret Key
- security
Group BooleanReadonly - Skip adding default rules to security groups
- session
Token String - AWS Session Token
- spot
Price String - AWS spot instance bid price (in dollar)
- ssh
Keypath String - SSH Key for Instance
- ssh
User String - Set the name of the ssh user
- String
- AWS Tags (e.g. key1,value1,key2,value2)
- use
Ebs BooleanOptimized Instance - Create an EBS optimized instance
- use
Private BooleanAddress - Force the usage of private IP address
- userdata String
- Path to file with cloud-init user data
- volume
Type String - Amazon EBS volume type
NodeTemplateAzureConfig, NodeTemplateAzureConfigArgs
- Accelerated
Networking bool - Enable Accelerated Networking when creating an Azure Network Interface
- Availability
Set string - Azure Availability Set to place the virtual machine into
- Availability
Zone string - The Azure Availability Zone the VM should be created in
- Client
Id string - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- Client
Secret string - Azure Service Principal Account password (optional, browser auth is used if not specified)
- Custom
Data string - Path to file with custom-data
- Disk
Size string - Disk size if using managed disk
- Dns string
- A unique DNS label for the public IP adddress
- Docker
Port string - Port number for Docker engine
- Environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- Fault
Domain stringCount - Fault domain count to use for availability set
- Image string
- Azure virtual machine OS image
- Location string
- Azure region to create the virtual machine
- Managed
Disks bool - Configures VM and availability set for managed disks
- No
Public boolIp - Do not create a public IP address for the machine
- Nsg string
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- Open
Ports List<string> - Make the specified port number accessible from the Internet
- Plan string
- Purchase plan for Azure Virtual Machine (in :: format)
- Private
Ip stringAddress - Specify a static private IP address for the machine
- Resource
Group string - Azure Resource Group name (will be created if missing)
- Size string
- Size for Azure Virtual Machine
- Ssh
User string - Username for SSH login
- Static
Public boolIp - Assign a static public IP address to the machine
- Storage
Type string - Type of Storage Account to host the OS Disk for the machine
- Subnet string
- Azure Subnet Name to be used within the Virtual Network
- Subnet
Prefix string - Private CIDR block to be used for the new subnet, should comply RFC 1918
- Subscription
Id string - Azure Subscription ID
- string
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- Update
Domain stringCount - Update domain count to use for availability set
- Use
Private boolIp - Use private IP address of the machine to connect
- Use
Public boolIp Standard Sku - Use the Standard SKU when creating a public IP for an Azure VM
- Vnet string
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
- Accelerated
Networking bool - Enable Accelerated Networking when creating an Azure Network Interface
- Availability
Set string - Azure Availability Set to place the virtual machine into
- Availability
Zone string - The Azure Availability Zone the VM should be created in
- Client
Id string - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- Client
Secret string - Azure Service Principal Account password (optional, browser auth is used if not specified)
- Custom
Data string - Path to file with custom-data
- Disk
Size string - Disk size if using managed disk
- Dns string
- A unique DNS label for the public IP adddress
- Docker
Port string - Port number for Docker engine
- Environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- Fault
Domain stringCount - Fault domain count to use for availability set
- Image string
- Azure virtual machine OS image
- Location string
- Azure region to create the virtual machine
- Managed
Disks bool - Configures VM and availability set for managed disks
- No
Public boolIp - Do not create a public IP address for the machine
- Nsg string
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- Open
Ports []string - Make the specified port number accessible from the Internet
- Plan string
- Purchase plan for Azure Virtual Machine (in :: format)
- Private
Ip stringAddress - Specify a static private IP address for the machine
- Resource
Group string - Azure Resource Group name (will be created if missing)
- Size string
- Size for Azure Virtual Machine
- Ssh
User string - Username for SSH login
- Static
Public boolIp - Assign a static public IP address to the machine
- Storage
Type string - Type of Storage Account to host the OS Disk for the machine
- Subnet string
- Azure Subnet Name to be used within the Virtual Network
- Subnet
Prefix string - Private CIDR block to be used for the new subnet, should comply RFC 1918
- Subscription
Id string - Azure Subscription ID
- string
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- Update
Domain stringCount - Update domain count to use for availability set
- Use
Private boolIp - Use private IP address of the machine to connect
- Use
Public boolIp Standard Sku - Use the Standard SKU when creating a public IP for an Azure VM
- Vnet string
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
- accelerated
Networking Boolean - Enable Accelerated Networking when creating an Azure Network Interface
- availability
Set String - Azure Availability Set to place the virtual machine into
- availability
Zone String - The Azure Availability Zone the VM should be created in
- client
Id String - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- client
Secret String - Azure Service Principal Account password (optional, browser auth is used if not specified)
- custom
Data String - Path to file with custom-data
- disk
Size String - Disk size if using managed disk
- dns String
- A unique DNS label for the public IP adddress
- docker
Port String - Port number for Docker engine
- environment String
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- fault
Domain StringCount - Fault domain count to use for availability set
- image String
- Azure virtual machine OS image
- location String
- Azure region to create the virtual machine
- managed
Disks Boolean - Configures VM and availability set for managed disks
- no
Public BooleanIp - Do not create a public IP address for the machine
- nsg String
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- open
Ports List<String> - Make the specified port number accessible from the Internet
- plan String
- Purchase plan for Azure Virtual Machine (in :: format)
- private
Ip StringAddress - Specify a static private IP address for the machine
- resource
Group String - Azure Resource Group name (will be created if missing)
- size String
- Size for Azure Virtual Machine
- ssh
User String - Username for SSH login
- static
Public BooleanIp - Assign a static public IP address to the machine
- storage
Type String - Type of Storage Account to host the OS Disk for the machine
- subnet String
- Azure Subnet Name to be used within the Virtual Network
- subnet
Prefix String - Private CIDR block to be used for the new subnet, should comply RFC 1918
- subscription
Id String - Azure Subscription ID
- String
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- update
Domain StringCount - Update domain count to use for availability set
- use
Private BooleanIp - Use private IP address of the machine to connect
- use
Public BooleanIp Standard Sku - Use the Standard SKU when creating a public IP for an Azure VM
- vnet String
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
- accelerated
Networking boolean - Enable Accelerated Networking when creating an Azure Network Interface
- availability
Set string - Azure Availability Set to place the virtual machine into
- availability
Zone string - The Azure Availability Zone the VM should be created in
- client
Id string - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- client
Secret string - Azure Service Principal Account password (optional, browser auth is used if not specified)
- custom
Data string - Path to file with custom-data
- disk
Size string - Disk size if using managed disk
- dns string
- A unique DNS label for the public IP adddress
- docker
Port string - Port number for Docker engine
- environment string
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- fault
Domain stringCount - Fault domain count to use for availability set
- image string
- Azure virtual machine OS image
- location string
- Azure region to create the virtual machine
- managed
Disks boolean - Configures VM and availability set for managed disks
- no
Public booleanIp - Do not create a public IP address for the machine
- nsg string
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- open
Ports string[] - Make the specified port number accessible from the Internet
- plan string
- Purchase plan for Azure Virtual Machine (in :: format)
- private
Ip stringAddress - Specify a static private IP address for the machine
- resource
Group string - Azure Resource Group name (will be created if missing)
- size string
- Size for Azure Virtual Machine
- ssh
User string - Username for SSH login
- static
Public booleanIp - Assign a static public IP address to the machine
- storage
Type string - Type of Storage Account to host the OS Disk for the machine
- subnet string
- Azure Subnet Name to be used within the Virtual Network
- subnet
Prefix string - Private CIDR block to be used for the new subnet, should comply RFC 1918
- subscription
Id string - Azure Subscription ID
- string
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- update
Domain stringCount - Update domain count to use for availability set
- use
Private booleanIp - Use private IP address of the machine to connect
- use
Public booleanIp Standard Sku - Use the Standard SKU when creating a public IP for an Azure VM
- vnet string
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
- accelerated_
networking bool - Enable Accelerated Networking when creating an Azure Network Interface
- availability_
set str - Azure Availability Set to place the virtual machine into
- availability_
zone str - The Azure Availability Zone the VM should be created in
- client_
id str - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- client_
secret str - Azure Service Principal Account password (optional, browser auth is used if not specified)
- custom_
data str - Path to file with custom-data
- disk_
size str - Disk size if using managed disk
- dns str
- A unique DNS label for the public IP adddress
- docker_
port str - Port number for Docker engine
- environment str
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- fault_
domain_ strcount - Fault domain count to use for availability set
- image str
- Azure virtual machine OS image
- location str
- Azure region to create the virtual machine
- managed_
disks bool - Configures VM and availability set for managed disks
- no_
public_ boolip - Do not create a public IP address for the machine
- nsg str
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- open_
ports Sequence[str] - Make the specified port number accessible from the Internet
- plan str
- Purchase plan for Azure Virtual Machine (in :: format)
- private_
ip_ straddress - Specify a static private IP address for the machine
- resource_
group str - Azure Resource Group name (will be created if missing)
- size str
- Size for Azure Virtual Machine
- ssh_
user str - Username for SSH login
- static_
public_ boolip - Assign a static public IP address to the machine
- storage_
type str - Type of Storage Account to host the OS Disk for the machine
- subnet str
- Azure Subnet Name to be used within the Virtual Network
- subnet_
prefix str - Private CIDR block to be used for the new subnet, should comply RFC 1918
- subscription_
id str - Azure Subscription ID
- str
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- update_
domain_ strcount - Update domain count to use for availability set
- use_
private_ boolip - Use private IP address of the machine to connect
- use_
public_ boolip_ standard_ sku - Use the Standard SKU when creating a public IP for an Azure VM
- vnet str
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
- accelerated
Networking Boolean - Enable Accelerated Networking when creating an Azure Network Interface
- availability
Set String - Azure Availability Set to place the virtual machine into
- availability
Zone String - The Azure Availability Zone the VM should be created in
- client
Id String - Azure Service Principal Account ID (optional, browser auth is used if not specified)
- client
Secret String - Azure Service Principal Account password (optional, browser auth is used if not specified)
- custom
Data String - Path to file with custom-data
- disk
Size String - Disk size if using managed disk
- dns String
- A unique DNS label for the public IP adddress
- docker
Port String - Port number for Docker engine
- environment String
- Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
- fault
Domain StringCount - Fault domain count to use for availability set
- image String
- Azure virtual machine OS image
- location String
- Azure region to create the virtual machine
- managed
Disks Boolean - Configures VM and availability set for managed disks
- no
Public BooleanIp - Do not create a public IP address for the machine
- nsg String
- Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine)
- open
Ports List<String> - Make the specified port number accessible from the Internet
- plan String
- Purchase plan for Azure Virtual Machine (in :: format)
- private
Ip StringAddress - Specify a static private IP address for the machine
- resource
Group String - Azure Resource Group name (will be created if missing)
- size String
- Size for Azure Virtual Machine
- ssh
User String - Username for SSH login
- static
Public BooleanIp - Assign a static public IP address to the machine
- storage
Type String - Type of Storage Account to host the OS Disk for the machine
- subnet String
- Azure Subnet Name to be used within the Virtual Network
- subnet
Prefix String - Private CIDR block to be used for the new subnet, should comply RFC 1918
- subscription
Id String - Azure Subscription ID
- String
- Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
- update
Domain StringCount - Update domain count to use for availability set
- use
Private BooleanIp - Use private IP address of the machine to connect
- use
Public BooleanIp Standard Sku - Use the Standard SKU when creating a public IP for an Azure VM
- vnet String
- Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
NodeTemplateDigitaloceanConfig, NodeTemplateDigitaloceanConfigArgs
- Access
Token string - Digital Ocean access token
- Backups bool
- Enable backups for droplet
- Image string
- Digital Ocean Image
- Ipv6 bool
- Enable ipv6 for droplet
- Monitoring bool
- Enable monitoring for droplet
- Private
Networking bool - Enable private networking for droplet
- Region string
- Digital Ocean region
- Size string
- Digital Ocean size
- Ssh
Key stringFingerprint - SSH key fingerprint
- Ssh
Key stringPath - SSH private key path
- Ssh
Port string - SSH port
- Ssh
User string - SSH username
- string
- Comma-separated list of tags to apply to the Droplet
- Userdata string
- Path to file with cloud-init user-data
- Access
Token string - Digital Ocean access token
- Backups bool
- Enable backups for droplet
- Image string
- Digital Ocean Image
- Ipv6 bool
- Enable ipv6 for droplet
- Monitoring bool
- Enable monitoring for droplet
- Private
Networking bool - Enable private networking for droplet
- Region string
- Digital Ocean region
- Size string
- Digital Ocean size
- Ssh
Key stringFingerprint - SSH key fingerprint
- Ssh
Key stringPath - SSH private key path
- Ssh
Port string - SSH port
- Ssh
User string - SSH username
- string
- Comma-separated list of tags to apply to the Droplet
- Userdata string
- Path to file with cloud-init user-data
- access
Token String - Digital Ocean access token
- backups Boolean
- Enable backups for droplet
- image String
- Digital Ocean Image
- ipv6 Boolean
- Enable ipv6 for droplet
- monitoring Boolean
- Enable monitoring for droplet
- private
Networking Boolean - Enable private networking for droplet
- region String
- Digital Ocean region
- size String
- Digital Ocean size
- ssh
Key StringFingerprint - SSH key fingerprint
- ssh
Key StringPath - SSH private key path
- ssh
Port String - SSH port
- ssh
User String - SSH username
- String
- Comma-separated list of tags to apply to the Droplet
- userdata String
- Path to file with cloud-init user-data
- access
Token string - Digital Ocean access token
- backups boolean
- Enable backups for droplet
- image string
- Digital Ocean Image
- ipv6 boolean
- Enable ipv6 for droplet
- monitoring boolean
- Enable monitoring for droplet
- private
Networking boolean - Enable private networking for droplet
- region string
- Digital Ocean region
- size string
- Digital Ocean size
- ssh
Key stringFingerprint - SSH key fingerprint
- ssh
Key stringPath - SSH private key path
- ssh
Port string - SSH port
- ssh
User string - SSH username
- string
- Comma-separated list of tags to apply to the Droplet
- userdata string
- Path to file with cloud-init user-data
- access_
token str - Digital Ocean access token
- backups bool
- Enable backups for droplet
- image str
- Digital Ocean Image
- ipv6 bool
- Enable ipv6 for droplet
- monitoring bool
- Enable monitoring for droplet
- private_
networking bool - Enable private networking for droplet
- region str
- Digital Ocean region
- size str
- Digital Ocean size
- ssh_
key_ strfingerprint - SSH key fingerprint
- ssh_
key_ strpath - SSH private key path
- ssh_
port str - SSH port
- ssh_
user str - SSH username
- str
- Comma-separated list of tags to apply to the Droplet
- userdata str
- Path to file with cloud-init user-data
- access
Token String - Digital Ocean access token
- backups Boolean
- Enable backups for droplet
- image String
- Digital Ocean Image
- ipv6 Boolean
- Enable ipv6 for droplet
- monitoring Boolean
- Enable monitoring for droplet
- private
Networking Boolean - Enable private networking for droplet
- region String
- Digital Ocean region
- size String
- Digital Ocean size
- ssh
Key StringFingerprint - SSH key fingerprint
- ssh
Key StringPath - SSH private key path
- ssh
Port String - SSH port
- ssh
User String - SSH username
- String
- Comma-separated list of tags to apply to the Droplet
- userdata String
- Path to file with cloud-init user-data
NodeTemplateHarvesterConfig, NodeTemplateHarvesterConfigArgs
- Ssh
User string - SSH username
- Vm
Namespace string - Virtual machine namespace
- Cpu
Count string - CPU count
- Disk
Bus string - Disk bus
- Disk
Info string - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- Disk
Size string - Disk size (in GiB)
- Image
Name string - Image name
- Memory
Size string - Memory size (in GiB)
- Network
Data string - NetworkData content of cloud-init, base64 is supported
- Network
Info string - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- Network
Model string - Network model
- Network
Name string - Network name
- Ssh
Password string - SSH password
- User
Data string - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- Vm
Affinity string - VM affinity, base64 is supported
- Ssh
User string - SSH username
- Vm
Namespace string - Virtual machine namespace
- Cpu
Count string - CPU count
- Disk
Bus string - Disk bus
- Disk
Info string - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- Disk
Size string - Disk size (in GiB)
- Image
Name string - Image name
- Memory
Size string - Memory size (in GiB)
- Network
Data string - NetworkData content of cloud-init, base64 is supported
- Network
Info string - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- Network
Model string - Network model
- Network
Name string - Network name
- Ssh
Password string - SSH password
- User
Data string - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- Vm
Affinity string - VM affinity, base64 is supported
- ssh
User String - SSH username
- vm
Namespace String - Virtual machine namespace
- cpu
Count String - CPU count
- disk
Bus String - Disk bus
- disk
Info String - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- disk
Size String - Disk size (in GiB)
- image
Name String - Image name
- memory
Size String - Memory size (in GiB)
- network
Data String - NetworkData content of cloud-init, base64 is supported
- network
Info String - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- network
Model String - Network model
- network
Name String - Network name
- ssh
Password String - SSH password
- user
Data String - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- vm
Affinity String - VM affinity, base64 is supported
- ssh
User string - SSH username
- vm
Namespace string - Virtual machine namespace
- cpu
Count string - CPU count
- disk
Bus string - Disk bus
- disk
Info string - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- disk
Size string - Disk size (in GiB)
- image
Name string - Image name
- memory
Size string - Memory size (in GiB)
- network
Data string - NetworkData content of cloud-init, base64 is supported
- network
Info string - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- network
Model string - Network model
- network
Name string - Network name
- ssh
Password string - SSH password
- user
Data string - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- vm
Affinity string - VM affinity, base64 is supported
- ssh_
user str - SSH username
- vm_
namespace str - Virtual machine namespace
- cpu_
count str - CPU count
- disk_
bus str - Disk bus
- disk_
info str - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- disk_
size str - Disk size (in GiB)
- image_
name str - Image name
- memory_
size str - Memory size (in GiB)
- network_
data str - NetworkData content of cloud-init, base64 is supported
- network_
info str - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- network_
model str - Network model
- network_
name str - Network name
- ssh_
password str - SSH password
- user_
data str - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- vm_
affinity str - VM affinity, base64 is supported
- ssh
User String - SSH username
- vm
Namespace String - Virtual machine namespace
- cpu
Count String - CPU count
- disk
Bus String - Disk bus
- disk
Info String - A JSON string specifying info for the disks e.g.
{"disks":[{"imageName":"harvester-public/image-57hzg","bootOrder":1,"size":40},{"storageClassName":"node-driver-test","bootOrder":2,"size":1}]}
- disk
Size String - Disk size (in GiB)
- image
Name String - Image name
- memory
Size String - Memory size (in GiB)
- network
Data String - NetworkData content of cloud-init, base64 is supported
- network
Info String - A JSON string specifying info for the networks e.g.
{"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
- network
Model String - Network model
- network
Name String - Network name
- ssh
Password String - SSH password
- user
Data String - UserData content of cloud-init, base64 is supported. If the image does not contain the qemu-guest-agent package, you must install and start qemu-guest-agent using userdata
- vm
Affinity String - VM affinity, base64 is supported
NodeTemplateHetznerConfig, NodeTemplateHetznerConfigArgs
- Api
Token string - Hetzner Cloud project API token
- Image string
- Hetzner Cloud server image
- Networks string
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- Server
Labels Dictionary<string, string> - Map of the labels which will be assigned to the server
- Server
Location string - Hetzner Cloud datacenter
- Server
Type string - Hetzner Cloud server type
- Use
Private boolNetwork - Use private network
- Userdata string
- Path to file with cloud-init user-data
- Volumes string
- Comma-separated list of volume IDs or names which should be attached to the server
- Api
Token string - Hetzner Cloud project API token
- Image string
- Hetzner Cloud server image
- Networks string
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- Server
Labels map[string]string - Map of the labels which will be assigned to the server
- Server
Location string - Hetzner Cloud datacenter
- Server
Type string - Hetzner Cloud server type
- Use
Private boolNetwork - Use private network
- Userdata string
- Path to file with cloud-init user-data
- Volumes string
- Comma-separated list of volume IDs or names which should be attached to the server
- api
Token String - Hetzner Cloud project API token
- image String
- Hetzner Cloud server image
- networks String
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- server
Labels Map<String,String> - Map of the labels which will be assigned to the server
- server
Location String - Hetzner Cloud datacenter
- server
Type String - Hetzner Cloud server type
- use
Private BooleanNetwork - Use private network
- userdata String
- Path to file with cloud-init user-data
- volumes String
- Comma-separated list of volume IDs or names which should be attached to the server
- api
Token string - Hetzner Cloud project API token
- image string
- Hetzner Cloud server image
- networks string
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- server
Labels {[key: string]: string} - Map of the labels which will be assigned to the server
- server
Location string - Hetzner Cloud datacenter
- server
Type string - Hetzner Cloud server type
- use
Private booleanNetwork - Use private network
- userdata string
- Path to file with cloud-init user-data
- volumes string
- Comma-separated list of volume IDs or names which should be attached to the server
- api_
token str - Hetzner Cloud project API token
- image str
- Hetzner Cloud server image
- networks str
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- server_
labels Mapping[str, str] - Map of the labels which will be assigned to the server
- server_
location str - Hetzner Cloud datacenter
- server_
type str - Hetzner Cloud server type
- use_
private_ boolnetwork - Use private network
- userdata str
- Path to file with cloud-init user-data
- volumes str
- Comma-separated list of volume IDs or names which should be attached to the server
- api
Token String - Hetzner Cloud project API token
- image String
- Hetzner Cloud server image
- networks String
- Comma-separated list of network IDs or names which should be attached to the server private network interface
- server
Labels Map<String> - Map of the labels which will be assigned to the server
- server
Location String - Hetzner Cloud datacenter
- server
Type String - Hetzner Cloud server type
- use
Private BooleanNetwork - Use private network
- userdata String
- Path to file with cloud-init user-data
- volumes String
- Comma-separated list of volume IDs or names which should be attached to the server
NodeTemplateLinodeConfig, NodeTemplateLinodeConfigArgs
- string
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- Create
Private boolIp - Create private IP for the instance
- Docker
Port string - Docker Port
- Image string
- Specifies the Linode Instance image which determines the OS distribution and base files
- Instance
Type string - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- Label string
- Linode Instance Label
- Region string
- Specifies the region (location) of the Linode instance
- Root
Pass string - Root Password
- Ssh
Port string - Linode Instance SSH Port
- Ssh
User string - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- Stackscript string
- Specifies the Linode StackScript to use to create the instance
- Stackscript
Data string - A JSON string specifying data for the selected StackScript
- Swap
Size string - Linode Instance Swap Size (MB)
- string
- A comma separated list of tags to apply to the the Linode resource
- Token string
- Linode API Token
- Ua
Prefix string - Prefix the User-Agent in Linode API calls with some 'product/version'
- string
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- Create
Private boolIp - Create private IP for the instance
- Docker
Port string - Docker Port
- Image string
- Specifies the Linode Instance image which determines the OS distribution and base files
- Instance
Type string - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- Label string
- Linode Instance Label
- Region string
- Specifies the region (location) of the Linode instance
- Root
Pass string - Root Password
- Ssh
Port string - Linode Instance SSH Port
- Ssh
User string - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- Stackscript string
- Specifies the Linode StackScript to use to create the instance
- Stackscript
Data string - A JSON string specifying data for the selected StackScript
- Swap
Size string - Linode Instance Swap Size (MB)
- string
- A comma separated list of tags to apply to the the Linode resource
- Token string
- Linode API Token
- Ua
Prefix string - Prefix the User-Agent in Linode API calls with some 'product/version'
- String
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- create
Private BooleanIp - Create private IP for the instance
- docker
Port String - Docker Port
- image String
- Specifies the Linode Instance image which determines the OS distribution and base files
- instance
Type String - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- label String
- Linode Instance Label
- region String
- Specifies the region (location) of the Linode instance
- root
Pass String - Root Password
- ssh
Port String - Linode Instance SSH Port
- ssh
User String - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- stackscript String
- Specifies the Linode StackScript to use to create the instance
- stackscript
Data String - A JSON string specifying data for the selected StackScript
- swap
Size String - Linode Instance Swap Size (MB)
- String
- A comma separated list of tags to apply to the the Linode resource
- token String
- Linode API Token
- ua
Prefix String - Prefix the User-Agent in Linode API calls with some 'product/version'
- string
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- create
Private booleanIp - Create private IP for the instance
- docker
Port string - Docker Port
- image string
- Specifies the Linode Instance image which determines the OS distribution and base files
- instance
Type string - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- label string
- Linode Instance Label
- region string
- Specifies the region (location) of the Linode instance
- root
Pass string - Root Password
- ssh
Port string - Linode Instance SSH Port
- ssh
User string - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- stackscript string
- Specifies the Linode StackScript to use to create the instance
- stackscript
Data string - A JSON string specifying data for the selected StackScript
- swap
Size string - Linode Instance Swap Size (MB)
- string
- A comma separated list of tags to apply to the the Linode resource
- token string
- Linode API Token
- ua
Prefix string - Prefix the User-Agent in Linode API calls with some 'product/version'
- str
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- create_
private_ boolip - Create private IP for the instance
- docker_
port str - Docker Port
- image str
- Specifies the Linode Instance image which determines the OS distribution and base files
- instance_
type str - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- label str
- Linode Instance Label
- region str
- Specifies the region (location) of the Linode instance
- root_
pass str - Root Password
- ssh_
port str - Linode Instance SSH Port
- ssh_
user str - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- stackscript str
- Specifies the Linode StackScript to use to create the instance
- stackscript_
data str - A JSON string specifying data for the selected StackScript
- swap_
size str - Linode Instance Swap Size (MB)
- str
- A comma separated list of tags to apply to the the Linode resource
- token str
- Linode API Token
- ua_
prefix str - Prefix the User-Agent in Linode API calls with some 'product/version'
- String
- Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
- create
Private BooleanIp - Create private IP for the instance
- docker
Port String - Docker Port
- image String
- Specifies the Linode Instance image which determines the OS distribution and base files
- instance
Type String - Specifies the Linode Instance type which determines CPU, memory, disk size, etc.
- label String
- Linode Instance Label
- region String
- Specifies the region (location) of the Linode instance
- root
Pass String - Root Password
- ssh
Port String - Linode Instance SSH Port
- ssh
User String - Specifies the user as which docker-machine should log in to the Linode instance to install Docker.
- stackscript String
- Specifies the Linode StackScript to use to create the instance
- stackscript
Data String - A JSON string specifying data for the selected StackScript
- swap
Size String - Linode Instance Swap Size (MB)
- String
- A comma separated list of tags to apply to the the Linode resource
- token String
- Linode API Token
- ua
Prefix String - Prefix the User-Agent in Linode API calls with some 'product/version'
NodeTemplateNodeTaint, NodeTemplateNodeTaintArgs
- key str
- Taint key (string)
- value str
- Taint value (string)
- effect str
- Taint effect. Supported values :
"NoExecute" | "NoSchedule" | "PreferNoSchedule"
(string) - time_
added str - Taint time added (string)
NodeTemplateOpennebulaConfig, NodeTemplateOpennebulaConfigArgs
- Password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - User string
- Set the user for the XML-RPC API authentication (string)
- Xml
Rpc stringUrl - Set the url for the Opennebula XML-RPC API (string)
- B2d
Size string - Size of the Volatile disk in MB - only for b2d (string)
- Cpu string
- CPU value for the VM (string)
- Dev
Prefix string - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- Disable
Vnc bool - VNC is enabled by default. Disable it with this flag (bool)
- Disk
Resize string - Size of the disk for the VM in MB (string)
- Image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - Image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - Image
Owner string - Owner of the image to use as the VM OS (string)
- Memory string
- Size of the memory for the VM in MB (string)
- Network
Id string - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - Network
Name string - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - Network
Owner string - Opennebula user ID of the Network to connect the machine to (string)
- Ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - Template
Id string - Opennebula template ID to use. Conflicts with
template_name
(string) - Template
Name string - Name of the Opennbula template to use. Conflicts with
template_id
(string) - Vcpu string
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
- Password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - User string
- Set the user for the XML-RPC API authentication (string)
- Xml
Rpc stringUrl - Set the url for the Opennebula XML-RPC API (string)
- B2d
Size string - Size of the Volatile disk in MB - only for b2d (string)
- Cpu string
- CPU value for the VM (string)
- Dev
Prefix string - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- Disable
Vnc bool - VNC is enabled by default. Disable it with this flag (bool)
- Disk
Resize string - Size of the disk for the VM in MB (string)
- Image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - Image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - Image
Owner string - Owner of the image to use as the VM OS (string)
- Memory string
- Size of the memory for the VM in MB (string)
- Network
Id string - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - Network
Name string - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - Network
Owner string - Opennebula user ID of the Network to connect the machine to (string)
- Ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - Template
Id string - Opennebula template ID to use. Conflicts with
template_name
(string) - Template
Name string - Name of the Opennbula template to use. Conflicts with
template_id
(string) - Vcpu string
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
- password String
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - user String
- Set the user for the XML-RPC API authentication (string)
- xml
Rpc StringUrl - Set the url for the Opennebula XML-RPC API (string)
- b2d
Size String - Size of the Volatile disk in MB - only for b2d (string)
- cpu String
- CPU value for the VM (string)
- dev
Prefix String - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- disable
Vnc Boolean - VNC is enabled by default. Disable it with this flag (bool)
- disk
Resize String - Size of the disk for the VM in MB (string)
- image
Id String - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name String - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - image
Owner String - Owner of the image to use as the VM OS (string)
- memory String
- Size of the memory for the VM in MB (string)
- network
Id String - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - network
Name String - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - network
Owner String - Opennebula user ID of the Network to connect the machine to (string)
- ssh
User String - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - template
Id String - Opennebula template ID to use. Conflicts with
template_name
(string) - template
Name String - Name of the Opennbula template to use. Conflicts with
template_id
(string) - vcpu String
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
- password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - user string
- Set the user for the XML-RPC API authentication (string)
- xml
Rpc stringUrl - Set the url for the Opennebula XML-RPC API (string)
- b2d
Size string - Size of the Volatile disk in MB - only for b2d (string)
- cpu string
- CPU value for the VM (string)
- dev
Prefix string - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- disable
Vnc boolean - VNC is enabled by default. Disable it with this flag (bool)
- disk
Resize string - Size of the disk for the VM in MB (string)
- image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - image
Owner string - Owner of the image to use as the VM OS (string)
- memory string
- Size of the memory for the VM in MB (string)
- network
Id string - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - network
Name string - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - network
Owner string - Opennebula user ID of the Network to connect the machine to (string)
- ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - template
Id string - Opennebula template ID to use. Conflicts with
template_name
(string) - template
Name string - Name of the Opennbula template to use. Conflicts with
template_id
(string) - vcpu string
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
- password str
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - user str
- Set the user for the XML-RPC API authentication (string)
- xml_
rpc_ strurl - Set the url for the Opennebula XML-RPC API (string)
- b2d_
size str - Size of the Volatile disk in MB - only for b2d (string)
- cpu str
- CPU value for the VM (string)
- dev_
prefix str - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- disable_
vnc bool - VNC is enabled by default. Disable it with this flag (bool)
- disk_
resize str - Size of the disk for the VM in MB (string)
- image_
id str - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image_
name str - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - image_
owner str - Owner of the image to use as the VM OS (string)
- memory str
- Size of the memory for the VM in MB (string)
- network_
id str - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - network_
name str - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - network_
owner str - Opennebula user ID of the Network to connect the machine to (string)
- ssh_
user str - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - template_
id str - Opennebula template ID to use. Conflicts with
template_name
(string) - template_
name str - Name of the Opennbula template to use. Conflicts with
template_id
(string) - vcpu str
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
- password String
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - user String
- Set the user for the XML-RPC API authentication (string)
- xml
Rpc StringUrl - Set the url for the Opennebula XML-RPC API (string)
- b2d
Size String - Size of the Volatile disk in MB - only for b2d (string)
- cpu String
- CPU value for the VM (string)
- dev
Prefix String - Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)
- disable
Vnc Boolean - VNC is enabled by default. Disable it with this flag (bool)
- disk
Resize String - Size of the disk for the VM in MB (string)
- image
Id String - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name String - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - image
Owner String - Owner of the image to use as the VM OS (string)
- memory String
- Size of the memory for the VM in MB (string)
- network
Id String - Opennebula network ID to connect the machine to. Conflicts with
network_name
(string) - network
Name String - Opennebula network to connect the machine to. Conflicts with
network_id
(string) - network
Owner String - Opennebula user ID of the Network to connect the machine to (string)
- ssh
User String - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - template
Id String - Opennebula template ID to use. Conflicts with
template_name
(string) - template
Name String - Name of the Opennbula template to use. Conflicts with
template_id
(string) - vcpu String
VCPUs for the VM (string)
Note::
Required*
denotes that one of image_name / image_id or template_name / template_id is required but you cannot combine them.
NodeTemplateOpenstackConfig, NodeTemplateOpenstackConfigArgs
- Auth
Url string - OpenStack authentication URL (string)
- Availability
Zone string - OpenStack availability zone (string)
- Region string
- AWS region. Default
eu-west-2
(string) - Active
Timeout string - OpenStack active timeout Default
200
(string) - Application
Credential stringId - OpenStack application credential id. Conflicts with
application_credential_name
(string) - Application
Credential stringName - OpenStack application credential name. Conflicts with
application_credential_id
(string) - Application
Credential stringSecret - OpenStack application credential secret (string)
- Boot
From boolVolume - Enable booting from volume. Default is
false
(bool) - Cacert string
- CA certificate bundle to verify against (string)
- Config
Drive bool - Enables the OpenStack config drive for the instance. Default
false
(bool) - Domain
Id string - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - Domain
Name string - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - Endpoint
Type string - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- Flavor
Id string - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - Flavor
Name string - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - Floating
Ip stringPool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- Image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - Image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - Insecure bool
- Disable TLS credential checking. Default
false
(bool) - Ip
Version string - OpenStack version of IP address assigned for the machine Default
4
(string) - Keypair
Name string - OpenStack keypair to use to SSH to the instance (string)
- Net
Id string - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - Net
Name string - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - Nova
Network bool - Use the nova networking services instead of neutron (string)
- Password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - Private
Key stringFile - Private key content to use for SSH (string)
- Sec
Groups string - OpenStack comma separated security groups for the machine (string)
- Ssh
Port string - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - Ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - Tenant
Id string - OpenStack tenant id. Conflicts with
tenant_name
(string) - Tenant
Name string - OpenStack tenant name. Conflicts with
tenant_id
(string) - User
Data stringFile - File containing an openstack userdata script (string)
- Username string
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - Volume
Device stringPath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- Volume
Id string - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - Volume
Name string - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - Volume
Size string - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - Volume
Type string - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
- Auth
Url string - OpenStack authentication URL (string)
- Availability
Zone string - OpenStack availability zone (string)
- Region string
- AWS region. Default
eu-west-2
(string) - Active
Timeout string - OpenStack active timeout Default
200
(string) - Application
Credential stringId - OpenStack application credential id. Conflicts with
application_credential_name
(string) - Application
Credential stringName - OpenStack application credential name. Conflicts with
application_credential_id
(string) - Application
Credential stringSecret - OpenStack application credential secret (string)
- Boot
From boolVolume - Enable booting from volume. Default is
false
(bool) - Cacert string
- CA certificate bundle to verify against (string)
- Config
Drive bool - Enables the OpenStack config drive for the instance. Default
false
(bool) - Domain
Id string - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - Domain
Name string - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - Endpoint
Type string - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- Flavor
Id string - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - Flavor
Name string - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - Floating
Ip stringPool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- Image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - Image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - Insecure bool
- Disable TLS credential checking. Default
false
(bool) - Ip
Version string - OpenStack version of IP address assigned for the machine Default
4
(string) - Keypair
Name string - OpenStack keypair to use to SSH to the instance (string)
- Net
Id string - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - Net
Name string - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - Nova
Network bool - Use the nova networking services instead of neutron (string)
- Password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - Private
Key stringFile - Private key content to use for SSH (string)
- Sec
Groups string - OpenStack comma separated security groups for the machine (string)
- Ssh
Port string - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - Ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - Tenant
Id string - OpenStack tenant id. Conflicts with
tenant_name
(string) - Tenant
Name string - OpenStack tenant name. Conflicts with
tenant_id
(string) - User
Data stringFile - File containing an openstack userdata script (string)
- Username string
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - Volume
Device stringPath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- Volume
Id string - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - Volume
Name string - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - Volume
Size string - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - Volume
Type string - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
- auth
Url String - OpenStack authentication URL (string)
- availability
Zone String - OpenStack availability zone (string)
- region String
- AWS region. Default
eu-west-2
(string) - active
Timeout String - OpenStack active timeout Default
200
(string) - application
Credential StringId - OpenStack application credential id. Conflicts with
application_credential_name
(string) - application
Credential StringName - OpenStack application credential name. Conflicts with
application_credential_id
(string) - application
Credential StringSecret - OpenStack application credential secret (string)
- boot
From BooleanVolume - Enable booting from volume. Default is
false
(bool) - cacert String
- CA certificate bundle to verify against (string)
- config
Drive Boolean - Enables the OpenStack config drive for the instance. Default
false
(bool) - domain
Id String - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - domain
Name String - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - endpoint
Type String - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- flavor
Id String - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - flavor
Name String - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - floating
Ip StringPool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- image
Id String - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name String - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - insecure Boolean
- Disable TLS credential checking. Default
false
(bool) - ip
Version String - OpenStack version of IP address assigned for the machine Default
4
(string) - keypair
Name String - OpenStack keypair to use to SSH to the instance (string)
- net
Id String - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - net
Name String - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - nova
Network Boolean - Use the nova networking services instead of neutron (string)
- password String
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - private
Key StringFile - Private key content to use for SSH (string)
- sec
Groups String - OpenStack comma separated security groups for the machine (string)
- ssh
Port String - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - ssh
User String - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - tenant
Id String - OpenStack tenant id. Conflicts with
tenant_name
(string) - tenant
Name String - OpenStack tenant name. Conflicts with
tenant_id
(string) - user
Data StringFile - File containing an openstack userdata script (string)
- username String
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - volume
Device StringPath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- volume
Id String - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Name String - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Size String - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - volume
Type String - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
- auth
Url string - OpenStack authentication URL (string)
- availability
Zone string - OpenStack availability zone (string)
- region string
- AWS region. Default
eu-west-2
(string) - active
Timeout string - OpenStack active timeout Default
200
(string) - application
Credential stringId - OpenStack application credential id. Conflicts with
application_credential_name
(string) - application
Credential stringName - OpenStack application credential name. Conflicts with
application_credential_id
(string) - application
Credential stringSecret - OpenStack application credential secret (string)
- boot
From booleanVolume - Enable booting from volume. Default is
false
(bool) - cacert string
- CA certificate bundle to verify against (string)
- config
Drive boolean - Enables the OpenStack config drive for the instance. Default
false
(bool) - domain
Id string - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - domain
Name string - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - endpoint
Type string - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- flavor
Id string - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - flavor
Name string - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - floating
Ip stringPool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- image
Id string - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name string - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - insecure boolean
- Disable TLS credential checking. Default
false
(bool) - ip
Version string - OpenStack version of IP address assigned for the machine Default
4
(string) - keypair
Name string - OpenStack keypair to use to SSH to the instance (string)
- net
Id string - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - net
Name string - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - nova
Network boolean - Use the nova networking services instead of neutron (string)
- password string
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - private
Key stringFile - Private key content to use for SSH (string)
- sec
Groups string - OpenStack comma separated security groups for the machine (string)
- ssh
Port string - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - ssh
User string - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - tenant
Id string - OpenStack tenant id. Conflicts with
tenant_name
(string) - tenant
Name string - OpenStack tenant name. Conflicts with
tenant_id
(string) - user
Data stringFile - File containing an openstack userdata script (string)
- username string
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - volume
Device stringPath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- volume
Id string - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Name string - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Size string - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - volume
Type string - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
- auth_
url str - OpenStack authentication URL (string)
- availability_
zone str - OpenStack availability zone (string)
- region str
- AWS region. Default
eu-west-2
(string) - active_
timeout str - OpenStack active timeout Default
200
(string) - application_
credential_ strid - OpenStack application credential id. Conflicts with
application_credential_name
(string) - application_
credential_ strname - OpenStack application credential name. Conflicts with
application_credential_id
(string) - application_
credential_ strsecret - OpenStack application credential secret (string)
- boot_
from_ boolvolume - Enable booting from volume. Default is
false
(bool) - cacert str
- CA certificate bundle to verify against (string)
- config_
drive bool - Enables the OpenStack config drive for the instance. Default
false
(bool) - domain_
id str - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - domain_
name str - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - endpoint_
type str - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- flavor_
id str - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - flavor_
name str - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - floating_
ip_ strpool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- image_
id str - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image_
name str - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - insecure bool
- Disable TLS credential checking. Default
false
(bool) - ip_
version str - OpenStack version of IP address assigned for the machine Default
4
(string) - keypair_
name str - OpenStack keypair to use to SSH to the instance (string)
- net_
id str - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - net_
name str - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - nova_
network bool - Use the nova networking services instead of neutron (string)
- password str
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - private_
key_ strfile - Private key content to use for SSH (string)
- sec_
groups str - OpenStack comma separated security groups for the machine (string)
- ssh_
port str - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - ssh_
user str - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - tenant_
id str - OpenStack tenant id. Conflicts with
tenant_name
(string) - tenant_
name str - OpenStack tenant name. Conflicts with
tenant_id
(string) - user_
data_ strfile - File containing an openstack userdata script (string)
- username str
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - volume_
device_ strpath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- volume_
id str - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume_
name str - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume_
size str - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - volume_
type str - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
- auth
Url String - OpenStack authentication URL (string)
- availability
Zone String - OpenStack availability zone (string)
- region String
- AWS region. Default
eu-west-2
(string) - active
Timeout String - OpenStack active timeout Default
200
(string) - application
Credential StringId - OpenStack application credential id. Conflicts with
application_credential_name
(string) - application
Credential StringName - OpenStack application credential name. Conflicts with
application_credential_id
(string) - application
Credential StringSecret - OpenStack application credential secret (string)
- boot
From BooleanVolume - Enable booting from volume. Default is
false
(bool) - cacert String
- CA certificate bundle to verify against (string)
- config
Drive Boolean - Enables the OpenStack config drive for the instance. Default
false
(bool) - domain
Id String - OpenStack domain ID. Identity v3 only. Conflicts with
domain_name
(string) - domain
Name String - OpenStack domain name. Identity v3 only. Conflicts with
domain_id
(string) - endpoint
Type String - OpenStack endpoint type. adminURL, internalURL or publicURL (string)
- flavor
Id String - OpenStack flavor id to use for the instance. Conflicts with
flavor_name
(string) - flavor
Name String - OpenStack flavor name to use for the instance. Conflicts with
flavor_id
(string) - floating
Ip StringPool - OpenStack floating IP pool to get an IP from to assign to the instance (string)
- image
Id String - OpenStack image id to use for the instance. Conflicts with
image_name
(string) - image
Name String - OpenStack image name to use for the instance. Conflicts with
image_id
(string) - insecure Boolean
- Disable TLS credential checking. Default
false
(bool) - ip
Version String - OpenStack version of IP address assigned for the machine Default
4
(string) - keypair
Name String - OpenStack keypair to use to SSH to the instance (string)
- net
Id String - OpenStack network id the machine will be connected on. Conflicts with
net_name
(string) - net
Name String - OpenStack network name the machine will be connected on. Conflicts with
net_id
(string) - nova
Network Boolean - Use the nova networking services instead of neutron (string)
- password String
- vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - private
Key StringFile - Private key content to use for SSH (string)
- sec
Groups String - OpenStack comma separated security groups for the machine (string)
- ssh
Port String - If using a non-B2D image you can specify the ssh port. Default
22
. From Rancher v2.3.3 (string) - ssh
User String - If using a non-B2D image you can specify the ssh user. Default
docker
. From Rancher v2.3.3 (string) - tenant
Id String - OpenStack tenant id. Conflicts with
tenant_name
(string) - tenant
Name String - OpenStack tenant name. Conflicts with
tenant_id
(string) - user
Data StringFile - File containing an openstack userdata script (string)
- username String
- vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use
rancher2.CloudCredential
from Rancher v2.2.x (string) - volume
Device StringPath OpenStack volume device path (attaching). Applicable only when
boot_from_volume
istrue
. Omit for auto/dev/vdb
. (string)Note::
Required*
denotes that either the _name or _id is required but you cannot use both.Note::
Required**
denotes that either the _name or _id is required unlessapplication_credential_id
is defined.Note for OpenStack users::
keypair_name
is required to be in the schema even if there are no references in rancher itself- volume
Id String - OpenStack volume id of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Name String - OpenStack volume name of existing volume. Applicable only when
boot_from_volume
istrue
(string) - volume
Size String - OpenStack volume size (GiB). Required when
boot_from_volume
istrue
(string) - volume
Type String - OpenStack volume type. Required when
boot_from_volume
istrue
and openstack cloud does not have a default volume type (string)
NodeTemplateOutscaleConfig, NodeTemplateOutscaleConfigArgs
- Access
Key string - Outscale Access Key
- Secret
Key string - Outscale Secret Key
- List<string>
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- List<string>
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- Instance
Type string - Outscale VM type
- Region string
- Outscale Region
- Root
Disk intIops - Iops for io1 Root Disk. From 1 to 13000.
- Root
Disk intSize - Size of the Root Disk (in GB). From 1 to 14901.
- Root
Disk stringType - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- Security
Group List<string>Ids - Ids of user defined Security Groups to add to the machine
- Source
Omi string - Outscale Machine Image to use as bootstrap for the VM
- Access
Key string - Outscale Access Key
- Secret
Key string - Outscale Secret Key
- []string
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- []string
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- Instance
Type string - Outscale VM type
- Region string
- Outscale Region
- Root
Disk intIops - Iops for io1 Root Disk. From 1 to 13000.
- Root
Disk intSize - Size of the Root Disk (in GB). From 1 to 14901.
- Root
Disk stringType - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- Security
Group []stringIds - Ids of user defined Security Groups to add to the machine
- Source
Omi string - Outscale Machine Image to use as bootstrap for the VM
- access
Key String - Outscale Access Key
- secret
Key String - Outscale Secret Key
- List<String>
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- List<String>
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- instance
Type String - Outscale VM type
- region String
- Outscale Region
- root
Disk IntegerIops - Iops for io1 Root Disk. From 1 to 13000.
- root
Disk IntegerSize - Size of the Root Disk (in GB). From 1 to 14901.
- root
Disk StringType - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- security
Group List<String>Ids - Ids of user defined Security Groups to add to the machine
- source
Omi String - Outscale Machine Image to use as bootstrap for the VM
- access
Key string - Outscale Access Key
- secret
Key string - Outscale Secret Key
- string[]
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- string[]
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- instance
Type string - Outscale VM type
- region string
- Outscale Region
- root
Disk numberIops - Iops for io1 Root Disk. From 1 to 13000.
- root
Disk numberSize - Size of the Root Disk (in GB). From 1 to 14901.
- root
Disk stringType - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- security
Group string[]Ids - Ids of user defined Security Groups to add to the machine
- source
Omi string - Outscale Machine Image to use as bootstrap for the VM
- access_
key str - Outscale Access Key
- secret_
key str - Outscale Secret Key
- Sequence[str]
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- Sequence[str]
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- instance_
type str - Outscale VM type
- region str
- Outscale Region
- root_
disk_ intiops - Iops for io1 Root Disk. From 1 to 13000.
- root_
disk_ intsize - Size of the Root Disk (in GB). From 1 to 14901.
- root_
disk_ strtype - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- security_
group_ Sequence[str]ids - Ids of user defined Security Groups to add to the machine
- source_
omi str - Outscale Machine Image to use as bootstrap for the VM
- access
Key String - Outscale Access Key
- secret
Key String - Outscale Secret Key
- List<String>
- Extra tags for all created resources (e.g. key1=value1,key2=value2)
- List<String>
- Extra tags only for instances (e.g. key1=value1,key2=value2)
- instance
Type String - Outscale VM type
- region String
- Outscale Region
- root
Disk NumberIops - Iops for io1 Root Disk. From 1 to 13000.
- root
Disk NumberSize - Size of the Root Disk (in GB). From 1 to 14901.
- root
Disk StringType - Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.
- security
Group List<String>Ids - Ids of user defined Security Groups to add to the machine
- source
Omi String - Outscale Machine Image to use as bootstrap for the VM
NodeTemplateVsphereConfig, NodeTemplateVsphereConfigArgs
- Boot2docker
Url string - vSphere URL for boot2docker image
- Cfgparams List<string>
- vSphere vm configuration parameters (used for guestinfo)
- Clone
From string - If you choose creation type clone a name of what you want to clone is required
- Cloud
Config string - Filepath to a cloud-config yaml file to put into the ISO user-data
- Cloudinit string
- vSphere cloud-init filepath or url to add to guestinfo
- Content
Library string - If you choose to clone from a content library template specify the name of the library
- Cpu
Count string - vSphere CPU number for docker VM
- Creation
Type string - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- Custom
Attributes List<string> - vSphere custom attributes, format key/value e.g. '200=my custom value'
- Datacenter string
- vSphere datacenter for virtual machine
- Datastore string
- vSphere datastore for virtual machine
- Datastore
Cluster string - vSphere datastore cluster for virtual machine
- Disk
Size string - vSphere size of disk for docker VM (in MB)
- Folder string
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- Graceful
Shutdown stringTimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- Hostsystem string
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- Memory
Size string - vSphere size of memory for docker VM (in MB)
- Networks List<string>
- vSphere network where the virtual machine will be attached
- Password string
- vSphere password
- Pool string
- vSphere resource pool for docker VM
- Ssh
Password string - If using a non-B2D image you can specify the ssh password
- Ssh
Port string - If using a non-B2D image you can specify the ssh port
- Ssh
User string - If using a non-B2D image you can specify the ssh user
- Ssh
User stringGroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- List<string>
- vSphere tags id e.g. urn:xxx
- Username string
- vSphere username
- Vapp
Ip stringAllocation Policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- Vapp
Ip stringProtocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- Vapp
Properties List<string> - vSphere vApp properties
- Vapp
Transport string - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- Vcenter string
- vSphere IP/hostname for vCenter
- Vcenter
Port string - vSphere Port for vCenter
- Boot2docker
Url string - vSphere URL for boot2docker image
- Cfgparams []string
- vSphere vm configuration parameters (used for guestinfo)
- Clone
From string - If you choose creation type clone a name of what you want to clone is required
- Cloud
Config string - Filepath to a cloud-config yaml file to put into the ISO user-data
- Cloudinit string
- vSphere cloud-init filepath or url to add to guestinfo
- Content
Library string - If you choose to clone from a content library template specify the name of the library
- Cpu
Count string - vSphere CPU number for docker VM
- Creation
Type string - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- Custom
Attributes []string - vSphere custom attributes, format key/value e.g. '200=my custom value'
- Datacenter string
- vSphere datacenter for virtual machine
- Datastore string
- vSphere datastore for virtual machine
- Datastore
Cluster string - vSphere datastore cluster for virtual machine
- Disk
Size string - vSphere size of disk for docker VM (in MB)
- Folder string
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- Graceful
Shutdown stringTimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- Hostsystem string
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- Memory
Size string - vSphere size of memory for docker VM (in MB)
- Networks []string
- vSphere network where the virtual machine will be attached
- Password string
- vSphere password
- Pool string
- vSphere resource pool for docker VM
- Ssh
Password string - If using a non-B2D image you can specify the ssh password
- Ssh
Port string - If using a non-B2D image you can specify the ssh port
- Ssh
User string - If using a non-B2D image you can specify the ssh user
- Ssh
User stringGroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- []string
- vSphere tags id e.g. urn:xxx
- Username string
- vSphere username
- Vapp
Ip stringAllocation Policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- Vapp
Ip stringProtocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- Vapp
Properties []string - vSphere vApp properties
- Vapp
Transport string - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- Vcenter string
- vSphere IP/hostname for vCenter
- Vcenter
Port string - vSphere Port for vCenter
- boot2docker
Url String - vSphere URL for boot2docker image
- cfgparams List<String>
- vSphere vm configuration parameters (used for guestinfo)
- clone
From String - If you choose creation type clone a name of what you want to clone is required
- cloud
Config String - Filepath to a cloud-config yaml file to put into the ISO user-data
- cloudinit String
- vSphere cloud-init filepath or url to add to guestinfo
- content
Library String - If you choose to clone from a content library template specify the name of the library
- cpu
Count String - vSphere CPU number for docker VM
- creation
Type String - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- custom
Attributes List<String> - vSphere custom attributes, format key/value e.g. '200=my custom value'
- datacenter String
- vSphere datacenter for virtual machine
- datastore String
- vSphere datastore for virtual machine
- datastore
Cluster String - vSphere datastore cluster for virtual machine
- disk
Size String - vSphere size of disk for docker VM (in MB)
- folder String
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- graceful
Shutdown StringTimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- hostsystem String
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- memory
Size String - vSphere size of memory for docker VM (in MB)
- networks List<String>
- vSphere network where the virtual machine will be attached
- password String
- vSphere password
- pool String
- vSphere resource pool for docker VM
- ssh
Password String - If using a non-B2D image you can specify the ssh password
- ssh
Port String - If using a non-B2D image you can specify the ssh port
- ssh
User String - If using a non-B2D image you can specify the ssh user
- ssh
User StringGroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- List<String>
- vSphere tags id e.g. urn:xxx
- username String
- vSphere username
- vapp
Ip StringAllocation Policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- vapp
Ip StringProtocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- vapp
Properties List<String> - vSphere vApp properties
- vapp
Transport String - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- vcenter String
- vSphere IP/hostname for vCenter
- vcenter
Port String - vSphere Port for vCenter
- boot2docker
Url string - vSphere URL for boot2docker image
- cfgparams string[]
- vSphere vm configuration parameters (used for guestinfo)
- clone
From string - If you choose creation type clone a name of what you want to clone is required
- cloud
Config string - Filepath to a cloud-config yaml file to put into the ISO user-data
- cloudinit string
- vSphere cloud-init filepath or url to add to guestinfo
- content
Library string - If you choose to clone from a content library template specify the name of the library
- cpu
Count string - vSphere CPU number for docker VM
- creation
Type string - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- custom
Attributes string[] - vSphere custom attributes, format key/value e.g. '200=my custom value'
- datacenter string
- vSphere datacenter for virtual machine
- datastore string
- vSphere datastore for virtual machine
- datastore
Cluster string - vSphere datastore cluster for virtual machine
- disk
Size string - vSphere size of disk for docker VM (in MB)
- folder string
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- graceful
Shutdown stringTimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- hostsystem string
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- memory
Size string - vSphere size of memory for docker VM (in MB)
- networks string[]
- vSphere network where the virtual machine will be attached
- password string
- vSphere password
- pool string
- vSphere resource pool for docker VM
- ssh
Password string - If using a non-B2D image you can specify the ssh password
- ssh
Port string - If using a non-B2D image you can specify the ssh port
- ssh
User string - If using a non-B2D image you can specify the ssh user
- ssh
User stringGroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- string[]
- vSphere tags id e.g. urn:xxx
- username string
- vSphere username
- vapp
Ip stringAllocation Policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- vapp
Ip stringProtocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- vapp
Properties string[] - vSphere vApp properties
- vapp
Transport string - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- vcenter string
- vSphere IP/hostname for vCenter
- vcenter
Port string - vSphere Port for vCenter
- boot2docker_
url str - vSphere URL for boot2docker image
- cfgparams Sequence[str]
- vSphere vm configuration parameters (used for guestinfo)
- clone_
from str - If you choose creation type clone a name of what you want to clone is required
- cloud_
config str - Filepath to a cloud-config yaml file to put into the ISO user-data
- cloudinit str
- vSphere cloud-init filepath or url to add to guestinfo
- content_
library str - If you choose to clone from a content library template specify the name of the library
- cpu_
count str - vSphere CPU number for docker VM
- creation_
type str - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- custom_
attributes Sequence[str] - vSphere custom attributes, format key/value e.g. '200=my custom value'
- datacenter str
- vSphere datacenter for virtual machine
- datastore str
- vSphere datastore for virtual machine
- datastore_
cluster str - vSphere datastore cluster for virtual machine
- disk_
size str - vSphere size of disk for docker VM (in MB)
- folder str
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- graceful_
shutdown_ strtimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- hostsystem str
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- memory_
size str - vSphere size of memory for docker VM (in MB)
- networks Sequence[str]
- vSphere network where the virtual machine will be attached
- password str
- vSphere password
- pool str
- vSphere resource pool for docker VM
- ssh_
password str - If using a non-B2D image you can specify the ssh password
- ssh_
port str - If using a non-B2D image you can specify the ssh port
- ssh_
user str - If using a non-B2D image you can specify the ssh user
- ssh_
user_ strgroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- Sequence[str]
- vSphere tags id e.g. urn:xxx
- username str
- vSphere username
- vapp_
ip_ strallocation_ policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- vapp_
ip_ strprotocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- vapp_
properties Sequence[str] - vSphere vApp properties
- vapp_
transport str - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- vcenter str
- vSphere IP/hostname for vCenter
- vcenter_
port str - vSphere Port for vCenter
- boot2docker
Url String - vSphere URL for boot2docker image
- cfgparams List<String>
- vSphere vm configuration parameters (used for guestinfo)
- clone
From String - If you choose creation type clone a name of what you want to clone is required
- cloud
Config String - Filepath to a cloud-config yaml file to put into the ISO user-data
- cloudinit String
- vSphere cloud-init filepath or url to add to guestinfo
- content
Library String - If you choose to clone from a content library template specify the name of the library
- cpu
Count String - vSphere CPU number for docker VM
- creation
Type String - Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
- custom
Attributes List<String> - vSphere custom attributes, format key/value e.g. '200=my custom value'
- datacenter String
- vSphere datacenter for virtual machine
- datastore String
- vSphere datastore for virtual machine
- datastore
Cluster String - vSphere datastore cluster for virtual machine
- disk
Size String - vSphere size of disk for docker VM (in MB)
- folder String
- vSphere folder for the docker VM. This folder must already exist in the datacenter
- graceful
Shutdown StringTimeout - Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero
- hostsystem String
- vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS
- memory
Size String - vSphere size of memory for docker VM (in MB)
- networks List<String>
- vSphere network where the virtual machine will be attached
- password String
- vSphere password
- pool String
- vSphere resource pool for docker VM
- ssh
Password String - If using a non-B2D image you can specify the ssh password
- ssh
Port String - If using a non-B2D image you can specify the ssh port
- ssh
User String - If using a non-B2D image you can specify the ssh user
- ssh
User StringGroup - If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
- List<String>
- vSphere tags id e.g. urn:xxx
- username String
- vSphere username
- vapp
Ip StringAllocation Policy - vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
- vapp
Ip StringProtocol - vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
- vapp
Properties List<String> - vSphere vApp properties
- vapp
Transport String - vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
- vcenter String
- vSphere IP/hostname for vCenter
- vcenter
Port String - vSphere Port for vCenter
Import
Node Template can be imported using the Rancher Node Template ID
$ pulumi import rancher2:index/nodeTemplate:NodeTemplate foo <node_template_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.