1. Packages
  2. Rancher2 Provider
  3. API Docs
  4. MachineConfigV2
Rancher 2 v9.0.0 published on Wednesday, Apr 16, 2025 by Pulumi

rancher2.MachineConfigV2

Explore with Pulumi AI

Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above.

The supported cloud providers includes amazonec2, azure, digitalocean, harvester, linode, openstack, and vsphere.

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 machine config v2 using harvester node_driver
const foo_harvester_v2 = new rancher2.MachineConfigV2("foo-harvester-v2", {
    generateName: "foo-harvester-v2",
    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
`,
    },
});
Copy
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 machine config v2 using harvester node_driver
foo_harvester_v2 = rancher2.MachineConfigV2("foo-harvester-v2",
    generate_name="foo-harvester-v2",
    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
""",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-rancher2/sdk/v9/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 machine config v2 using harvester node_driver
		_, err = rancher2.NewMachineConfigV2(ctx, "foo-harvester-v2", &rancher2.MachineConfigV2Args{
			GenerateName: pulumi.String("foo-harvester-v2"),
			HarvesterConfig: &rancher2.MachineConfigV2HarvesterConfigArgs{
				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
	})
}
Copy
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 machine config v2 using harvester node_driver
    var foo_harvester_v2 = new Rancher2.MachineConfigV2("foo-harvester-v2", new()
    {
        GenerateName = "foo-harvester-v2",
        HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs
        {
            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
",
        },
    });

});
Copy
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.MachineConfigV2;
import com.pulumi.rancher2.MachineConfigV2Args;
import com.pulumi.rancher2.inputs.MachineConfigV2HarvesterConfigArgs;
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 machine config v2 using harvester node_driver
        var foo_harvester_v2 = new MachineConfigV2("foo-harvester-v2", MachineConfigV2Args.builder()
            .generateName("foo-harvester-v2")
            .harvesterConfig(MachineConfigV2HarvesterConfigArgs.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());

    }
}
Copy
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 machine config v2 using harvester node_driver
  foo-harvester-v2:
    type: rancher2:MachineConfigV2
    properties:
      generateName: foo-harvester-v2
      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
Copy

Create MachineConfigV2 Resource

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

Constructor syntax

new MachineConfigV2(name: string, args: MachineConfigV2Args, opts?: CustomResourceOptions);
@overload
def MachineConfigV2(resource_name: str,
                    args: MachineConfigV2Args,
                    opts: Optional[ResourceOptions] = None)

@overload
def MachineConfigV2(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    generate_name: Optional[str] = None,
                    amazonec2_config: Optional[MachineConfigV2Amazonec2ConfigArgs] = None,
                    annotations: Optional[Mapping[str, str]] = None,
                    azure_config: Optional[MachineConfigV2AzureConfigArgs] = None,
                    digitalocean_config: Optional[MachineConfigV2DigitaloceanConfigArgs] = None,
                    fleet_namespace: Optional[str] = None,
                    harvester_config: Optional[MachineConfigV2HarvesterConfigArgs] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    linode_config: Optional[MachineConfigV2LinodeConfigArgs] = None,
                    openstack_config: Optional[MachineConfigV2OpenstackConfigArgs] = None,
                    vsphere_config: Optional[MachineConfigV2VsphereConfigArgs] = None)
func NewMachineConfigV2(ctx *Context, name string, args MachineConfigV2Args, opts ...ResourceOption) (*MachineConfigV2, error)
public MachineConfigV2(string name, MachineConfigV2Args args, CustomResourceOptions? opts = null)
public MachineConfigV2(String name, MachineConfigV2Args args)
public MachineConfigV2(String name, MachineConfigV2Args args, CustomResourceOptions options)
type: rancher2:MachineConfigV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MachineConfigV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MachineConfigV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MachineConfigV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MachineConfigV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MachineConfigV2Args
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 machineConfigV2Resource = new Rancher2.MachineConfigV2("machineConfigV2Resource", new()
{
    GenerateName = "string",
    Amazonec2Config = new Rancher2.Inputs.MachineConfigV2Amazonec2ConfigArgs
    {
        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",
        SshKeyContents = "string",
        SshUser = "string",
        EncryptEbsVolume = false,
        Tags = "string",
        UseEbsOptimizedInstance = false,
        UsePrivateAddress = false,
        Userdata = "string",
        VolumeType = "string",
        DeviceName = "string",
        BlockDurationMinutes = "string",
    },
    Annotations = 
    {
        { "string", "string" },
    },
    AzureConfig = new Rancher2.Inputs.MachineConfigV2AzureConfigArgs
    {
        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",
        },
        PrivateAddressOnly = false,
        PrivateIpAddress = "string",
        ResourceGroup = "string",
        Size = "string",
        SshUser = "string",
        StaticPublicIp = false,
        StorageType = "string",
        Subnet = "string",
        SubnetPrefix = "string",
        SubscriptionId = "string",
        Tags = "string",
        TenantId = "string",
        UpdateDomainCount = "string",
        UsePrivateIp = false,
        UsePublicIpStandardSku = false,
        Vnet = "string",
    },
    DigitaloceanConfig = new Rancher2.Inputs.MachineConfigV2DigitaloceanConfigArgs
    {
        AccessToken = "string",
        Backups = false,
        Image = "string",
        Ipv6 = false,
        Monitoring = false,
        PrivateNetworking = false,
        Region = "string",
        Size = "string",
        SshKeyContents = "string",
        SshKeyFingerprint = "string",
        SshPort = "string",
        SshUser = "string",
        Tags = "string",
        Userdata = "string",
    },
    FleetNamespace = "string",
    HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs
    {
        SshUser = "string",
        VmNamespace = "string",
        NetworkData = "string",
        MemorySize = "string",
        CpuCount = "string",
        NetworkInfo = "string",
        SshPassword = "string",
        DiskInfo = "string",
        UserData = "string",
        VmAffinity = "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    LinodeConfig = new Rancher2.Inputs.MachineConfigV2LinodeConfigArgs
    {
        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",
    },
    OpenstackConfig = new Rancher2.Inputs.MachineConfigV2OpenstackConfigArgs
    {
        AuthUrl = "string",
        Region = "string",
        AvailabilityZone = "string",
        NetId = "string",
        KeypairName = "string",
        ApplicationCredentialName = "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",
        NovaNetwork = false,
        ActiveTimeout = "string",
        ApplicationCredentialSecret = "string",
        NetName = "string",
        SecGroups = "string",
        PrivateKeyFile = "string",
        ApplicationCredentialId = "string",
        Password = "string",
        SshPort = "string",
        SshUser = "string",
        TenantDomainId = "string",
        TenantDomainName = "string",
        TenantId = "string",
        TenantName = "string",
        UserDataFile = "string",
        UserDomainId = "string",
        UserDomainName = "string",
        Username = "string",
        VolumeDevicePath = "string",
        VolumeId = "string",
        VolumeName = "string",
        VolumeSize = "string",
        VolumeType = "string",
    },
    VsphereConfig = new Rancher2.Inputs.MachineConfigV2VsphereConfigArgs
    {
        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",
    },
});
Copy
example, err := rancher2.NewMachineConfigV2(ctx, "machineConfigV2Resource", &rancher2.MachineConfigV2Args{
	GenerateName: pulumi.String("string"),
	Amazonec2Config: &rancher2.MachineConfigV2Amazonec2ConfigArgs{
		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"),
		SshKeyContents:          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"),
	},
	AzureConfig: &rancher2.MachineConfigV2AzureConfigArgs{
		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"),
		},
		PrivateAddressOnly:     pulumi.Bool(false),
		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"),
		TenantId:               pulumi.String("string"),
		UpdateDomainCount:      pulumi.String("string"),
		UsePrivateIp:           pulumi.Bool(false),
		UsePublicIpStandardSku: pulumi.Bool(false),
		Vnet:                   pulumi.String("string"),
	},
	DigitaloceanConfig: &rancher2.MachineConfigV2DigitaloceanConfigArgs{
		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"),
		SshKeyContents:    pulumi.String("string"),
		SshKeyFingerprint: pulumi.String("string"),
		SshPort:           pulumi.String("string"),
		SshUser:           pulumi.String("string"),
		Tags:              pulumi.String("string"),
		Userdata:          pulumi.String("string"),
	},
	FleetNamespace: pulumi.String("string"),
	HarvesterConfig: &rancher2.MachineConfigV2HarvesterConfigArgs{
		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"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LinodeConfig: &rancher2.MachineConfigV2LinodeConfigArgs{
		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"),
	},
	OpenstackConfig: &rancher2.MachineConfigV2OpenstackConfigArgs{
		AuthUrl:                     pulumi.String("string"),
		Region:                      pulumi.String("string"),
		AvailabilityZone:            pulumi.String("string"),
		NetId:                       pulumi.String("string"),
		KeypairName:                 pulumi.String("string"),
		ApplicationCredentialName:   pulumi.String("string"),
		BootFromVolume:              pulumi.Bool(false),
		Cacert:                      pulumi.String("string"),
		ConfigDrive:                 pulumi.Bool(false),
		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),
		IpVersion:                   pulumi.String("string"),
		NovaNetwork:                 pulumi.Bool(false),
		ActiveTimeout:               pulumi.String("string"),
		ApplicationCredentialSecret: pulumi.String("string"),
		NetName:                     pulumi.String("string"),
		SecGroups:                   pulumi.String("string"),
		PrivateKeyFile:              pulumi.String("string"),
		ApplicationCredentialId:     pulumi.String("string"),
		Password:                    pulumi.String("string"),
		SshPort:                     pulumi.String("string"),
		SshUser:                     pulumi.String("string"),
		TenantDomainId:              pulumi.String("string"),
		TenantDomainName:            pulumi.String("string"),
		TenantId:                    pulumi.String("string"),
		TenantName:                  pulumi.String("string"),
		UserDataFile:                pulumi.String("string"),
		UserDomainId:                pulumi.String("string"),
		UserDomainName:              pulumi.String("string"),
		Username:                    pulumi.String("string"),
		VolumeDevicePath:            pulumi.String("string"),
		VolumeId:                    pulumi.String("string"),
		VolumeName:                  pulumi.String("string"),
		VolumeSize:                  pulumi.String("string"),
		VolumeType:                  pulumi.String("string"),
	},
	VsphereConfig: &rancher2.MachineConfigV2VsphereConfigArgs{
		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"),
	},
})
Copy
var machineConfigV2Resource = new MachineConfigV2("machineConfigV2Resource", MachineConfigV2Args.builder()
    .generateName("string")
    .amazonec2Config(MachineConfigV2Amazonec2ConfigArgs.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")
        .sshKeyContents("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"))
    .azureConfig(MachineConfigV2AzureConfigArgs.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")
        .privateAddressOnly(false)
        .privateIpAddress("string")
        .resourceGroup("string")
        .size("string")
        .sshUser("string")
        .staticPublicIp(false)
        .storageType("string")
        .subnet("string")
        .subnetPrefix("string")
        .subscriptionId("string")
        .tags("string")
        .tenantId("string")
        .updateDomainCount("string")
        .usePrivateIp(false)
        .usePublicIpStandardSku(false)
        .vnet("string")
        .build())
    .digitaloceanConfig(MachineConfigV2DigitaloceanConfigArgs.builder()
        .accessToken("string")
        .backups(false)
        .image("string")
        .ipv6(false)
        .monitoring(false)
        .privateNetworking(false)
        .region("string")
        .size("string")
        .sshKeyContents("string")
        .sshKeyFingerprint("string")
        .sshPort("string")
        .sshUser("string")
        .tags("string")
        .userdata("string")
        .build())
    .fleetNamespace("string")
    .harvesterConfig(MachineConfigV2HarvesterConfigArgs.builder()
        .sshUser("string")
        .vmNamespace("string")
        .networkData("string")
        .memorySize("string")
        .cpuCount("string")
        .networkInfo("string")
        .sshPassword("string")
        .diskInfo("string")
        .userData("string")
        .vmAffinity("string")
        .build())
    .labels(Map.of("string", "string"))
    .linodeConfig(MachineConfigV2LinodeConfigArgs.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())
    .openstackConfig(MachineConfigV2OpenstackConfigArgs.builder()
        .authUrl("string")
        .region("string")
        .availabilityZone("string")
        .netId("string")
        .keypairName("string")
        .applicationCredentialName("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")
        .novaNetwork(false)
        .activeTimeout("string")
        .applicationCredentialSecret("string")
        .netName("string")
        .secGroups("string")
        .privateKeyFile("string")
        .applicationCredentialId("string")
        .password("string")
        .sshPort("string")
        .sshUser("string")
        .tenantDomainId("string")
        .tenantDomainName("string")
        .tenantId("string")
        .tenantName("string")
        .userDataFile("string")
        .userDomainId("string")
        .userDomainName("string")
        .username("string")
        .volumeDevicePath("string")
        .volumeId("string")
        .volumeName("string")
        .volumeSize("string")
        .volumeType("string")
        .build())
    .vsphereConfig(MachineConfigV2VsphereConfigArgs.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());
Copy
machine_config_v2_resource = rancher2.MachineConfigV2("machineConfigV2Resource",
    generate_name="string",
    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_key_contents": "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",
    },
    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"],
        "private_address_only": False,
        "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",
        "tenant_id": "string",
        "update_domain_count": "string",
        "use_private_ip": False,
        "use_public_ip_standard_sku": False,
        "vnet": "string",
    },
    digitalocean_config={
        "access_token": "string",
        "backups": False,
        "image": "string",
        "ipv6": False,
        "monitoring": False,
        "private_networking": False,
        "region": "string",
        "size": "string",
        "ssh_key_contents": "string",
        "ssh_key_fingerprint": "string",
        "ssh_port": "string",
        "ssh_user": "string",
        "tags": "string",
        "userdata": "string",
    },
    fleet_namespace="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",
    },
    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",
    },
    openstack_config={
        "auth_url": "string",
        "region": "string",
        "availability_zone": "string",
        "net_id": "string",
        "keypair_name": "string",
        "application_credential_name": "string",
        "boot_from_volume": False,
        "cacert": "string",
        "config_drive": False,
        "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,
        "ip_version": "string",
        "nova_network": False,
        "active_timeout": "string",
        "application_credential_secret": "string",
        "net_name": "string",
        "sec_groups": "string",
        "private_key_file": "string",
        "application_credential_id": "string",
        "password": "string",
        "ssh_port": "string",
        "ssh_user": "string",
        "tenant_domain_id": "string",
        "tenant_domain_name": "string",
        "tenant_id": "string",
        "tenant_name": "string",
        "user_data_file": "string",
        "user_domain_id": "string",
        "user_domain_name": "string",
        "username": "string",
        "volume_device_path": "string",
        "volume_id": "string",
        "volume_name": "string",
        "volume_size": "string",
        "volume_type": "string",
    },
    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",
    })
Copy
const machineConfigV2Resource = new rancher2.MachineConfigV2("machineConfigV2Resource", {
    generateName: "string",
    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",
        sshKeyContents: "string",
        sshUser: "string",
        encryptEbsVolume: false,
        tags: "string",
        useEbsOptimizedInstance: false,
        usePrivateAddress: false,
        userdata: "string",
        volumeType: "string",
        deviceName: "string",
        blockDurationMinutes: "string",
    },
    annotations: {
        string: "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"],
        privateAddressOnly: false,
        privateIpAddress: "string",
        resourceGroup: "string",
        size: "string",
        sshUser: "string",
        staticPublicIp: false,
        storageType: "string",
        subnet: "string",
        subnetPrefix: "string",
        subscriptionId: "string",
        tags: "string",
        tenantId: "string",
        updateDomainCount: "string",
        usePrivateIp: false,
        usePublicIpStandardSku: false,
        vnet: "string",
    },
    digitaloceanConfig: {
        accessToken: "string",
        backups: false,
        image: "string",
        ipv6: false,
        monitoring: false,
        privateNetworking: false,
        region: "string",
        size: "string",
        sshKeyContents: "string",
        sshKeyFingerprint: "string",
        sshPort: "string",
        sshUser: "string",
        tags: "string",
        userdata: "string",
    },
    fleetNamespace: "string",
    harvesterConfig: {
        sshUser: "string",
        vmNamespace: "string",
        networkData: "string",
        memorySize: "string",
        cpuCount: "string",
        networkInfo: "string",
        sshPassword: "string",
        diskInfo: "string",
        userData: "string",
        vmAffinity: "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",
    },
    openstackConfig: {
        authUrl: "string",
        region: "string",
        availabilityZone: "string",
        netId: "string",
        keypairName: "string",
        applicationCredentialName: "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",
        novaNetwork: false,
        activeTimeout: "string",
        applicationCredentialSecret: "string",
        netName: "string",
        secGroups: "string",
        privateKeyFile: "string",
        applicationCredentialId: "string",
        password: "string",
        sshPort: "string",
        sshUser: "string",
        tenantDomainId: "string",
        tenantDomainName: "string",
        tenantId: "string",
        tenantName: "string",
        userDataFile: "string",
        userDomainId: "string",
        userDomainName: "string",
        username: "string",
        volumeDevicePath: "string",
        volumeId: "string",
        volumeName: "string",
        volumeSize: "string",
        volumeType: "string",
    },
    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",
    },
});
Copy
type: rancher2:MachineConfigV2
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
        sshKeyContents: string
        sshUser: string
        subnetId: string
        tags: string
        useEbsOptimizedInstance: false
        usePrivateAddress: false
        userdata: string
        volumeType: string
        vpcId: string
        zone: string
    annotations:
        string: 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
        privateAddressOnly: false
        privateIpAddress: string
        resourceGroup: string
        size: string
        sshUser: string
        staticPublicIp: false
        storageType: string
        subnet: string
        subnetPrefix: string
        subscriptionId: string
        tags: string
        tenantId: string
        updateDomainCount: string
        usePrivateIp: false
        usePublicIpStandardSku: false
        vnet: string
    digitaloceanConfig:
        accessToken: string
        backups: false
        image: string
        ipv6: false
        monitoring: false
        privateNetworking: false
        region: string
        size: string
        sshKeyContents: string
        sshKeyFingerprint: string
        sshPort: string
        sshUser: string
        tags: string
        userdata: string
    fleetNamespace: string
    generateName: string
    harvesterConfig:
        cpuCount: string
        diskInfo: string
        memorySize: string
        networkData: string
        networkInfo: string
        sshPassword: string
        sshUser: string
        userData: string
        vmAffinity: string
        vmNamespace: 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
    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
        tenantDomainId: string
        tenantDomainName: string
        tenantId: string
        tenantName: string
        userDataFile: string
        userDomainId: string
        userDomainName: string
        username: string
        volumeDevicePath: string
        volumeId: string
        volumeName: string
        volumeSize: string
        volumeType: string
    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
Copy

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

GenerateName
This property is required.
Changes to this property will trigger replacement.
string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
Amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Annotations Dictionary<string, string>
Annotations for Machine Config V2 object (map)
AzureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
DigitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
FleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
HarvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Labels Dictionary<string, string>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

LinodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
OpenstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
VsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
GenerateName
This property is required.
Changes to this property will trigger replacement.
string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
Amazonec2Config MachineConfigV2Amazonec2ConfigArgs
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Annotations map[string]string
Annotations for Machine Config V2 object (map)
AzureConfig MachineConfigV2AzureConfigArgs
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
DigitaloceanConfig MachineConfigV2DigitaloceanConfigArgs
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
FleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
HarvesterConfig MachineConfigV2HarvesterConfigArgs
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Labels map[string]string

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

LinodeConfig MachineConfigV2LinodeConfigArgs
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
OpenstackConfig MachineConfigV2OpenstackConfigArgs
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
VsphereConfig MachineConfigV2VsphereConfigArgs
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
generateName
This property is required.
Changes to this property will trigger replacement.
String
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Map<String,String>
Annotations for Machine Config V2 object (map)
azureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. String
Cluster V2 fleet namespace
harvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
labels Map<String,String>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
openstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
vsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
generateName
This property is required.
Changes to this property will trigger replacement.
string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations {[key: string]: string}
Annotations for Machine Config V2 object (map)
azureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
harvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
labels {[key: string]: string}

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
openstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
vsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
generate_name
This property is required.
Changes to this property will trigger replacement.
str
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
amazonec2_config MachineConfigV2Amazonec2ConfigArgs
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Mapping[str, str]
Annotations for Machine Config V2 object (map)
azure_config MachineConfigV2AzureConfigArgs
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitalocean_config MachineConfigV2DigitaloceanConfigArgs
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleet_namespace Changes to this property will trigger replacement. str
Cluster V2 fleet namespace
harvester_config MachineConfigV2HarvesterConfigArgs
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
labels Mapping[str, str]

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linode_config MachineConfigV2LinodeConfigArgs
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
openstack_config MachineConfigV2OpenstackConfigArgs
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
vsphere_config MachineConfigV2VsphereConfigArgs
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
generateName
This property is required.
Changes to this property will trigger replacement.
String
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
amazonec2Config Property Map
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Map<String>
Annotations for Machine Config V2 object (map)
azureConfig Property Map
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig Property Map
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. String
Cluster V2 fleet namespace
harvesterConfig Property Map
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
labels Map<String>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig Property Map
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
openstackConfig Property Map
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
vsphereConfig Property Map
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Kind string
(Computed) The machine config kind (string)
Name string
(Computed) The machine config name (string)
ResourceVersion string
(Computed) The machine config k8s resource version (string)
Id string
The provider-assigned unique ID for this managed resource.
Kind string
(Computed) The machine config kind (string)
Name string
(Computed) The machine config name (string)
ResourceVersion string
(Computed) The machine config k8s resource version (string)
id String
The provider-assigned unique ID for this managed resource.
kind String
(Computed) The machine config kind (string)
name String
(Computed) The machine config name (string)
resourceVersion String
(Computed) The machine config k8s resource version (string)
id string
The provider-assigned unique ID for this managed resource.
kind string
(Computed) The machine config kind (string)
name string
(Computed) The machine config name (string)
resourceVersion string
(Computed) The machine config k8s resource version (string)
id str
The provider-assigned unique ID for this managed resource.
kind str
(Computed) The machine config kind (string)
name str
(Computed) The machine config name (string)
resource_version str
(Computed) The machine config k8s resource version (string)
id String
The provider-assigned unique ID for this managed resource.
kind String
(Computed) The machine config kind (string)
name String
(Computed) The machine config name (string)
resourceVersion String
(Computed) The machine config k8s resource version (string)

Look up Existing MachineConfigV2 Resource

Get an existing MachineConfigV2 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?: MachineConfigV2State, opts?: CustomResourceOptions): MachineConfigV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        amazonec2_config: Optional[MachineConfigV2Amazonec2ConfigArgs] = None,
        annotations: Optional[Mapping[str, str]] = None,
        azure_config: Optional[MachineConfigV2AzureConfigArgs] = None,
        digitalocean_config: Optional[MachineConfigV2DigitaloceanConfigArgs] = None,
        fleet_namespace: Optional[str] = None,
        generate_name: Optional[str] = None,
        harvester_config: Optional[MachineConfigV2HarvesterConfigArgs] = None,
        kind: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        linode_config: Optional[MachineConfigV2LinodeConfigArgs] = None,
        name: Optional[str] = None,
        openstack_config: Optional[MachineConfigV2OpenstackConfigArgs] = None,
        resource_version: Optional[str] = None,
        vsphere_config: Optional[MachineConfigV2VsphereConfigArgs] = None) -> MachineConfigV2
func GetMachineConfigV2(ctx *Context, name string, id IDInput, state *MachineConfigV2State, opts ...ResourceOption) (*MachineConfigV2, error)
public static MachineConfigV2 Get(string name, Input<string> id, MachineConfigV2State? state, CustomResourceOptions? opts = null)
public static MachineConfigV2 get(String name, Output<String> id, MachineConfigV2State state, CustomResourceOptions options)
resources:  _:    type: rancher2:MachineConfigV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Annotations Dictionary<string, string>
Annotations for Machine Config V2 object (map)
AzureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
DigitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
FleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
GenerateName Changes to this property will trigger replacement. string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
HarvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Kind string
(Computed) The machine config kind (string)
Labels Dictionary<string, string>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

LinodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
Name string
(Computed) The machine config name (string)
OpenstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
ResourceVersion string
(Computed) The machine config k8s resource version (string)
VsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
Amazonec2Config MachineConfigV2Amazonec2ConfigArgs
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Annotations map[string]string
Annotations for Machine Config V2 object (map)
AzureConfig MachineConfigV2AzureConfigArgs
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
DigitaloceanConfig MachineConfigV2DigitaloceanConfigArgs
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
FleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
GenerateName Changes to this property will trigger replacement. string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
HarvesterConfig MachineConfigV2HarvesterConfigArgs
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
Kind string
(Computed) The machine config kind (string)
Labels map[string]string

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

LinodeConfig MachineConfigV2LinodeConfigArgs
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
Name string
(Computed) The machine config name (string)
OpenstackConfig MachineConfigV2OpenstackConfigArgs
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
ResourceVersion string
(Computed) The machine config k8s resource version (string)
VsphereConfig MachineConfigV2VsphereConfigArgs
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Map<String,String>
Annotations for Machine Config V2 object (map)
azureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. String
Cluster V2 fleet namespace
generateName Changes to this property will trigger replacement. String
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
harvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
kind String
(Computed) The machine config kind (string)
labels Map<String,String>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
name String
(Computed) The machine config name (string)
openstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
resourceVersion String
(Computed) The machine config k8s resource version (string)
vsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
amazonec2Config MachineConfigV2Amazonec2Config
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations {[key: string]: string}
Annotations for Machine Config V2 object (map)
azureConfig MachineConfigV2AzureConfig
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig MachineConfigV2DigitaloceanConfig
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. string
Cluster V2 fleet namespace
generateName Changes to this property will trigger replacement. string
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
harvesterConfig MachineConfigV2HarvesterConfig
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
kind string
(Computed) The machine config kind (string)
labels {[key: string]: string}

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig MachineConfigV2LinodeConfig
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
name string
(Computed) The machine config name (string)
openstackConfig MachineConfigV2OpenstackConfig
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
resourceVersion string
(Computed) The machine config k8s resource version (string)
vsphereConfig MachineConfigV2VsphereConfig
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
amazonec2_config MachineConfigV2Amazonec2ConfigArgs
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Mapping[str, str]
Annotations for Machine Config V2 object (map)
azure_config MachineConfigV2AzureConfigArgs
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitalocean_config MachineConfigV2DigitaloceanConfigArgs
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleet_namespace Changes to this property will trigger replacement. str
Cluster V2 fleet namespace
generate_name Changes to this property will trigger replacement. str
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
harvester_config MachineConfigV2HarvesterConfigArgs
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
kind str
(Computed) The machine config kind (string)
labels Mapping[str, str]

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linode_config MachineConfigV2LinodeConfigArgs
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
name str
(Computed) The machine config name (string)
openstack_config MachineConfigV2OpenstackConfigArgs
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
resource_version str
(Computed) The machine config k8s resource version (string)
vsphere_config MachineConfigV2VsphereConfigArgs
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)
amazonec2Config Property Map
AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
annotations Map<String>
Annotations for Machine Config V2 object (map)
azureConfig Property Map
Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
digitaloceanConfig Property Map
Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
fleetNamespace Changes to this property will trigger replacement. String
Cluster V2 fleet namespace
generateName Changes to this property will trigger replacement. String
Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name="prod-pool1" will generate "nc-prod-pool1-?????" name computed at name attribute (string)
harvesterConfig Property Map
Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config and vsphere_config (list maxitems:1)
kind String
(Computed) The machine config kind (string)
labels Map<String>

Labels for Machine Config V2 object (map)

Note: labels and node_taints will be applied to nodes deployed using the Machine Config V2

linodeConfig Property Map
Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config and vsphere_config (list maxitems:1)
name String
(Computed) The machine config name (string)
openstackConfig Property Map
Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and vsphere_config (list maxitems:1)
resourceVersion String
(Computed) The machine config k8s resource version (string)
vsphereConfig Property Map
vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config and openstack_config (list maxitems:1)

Supporting Types

MachineConfigV2Amazonec2Config
, MachineConfigV2Amazonec2ConfigArgs

Ami This property is required. string
AWS machine image
Region This property is required. string
AWS Region
SecurityGroups This property is required. List<string>
AWS VPC security group
SubnetId This property is required. string
AWS VPC subnet id
VpcId This property is required. string
AWS VPC id
Zone This property is required. string
AWS zone for instance (i.e. a,b,c,d,e)
AccessKey string
AWS Access Key
BlockDurationMinutes string
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
DeviceName string
AWS root device name
EncryptEbsVolume bool
Encrypt EBS volume
Endpoint string
Optional endpoint URL (hostname only or fully qualified URI)
HttpEndpoint string
Enables or disables the HTTP metadata endpoint on your instances
HttpTokens string
The state of token usage for your instance metadata requests
IamInstanceProfile string
AWS IAM Instance Profile
InsecureTransport bool
Disable SSL when sending requests
InstanceType string
AWS instance type
KmsKey string
Custom KMS key ID using the AWS Managed CMK
Monitoring bool
Set this flag to enable CloudWatch monitoring
OpenPorts List<string>
Make the specified port number accessible from the Internet
PrivateAddressOnly bool
Only use a private IP address
RequestSpotInstance bool
Set this flag to request spot instance
Retries string
Set retry count for recoverable failures (use -1 to disable)
RootSize string
AWS root disk size (in GB)
SecretKey string
AWS Secret Key
SecurityGroupReadonly bool
Skip adding default rules to security groups
SessionToken string
AWS Session Token
SpotPrice string
AWS spot instance bid price (in dollar)
SshKeyContents string
SSH Key file contents for sshKeyContents
SshUser string
Set the name of the ssh user
Tags string
AWS Tags (e.g. key1,value1,key2,value2)
UseEbsOptimizedInstance bool
Create an EBS optimized instance
UsePrivateAddress bool
Force the usage of private IP address
Userdata string
Path to file with cloud-init user data
VolumeType string
Amazon EBS volume type
Ami This property is required. string
AWS machine image
Region This property is required. string
AWS Region
SecurityGroups This property is required. []string
AWS VPC security group
SubnetId This property is required. string
AWS VPC subnet id
VpcId This property is required. string
AWS VPC id
Zone This property is required. string
AWS zone for instance (i.e. a,b,c,d,e)
AccessKey string
AWS Access Key
BlockDurationMinutes string
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
DeviceName string
AWS root device name
EncryptEbsVolume bool
Encrypt EBS volume
Endpoint string
Optional endpoint URL (hostname only or fully qualified URI)
HttpEndpoint string
Enables or disables the HTTP metadata endpoint on your instances
HttpTokens string
The state of token usage for your instance metadata requests
IamInstanceProfile string
AWS IAM Instance Profile
InsecureTransport bool
Disable SSL when sending requests
InstanceType string
AWS instance type
KmsKey string
Custom KMS key ID using the AWS Managed CMK
Monitoring bool
Set this flag to enable CloudWatch monitoring
OpenPorts []string
Make the specified port number accessible from the Internet
PrivateAddressOnly bool
Only use a private IP address
RequestSpotInstance bool
Set this flag to request spot instance
Retries string
Set retry count for recoverable failures (use -1 to disable)
RootSize string
AWS root disk size (in GB)
SecretKey string
AWS Secret Key
SecurityGroupReadonly bool
Skip adding default rules to security groups
SessionToken string
AWS Session Token
SpotPrice string
AWS spot instance bid price (in dollar)
SshKeyContents string
SSH Key file contents for sshKeyContents
SshUser string
Set the name of the ssh user
Tags string
AWS Tags (e.g. key1,value1,key2,value2)
UseEbsOptimizedInstance bool
Create an EBS optimized instance
UsePrivateAddress bool
Force the usage of private IP address
Userdata string
Path to file with cloud-init user data
VolumeType string
Amazon EBS volume type
ami This property is required. String
AWS machine image
region This property is required. String
AWS Region
securityGroups This property is required. List<String>
AWS VPC security group
subnetId This property is required. String
AWS VPC subnet id
vpcId This property is required. String
AWS VPC id
zone This property is required. String
AWS zone for instance (i.e. a,b,c,d,e)
accessKey String
AWS Access Key
blockDurationMinutes String
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
deviceName String
AWS root device name
encryptEbsVolume Boolean
Encrypt EBS volume
endpoint String
Optional endpoint URL (hostname only or fully qualified URI)
httpEndpoint String
Enables or disables the HTTP metadata endpoint on your instances
httpTokens String
The state of token usage for your instance metadata requests
iamInstanceProfile String
AWS IAM Instance Profile
insecureTransport Boolean
Disable SSL when sending requests
instanceType String
AWS instance type
kmsKey String
Custom KMS key ID using the AWS Managed CMK
monitoring Boolean
Set this flag to enable CloudWatch monitoring
openPorts List<String>
Make the specified port number accessible from the Internet
privateAddressOnly Boolean
Only use a private IP address
requestSpotInstance Boolean
Set this flag to request spot instance
retries String
Set retry count for recoverable failures (use -1 to disable)
rootSize String
AWS root disk size (in GB)
secretKey String
AWS Secret Key
securityGroupReadonly Boolean
Skip adding default rules to security groups
sessionToken String
AWS Session Token
spotPrice String
AWS spot instance bid price (in dollar)
sshKeyContents String
SSH Key file contents for sshKeyContents
sshUser String
Set the name of the ssh user
tags String
AWS Tags (e.g. key1,value1,key2,value2)
useEbsOptimizedInstance Boolean
Create an EBS optimized instance
usePrivateAddress Boolean
Force the usage of private IP address
userdata String
Path to file with cloud-init user data
volumeType String
Amazon EBS volume type
ami This property is required. string
AWS machine image
region This property is required. string
AWS Region
securityGroups This property is required. string[]
AWS VPC security group
subnetId This property is required. string
AWS VPC subnet id
vpcId This property is required. string
AWS VPC id
zone This property is required. string
AWS zone for instance (i.e. a,b,c,d,e)
accessKey string
AWS Access Key
blockDurationMinutes string
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
deviceName string
AWS root device name
encryptEbsVolume boolean
Encrypt EBS volume
endpoint string
Optional endpoint URL (hostname only or fully qualified URI)
httpEndpoint string
Enables or disables the HTTP metadata endpoint on your instances
httpTokens string
The state of token usage for your instance metadata requests
iamInstanceProfile string
AWS IAM Instance Profile
insecureTransport boolean
Disable SSL when sending requests
instanceType string
AWS instance type
kmsKey string
Custom KMS key ID using the AWS Managed CMK
monitoring boolean
Set this flag to enable CloudWatch monitoring
openPorts string[]
Make the specified port number accessible from the Internet
privateAddressOnly boolean
Only use a private IP address
requestSpotInstance boolean
Set this flag to request spot instance
retries string
Set retry count for recoverable failures (use -1 to disable)
rootSize string
AWS root disk size (in GB)
secretKey string
AWS Secret Key
securityGroupReadonly boolean
Skip adding default rules to security groups
sessionToken string
AWS Session Token
spotPrice string
AWS spot instance bid price (in dollar)
sshKeyContents string
SSH Key file contents for sshKeyContents
sshUser string
Set the name of the ssh user
tags string
AWS Tags (e.g. key1,value1,key2,value2)
useEbsOptimizedInstance boolean
Create an EBS optimized instance
usePrivateAddress boolean
Force the usage of private IP address
userdata string
Path to file with cloud-init user data
volumeType string
Amazon EBS volume type
ami This property is required. str
AWS machine image
region This property is required. str
AWS Region
security_groups This property is required. Sequence[str]
AWS VPC security group
subnet_id This property is required. str
AWS VPC subnet id
vpc_id This property is required. str
AWS VPC id
zone This property is required. str
AWS zone for instance (i.e. a,b,c,d,e)
access_key str
AWS Access Key
block_duration_minutes str
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
device_name str
AWS root device name
encrypt_ebs_volume bool
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_profile str
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_only bool
Only use a private IP address
request_spot_instance bool
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_readonly bool
Skip adding default rules to security groups
session_token str
AWS Session Token
spot_price str
AWS spot instance bid price (in dollar)
ssh_key_contents str
SSH Key file contents for sshKeyContents
ssh_user str
Set the name of the ssh user
tags str
AWS Tags (e.g. key1,value1,key2,value2)
use_ebs_optimized_instance bool
Create an EBS optimized instance
use_private_address bool
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 This property is required. String
AWS machine image
region This property is required. String
AWS Region
securityGroups This property is required. List<String>
AWS VPC security group
subnetId This property is required. String
AWS VPC subnet id
vpcId This property is required. String
AWS VPC id
zone This property is required. String
AWS zone for instance (i.e. a,b,c,d,e)
accessKey String
AWS Access Key
blockDurationMinutes String
AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)
deviceName String
AWS root device name
encryptEbsVolume Boolean
Encrypt EBS volume
endpoint String
Optional endpoint URL (hostname only or fully qualified URI)
httpEndpoint String
Enables or disables the HTTP metadata endpoint on your instances
httpTokens String
The state of token usage for your instance metadata requests
iamInstanceProfile String
AWS IAM Instance Profile
insecureTransport Boolean
Disable SSL when sending requests
instanceType String
AWS instance type
kmsKey String
Custom KMS key ID using the AWS Managed CMK
monitoring Boolean
Set this flag to enable CloudWatch monitoring
openPorts List<String>
Make the specified port number accessible from the Internet
privateAddressOnly Boolean
Only use a private IP address
requestSpotInstance Boolean
Set this flag to request spot instance
retries String
Set retry count for recoverable failures (use -1 to disable)
rootSize String
AWS root disk size (in GB)
secretKey String
AWS Secret Key
securityGroupReadonly Boolean
Skip adding default rules to security groups
sessionToken String
AWS Session Token
spotPrice String
AWS spot instance bid price (in dollar)
sshKeyContents String
SSH Key file contents for sshKeyContents
sshUser String
Set the name of the ssh user
tags String
AWS Tags (e.g. key1,value1,key2,value2)
useEbsOptimizedInstance Boolean
Create an EBS optimized instance
usePrivateAddress Boolean
Force the usage of private IP address
userdata String
Path to file with cloud-init user data
volumeType String
Amazon EBS volume type

MachineConfigV2AzureConfig
, MachineConfigV2AzureConfigArgs

AcceleratedNetworking bool
Use Accelerated Networking when creating a network interface for the Azure VM
AvailabilitySet string
Azure Availability Set to place the virtual machine into
AvailabilityZone string
The Availability Zone that the Azure VM should be created in
ClientId string
Azure Service Principal Account ID (optional, browser auth is used if not specified)
ClientSecret string
Azure Service Principal Account password (optional, browser auth is used if not specified)
CustomData string
Path to file with custom-data
DiskSize string
Disk size if using managed disk
Dns string
A unique DNS label for the public IP adddress
DockerPort string
Port number for Docker engine
Environment string
Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
FaultDomainCount string
Fault domain count to use for availability set
Image string
Azure virtual machine OS image
Location string
Azure region to create the virtual machine
ManagedDisks bool
Configures VM and availability set for managed disks
NoPublicIp bool
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)
OpenPorts List<string>
Make the specified port number accessible from the Internet
PrivateAddressOnly bool
Only use a private IP address
PrivateIpAddress string
Specify a static private IP address for the machine
ResourceGroup string
Azure Resource Group name (will be created if missing)
Size string
Size for Azure Virtual Machine
SshUser string
Username for SSH login
StaticPublicIp bool
Assign a static public IP address to the machine
StorageType 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
SubnetPrefix string
Private CIDR block to be used for the new subnet, should comply RFC 1918
SubscriptionId string
Azure Subscription ID
Tags string
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
TenantId string
Azure Tenant ID
UpdateDomainCount string
Update domain count to use for availability set
UsePrivateIp bool
Use private IP address of the machine to connect
UsePublicIpStandardSku bool
Use the standard SKU when creating a Public IP for the Azure VM instance
Vnet string
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
AcceleratedNetworking bool
Use Accelerated Networking when creating a network interface for the Azure VM
AvailabilitySet string
Azure Availability Set to place the virtual machine into
AvailabilityZone string
The Availability Zone that the Azure VM should be created in
ClientId string
Azure Service Principal Account ID (optional, browser auth is used if not specified)
ClientSecret string
Azure Service Principal Account password (optional, browser auth is used if not specified)
CustomData string
Path to file with custom-data
DiskSize string
Disk size if using managed disk
Dns string
A unique DNS label for the public IP adddress
DockerPort string
Port number for Docker engine
Environment string
Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
FaultDomainCount string
Fault domain count to use for availability set
Image string
Azure virtual machine OS image
Location string
Azure region to create the virtual machine
ManagedDisks bool
Configures VM and availability set for managed disks
NoPublicIp bool
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)
OpenPorts []string
Make the specified port number accessible from the Internet
PrivateAddressOnly bool
Only use a private IP address
PrivateIpAddress string
Specify a static private IP address for the machine
ResourceGroup string
Azure Resource Group name (will be created if missing)
Size string
Size for Azure Virtual Machine
SshUser string
Username for SSH login
StaticPublicIp bool
Assign a static public IP address to the machine
StorageType 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
SubnetPrefix string
Private CIDR block to be used for the new subnet, should comply RFC 1918
SubscriptionId string
Azure Subscription ID
Tags string
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
TenantId string
Azure Tenant ID
UpdateDomainCount string
Update domain count to use for availability set
UsePrivateIp bool
Use private IP address of the machine to connect
UsePublicIpStandardSku bool
Use the standard SKU when creating a Public IP for the Azure VM instance
Vnet string
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
acceleratedNetworking Boolean
Use Accelerated Networking when creating a network interface for the Azure VM
availabilitySet String
Azure Availability Set to place the virtual machine into
availabilityZone String
The Availability Zone that the Azure VM should be created in
clientId String
Azure Service Principal Account ID (optional, browser auth is used if not specified)
clientSecret String
Azure Service Principal Account password (optional, browser auth is used if not specified)
customData String
Path to file with custom-data
diskSize String
Disk size if using managed disk
dns String
A unique DNS label for the public IP adddress
dockerPort String
Port number for Docker engine
environment String
Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
faultDomainCount String
Fault domain count to use for availability set
image String
Azure virtual machine OS image
location String
Azure region to create the virtual machine
managedDisks Boolean
Configures VM and availability set for managed disks
noPublicIp Boolean
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)
openPorts List<String>
Make the specified port number accessible from the Internet
privateAddressOnly Boolean
Only use a private IP address
privateIpAddress String
Specify a static private IP address for the machine
resourceGroup String
Azure Resource Group name (will be created if missing)
size String
Size for Azure Virtual Machine
sshUser String
Username for SSH login
staticPublicIp Boolean
Assign a static public IP address to the machine
storageType 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
subnetPrefix String
Private CIDR block to be used for the new subnet, should comply RFC 1918
subscriptionId String
Azure Subscription ID
tags String
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
tenantId String
Azure Tenant ID
updateDomainCount String
Update domain count to use for availability set
usePrivateIp Boolean
Use private IP address of the machine to connect
usePublicIpStandardSku Boolean
Use the standard SKU when creating a Public IP for the Azure VM instance
vnet String
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
acceleratedNetworking boolean
Use Accelerated Networking when creating a network interface for the Azure VM
availabilitySet string
Azure Availability Set to place the virtual machine into
availabilityZone string
The Availability Zone that the Azure VM should be created in
clientId string
Azure Service Principal Account ID (optional, browser auth is used if not specified)
clientSecret string
Azure Service Principal Account password (optional, browser auth is used if not specified)
customData string
Path to file with custom-data
diskSize string
Disk size if using managed disk
dns string
A unique DNS label for the public IP adddress
dockerPort string
Port number for Docker engine
environment string
Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
faultDomainCount string
Fault domain count to use for availability set
image string
Azure virtual machine OS image
location string
Azure region to create the virtual machine
managedDisks boolean
Configures VM and availability set for managed disks
noPublicIp boolean
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)
openPorts string[]
Make the specified port number accessible from the Internet
privateAddressOnly boolean
Only use a private IP address
privateIpAddress string
Specify a static private IP address for the machine
resourceGroup string
Azure Resource Group name (will be created if missing)
size string
Size for Azure Virtual Machine
sshUser string
Username for SSH login
staticPublicIp boolean
Assign a static public IP address to the machine
storageType 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
subnetPrefix string
Private CIDR block to be used for the new subnet, should comply RFC 1918
subscriptionId string
Azure Subscription ID
tags string
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
tenantId string
Azure Tenant ID
updateDomainCount string
Update domain count to use for availability set
usePrivateIp boolean
Use private IP address of the machine to connect
usePublicIpStandardSku boolean
Use the standard SKU when creating a Public IP for the Azure VM instance
vnet string
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
accelerated_networking bool
Use Accelerated Networking when creating a network interface for the Azure VM
availability_set str
Azure Availability Set to place the virtual machine into
availability_zone str
The Availability Zone that the Azure 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_count str
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_ip bool
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
private_address_only bool
Only use a private IP address
private_ip_address str
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_ip bool
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
tags str
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
tenant_id str
Azure Tenant ID
update_domain_count str
Update domain count to use for availability set
use_private_ip bool
Use private IP address of the machine to connect
use_public_ip_standard_sku bool
Use the standard SKU when creating a Public IP for the Azure VM instance
vnet str
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)
acceleratedNetworking Boolean
Use Accelerated Networking when creating a network interface for the Azure VM
availabilitySet String
Azure Availability Set to place the virtual machine into
availabilityZone String
The Availability Zone that the Azure VM should be created in
clientId String
Azure Service Principal Account ID (optional, browser auth is used if not specified)
clientSecret String
Azure Service Principal Account password (optional, browser auth is used if not specified)
customData String
Path to file with custom-data
diskSize String
Disk size if using managed disk
dns String
A unique DNS label for the public IP adddress
dockerPort String
Port number for Docker engine
environment String
Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)
faultDomainCount String
Fault domain count to use for availability set
image String
Azure virtual machine OS image
location String
Azure region to create the virtual machine
managedDisks Boolean
Configures VM and availability set for managed disks
noPublicIp Boolean
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)
openPorts List<String>
Make the specified port number accessible from the Internet
privateAddressOnly Boolean
Only use a private IP address
privateIpAddress String
Specify a static private IP address for the machine
resourceGroup String
Azure Resource Group name (will be created if missing)
size String
Size for Azure Virtual Machine
sshUser String
Username for SSH login
staticPublicIp Boolean
Assign a static public IP address to the machine
storageType 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
subnetPrefix String
Private CIDR block to be used for the new subnet, should comply RFC 1918
subscriptionId String
Azure Subscription ID
tags String
Tags to be applied to the Azure VM instance (e.g. key1,value1,key2,value2)
tenantId String
Azure Tenant ID
updateDomainCount String
Update domain count to use for availability set
usePrivateIp Boolean
Use private IP address of the machine to connect
usePublicIpStandardSku Boolean
Use the standard SKU when creating a Public IP for the Azure VM instance
vnet String
Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)

MachineConfigV2DigitaloceanConfig
, MachineConfigV2DigitaloceanConfigArgs

AccessToken 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
PrivateNetworking bool
Enable private networking for droplet
Region string
Digital Ocean region
Size string
Digital Ocean size
SshKeyContents string
SSH private key contents
SshKeyFingerprint string
SSH key fingerprint
SshPort string
SSH port
SshUser string
SSH username
Tags string
Comma-separated list of tags to apply to the Droplet
Userdata string
Path to file with cloud-init user-data
AccessToken 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
PrivateNetworking bool
Enable private networking for droplet
Region string
Digital Ocean region
Size string
Digital Ocean size
SshKeyContents string
SSH private key contents
SshKeyFingerprint string
SSH key fingerprint
SshPort string
SSH port
SshUser string
SSH username
Tags string
Comma-separated list of tags to apply to the Droplet
Userdata string
Path to file with cloud-init user-data
accessToken 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
privateNetworking Boolean
Enable private networking for droplet
region String
Digital Ocean region
size String
Digital Ocean size
sshKeyContents String
SSH private key contents
sshKeyFingerprint String
SSH key fingerprint
sshPort String
SSH port
sshUser String
SSH username
tags String
Comma-separated list of tags to apply to the Droplet
userdata String
Path to file with cloud-init user-data
accessToken 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
privateNetworking boolean
Enable private networking for droplet
region string
Digital Ocean region
size string
Digital Ocean size
sshKeyContents string
SSH private key contents
sshKeyFingerprint string
SSH key fingerprint
sshPort string
SSH port
sshUser string
SSH username
tags 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_contents str
SSH private key contents
ssh_key_fingerprint str
SSH key fingerprint
ssh_port str
SSH port
ssh_user str
SSH username
tags str
Comma-separated list of tags to apply to the Droplet
userdata str
Path to file with cloud-init user-data
accessToken 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
privateNetworking Boolean
Enable private networking for droplet
region String
Digital Ocean region
size String
Digital Ocean size
sshKeyContents String
SSH private key contents
sshKeyFingerprint String
SSH key fingerprint
sshPort String
SSH port
sshUser String
SSH username
tags String
Comma-separated list of tags to apply to the Droplet
userdata String
Path to file with cloud-init user-data

MachineConfigV2HarvesterConfig
, MachineConfigV2HarvesterConfigArgs

SshUser This property is required. string
SSH username
VmNamespace This property is required. string
Virtual machine namespace
CpuCount string
CPU count
DiskBus string
Disk bus

Deprecated: Use disk_info instead

DiskInfo 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}]}
DiskSize string
Disk size (in GiB)

Deprecated: Use disk_info instead

ImageName string
Image name

Deprecated: Use disk_info instead

MemorySize string
Memory size (in GiB)
NetworkData string
NetworkData content of cloud-init, base64 is supported
NetworkInfo string
A JSON string specifying info for the networks e.g. {"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
NetworkModel string
Network model

Deprecated: Use network_info instead

NetworkName string
Network name

Deprecated: Use network_info instead

SshPassword string
SSH password
UserData 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
VmAffinity string
VM affinity, base64 is supported
SshUser This property is required. string
SSH username
VmNamespace This property is required. string
Virtual machine namespace
CpuCount string
CPU count
DiskBus string
Disk bus

Deprecated: Use disk_info instead

DiskInfo 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}]}
DiskSize string
Disk size (in GiB)

Deprecated: Use disk_info instead

ImageName string
Image name

Deprecated: Use disk_info instead

MemorySize string
Memory size (in GiB)
NetworkData string
NetworkData content of cloud-init, base64 is supported
NetworkInfo string
A JSON string specifying info for the networks e.g. {"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
NetworkModel string
Network model

Deprecated: Use network_info instead

NetworkName string
Network name

Deprecated: Use network_info instead

SshPassword string
SSH password
UserData 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
VmAffinity string
VM affinity, base64 is supported
sshUser This property is required. String
SSH username
vmNamespace This property is required. String
Virtual machine namespace
cpuCount String
CPU count
diskBus String
Disk bus

Deprecated: Use disk_info instead

diskInfo 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}]}
diskSize String
Disk size (in GiB)

Deprecated: Use disk_info instead

imageName String
Image name

Deprecated: Use disk_info instead

memorySize String
Memory size (in GiB)
networkData String
NetworkData content of cloud-init, base64 is supported
networkInfo String
A JSON string specifying info for the networks e.g. {"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
networkModel String
Network model

Deprecated: Use network_info instead

networkName String
Network name

Deprecated: Use network_info instead

sshPassword String
SSH password
userData 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
vmAffinity String
VM affinity, base64 is supported
sshUser This property is required. string
SSH username
vmNamespace This property is required. string
Virtual machine namespace
cpuCount string
CPU count
diskBus string
Disk bus

Deprecated: Use disk_info instead

diskInfo 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}]}
diskSize string
Disk size (in GiB)

Deprecated: Use disk_info instead

imageName string
Image name

Deprecated: Use disk_info instead

memorySize string
Memory size (in GiB)
networkData string
NetworkData content of cloud-init, base64 is supported
networkInfo string
A JSON string specifying info for the networks e.g. {"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
networkModel string
Network model

Deprecated: Use network_info instead

networkName string
Network name

Deprecated: Use network_info instead

sshPassword string
SSH password
userData 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
vmAffinity string
VM affinity, base64 is supported
ssh_user This property is required. str
SSH username
vm_namespace This property is required. str
Virtual machine namespace
cpu_count str
CPU count
disk_bus str
Disk bus

Deprecated: Use disk_info instead

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)

Deprecated: Use disk_info instead

image_name str
Image name

Deprecated: Use disk_info instead

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

Deprecated: Use network_info instead

network_name str
Network name

Deprecated: Use network_info instead

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
sshUser This property is required. String
SSH username
vmNamespace This property is required. String
Virtual machine namespace
cpuCount String
CPU count
diskBus String
Disk bus

Deprecated: Use disk_info instead

diskInfo 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}]}
diskSize String
Disk size (in GiB)

Deprecated: Use disk_info instead

imageName String
Image name

Deprecated: Use disk_info instead

memorySize String
Memory size (in GiB)
networkData String
NetworkData content of cloud-init, base64 is supported
networkInfo String
A JSON string specifying info for the networks e.g. {"interfaces":[{"networkName":"harvester-public/vlan1"},{"networkName":"harvester-public/vlan2"}]}
networkModel String
Network model

Deprecated: Use network_info instead

networkName String
Network name

Deprecated: Use network_info instead

sshPassword String
SSH password
userData 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
vmAffinity String
VM affinity, base64 is supported

MachineConfigV2LinodeConfig
, MachineConfigV2LinodeConfigArgs

AuthorizedUsers string
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
CreatePrivateIp bool
Create private IP for the instance
DockerPort string
Docker Port
Image string
Specifies the Linode Instance image which determines the OS distribution and base files
InstanceType 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
RootPass string
Root Password
SshPort string
Linode Instance SSH Port
SshUser 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
StackscriptData string
A JSON string specifying data for the selected StackScript
SwapSize string
Linode Instance Swap Size (MB)
Tags string
A comma separated list of tags to apply to the the Linode resource
Token string
Linode API Token
UaPrefix string
Prefix the User-Agent in Linode API calls with some 'product/version'
AuthorizedUsers string
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
CreatePrivateIp bool
Create private IP for the instance
DockerPort string
Docker Port
Image string
Specifies the Linode Instance image which determines the OS distribution and base files
InstanceType 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
RootPass string
Root Password
SshPort string
Linode Instance SSH Port
SshUser 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
StackscriptData string
A JSON string specifying data for the selected StackScript
SwapSize string
Linode Instance Swap Size (MB)
Tags string
A comma separated list of tags to apply to the the Linode resource
Token string
Linode API Token
UaPrefix string
Prefix the User-Agent in Linode API calls with some 'product/version'
authorizedUsers String
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
createPrivateIp Boolean
Create private IP for the instance
dockerPort String
Docker Port
image String
Specifies the Linode Instance image which determines the OS distribution and base files
instanceType 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
rootPass String
Root Password
sshPort String
Linode Instance SSH Port
sshUser 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
stackscriptData String
A JSON string specifying data for the selected StackScript
swapSize String
Linode Instance Swap Size (MB)
tags String
A comma separated list of tags to apply to the the Linode resource
token String
Linode API Token
uaPrefix String
Prefix the User-Agent in Linode API calls with some 'product/version'
authorizedUsers string
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
createPrivateIp boolean
Create private IP for the instance
dockerPort string
Docker Port
image string
Specifies the Linode Instance image which determines the OS distribution and base files
instanceType 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
rootPass string
Root Password
sshPort string
Linode Instance SSH Port
sshUser 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
stackscriptData string
A JSON string specifying data for the selected StackScript
swapSize string
Linode Instance Swap Size (MB)
tags string
A comma separated list of tags to apply to the the Linode resource
token string
Linode API Token
uaPrefix string
Prefix the User-Agent in Linode API calls with some 'product/version'
authorized_users str
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
create_private_ip bool
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)
tags 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'
authorizedUsers String
Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node
createPrivateIp Boolean
Create private IP for the instance
dockerPort String
Docker Port
image String
Specifies the Linode Instance image which determines the OS distribution and base files
instanceType 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
rootPass String
Root Password
sshPort String
Linode Instance SSH Port
sshUser 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
stackscriptData String
A JSON string specifying data for the selected StackScript
swapSize String
Linode Instance Swap Size (MB)
tags String
A comma separated list of tags to apply to the the Linode resource
token String
Linode API Token
uaPrefix String
Prefix the User-Agent in Linode API calls with some 'product/version'

MachineConfigV2OpenstackConfig
, MachineConfigV2OpenstackConfigArgs

AuthUrl This property is required. string
OpenStack authentication URL (string)
AvailabilityZone This property is required. string
OpenStack availability zone (string)
Region This property is required. string
OpenStack region name (string)
ActiveTimeout string
OpenStack active timeout Default 200 (string)
ApplicationCredentialId string
OpenStack application credential id. Conflicts with application_credential_name (string)
ApplicationCredentialName string
OpenStack application credential name. Conflicts with application_credential_id (string)
ApplicationCredentialSecret string
OpenStack application credential secret (string)
BootFromVolume bool
Enable booting from volume. Default is false (bool)
Cacert string
CA certificate bundle to verify against (string)
ConfigDrive bool
Enables the OpenStack config drive for the instance. Default false (bool)
DomainId string
OpenStack domain ID. Identity v3 only. Conflicts with domain_name (string)
DomainName string
OpenStack domain name. Identity v3 only. Conflicts with domain_id (string)
EndpointType string
OpenStack endpoint type. adminURL, internalURL or publicURL (string)
FlavorId string
OpenStack flavor id to use for the instance. Conflicts with flavor_name (string)
FlavorName string
OpenStack flavor name to use for the instance. Conflicts with flavor_id (string)
FloatingIpPool string
OpenStack floating IP pool to get an IP from to assign to the instance (string)
ImageId string
OpenStack image id to use for the instance. Conflicts with image_name (string)
ImageName string
OpenStack image name to use for the instance. Conflicts with image_id (string)
Insecure bool
Disable TLS credential checking. Default false (bool)
IpVersion string
OpenStack version of IP address assigned for the machine Default 4 (string)
KeypairName string
OpenStack keypair to use to SSH to the instance (string)
NetId string
OpenStack network id the machine will be connected on. Conflicts with net_name (string)
NetName string
OpenStack network name the machine will be connected on. Conflicts with net_id (string)
NovaNetwork bool
Use the nova networking services instead of neutron (string)
Password string
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
PrivateKeyFile string
Private key content to use for SSH (string)
SecGroups string
OpenStack comma separated security groups for the machine (string)
SshPort string
If using a non-B2D image you can specify the ssh port. Default 22 (string)
SshUser string
If using a non-B2D image you can specify the ssh user. Default docker. (string)
TenantDomainId string
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
TenantDomainName string
OpenStack tenant domain name. Conflicts with tenant_domain_id (string)
TenantId string
OpenStack tenant id. Conflicts with tenant_name (string)
TenantName string
OpenStack tenant name. Conflicts with tenant_id (string)
UserDataFile string
File containing an openstack userdata script (string)
UserDomainId string
OpenStack user domain id. Conflicts with user_domain_name (string)
UserDomainName string
OpenStack user domain name. Conflicts with user_domain_id (string)
Username string
OpenStack username (string)
VolumeDevicePath string

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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

VolumeId string
OpenStack volume id of existing volume. Applicable only when boot_from_volume is true (string)
VolumeName string
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
VolumeSize string
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
VolumeType string
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)
AuthUrl This property is required. string
OpenStack authentication URL (string)
AvailabilityZone This property is required. string
OpenStack availability zone (string)
Region This property is required. string
OpenStack region name (string)
ActiveTimeout string
OpenStack active timeout Default 200 (string)
ApplicationCredentialId string
OpenStack application credential id. Conflicts with application_credential_name (string)
ApplicationCredentialName string
OpenStack application credential name. Conflicts with application_credential_id (string)
ApplicationCredentialSecret string
OpenStack application credential secret (string)
BootFromVolume bool
Enable booting from volume. Default is false (bool)
Cacert string
CA certificate bundle to verify against (string)
ConfigDrive bool
Enables the OpenStack config drive for the instance. Default false (bool)
DomainId string
OpenStack domain ID. Identity v3 only. Conflicts with domain_name (string)
DomainName string
OpenStack domain name. Identity v3 only. Conflicts with domain_id (string)
EndpointType string
OpenStack endpoint type. adminURL, internalURL or publicURL (string)
FlavorId string
OpenStack flavor id to use for the instance. Conflicts with flavor_name (string)
FlavorName string
OpenStack flavor name to use for the instance. Conflicts with flavor_id (string)
FloatingIpPool string
OpenStack floating IP pool to get an IP from to assign to the instance (string)
ImageId string
OpenStack image id to use for the instance. Conflicts with image_name (string)
ImageName string
OpenStack image name to use for the instance. Conflicts with image_id (string)
Insecure bool
Disable TLS credential checking. Default false (bool)
IpVersion string
OpenStack version of IP address assigned for the machine Default 4 (string)
KeypairName string
OpenStack keypair to use to SSH to the instance (string)
NetId string
OpenStack network id the machine will be connected on. Conflicts with net_name (string)
NetName string
OpenStack network name the machine will be connected on. Conflicts with net_id (string)
NovaNetwork bool
Use the nova networking services instead of neutron (string)
Password string
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
PrivateKeyFile string
Private key content to use for SSH (string)
SecGroups string
OpenStack comma separated security groups for the machine (string)
SshPort string
If using a non-B2D image you can specify the ssh port. Default 22 (string)
SshUser string
If using a non-B2D image you can specify the ssh user. Default docker. (string)
TenantDomainId string
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
TenantDomainName string
OpenStack tenant domain name. Conflicts with tenant_domain_id (string)
TenantId string
OpenStack tenant id. Conflicts with tenant_name (string)
TenantName string
OpenStack tenant name. Conflicts with tenant_id (string)
UserDataFile string
File containing an openstack userdata script (string)
UserDomainId string
OpenStack user domain id. Conflicts with user_domain_name (string)
UserDomainName string
OpenStack user domain name. Conflicts with user_domain_id (string)
Username string
OpenStack username (string)
VolumeDevicePath string

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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

VolumeId string
OpenStack volume id of existing volume. Applicable only when boot_from_volume is true (string)
VolumeName string
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
VolumeSize string
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
VolumeType string
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)
authUrl This property is required. String
OpenStack authentication URL (string)
availabilityZone This property is required. String
OpenStack availability zone (string)
region This property is required. String
OpenStack region name (string)
activeTimeout String
OpenStack active timeout Default 200 (string)
applicationCredentialId String
OpenStack application credential id. Conflicts with application_credential_name (string)
applicationCredentialName String
OpenStack application credential name. Conflicts with application_credential_id (string)
applicationCredentialSecret String
OpenStack application credential secret (string)
bootFromVolume Boolean
Enable booting from volume. Default is false (bool)
cacert String
CA certificate bundle to verify against (string)
configDrive Boolean
Enables the OpenStack config drive for the instance. Default false (bool)
domainId String
OpenStack domain ID. Identity v3 only. Conflicts with domain_name (string)
domainName String
OpenStack domain name. Identity v3 only. Conflicts with domain_id (string)
endpointType String
OpenStack endpoint type. adminURL, internalURL or publicURL (string)
flavorId String
OpenStack flavor id to use for the instance. Conflicts with flavor_name (string)
flavorName String
OpenStack flavor name to use for the instance. Conflicts with flavor_id (string)
floatingIpPool String
OpenStack floating IP pool to get an IP from to assign to the instance (string)
imageId String
OpenStack image id to use for the instance. Conflicts with image_name (string)
imageName String
OpenStack image name to use for the instance. Conflicts with image_id (string)
insecure Boolean
Disable TLS credential checking. Default false (bool)
ipVersion String
OpenStack version of IP address assigned for the machine Default 4 (string)
keypairName String
OpenStack keypair to use to SSH to the instance (string)
netId String
OpenStack network id the machine will be connected on. Conflicts with net_name (string)
netName String
OpenStack network name the machine will be connected on. Conflicts with net_id (string)
novaNetwork Boolean
Use the nova networking services instead of neutron (string)
password String
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
privateKeyFile String
Private key content to use for SSH (string)
secGroups String
OpenStack comma separated security groups for the machine (string)
sshPort String
If using a non-B2D image you can specify the ssh port. Default 22 (string)
sshUser String
If using a non-B2D image you can specify the ssh user. Default docker. (string)
tenantDomainId String
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
tenantDomainName String
OpenStack tenant domain name. Conflicts with tenant_domain_id (string)
tenantId String
OpenStack tenant id. Conflicts with tenant_name (string)
tenantName String
OpenStack tenant name. Conflicts with tenant_id (string)
userDataFile String
File containing an openstack userdata script (string)
userDomainId String
OpenStack user domain id. Conflicts with user_domain_name (string)
userDomainName String
OpenStack user domain name. Conflicts with user_domain_id (string)
username String
OpenStack username (string)
volumeDevicePath String

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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

volumeId String
OpenStack volume id of existing volume. Applicable only when boot_from_volume is true (string)
volumeName String
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
volumeSize String
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
volumeType String
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)
authUrl This property is required. string
OpenStack authentication URL (string)
availabilityZone This property is required. string
OpenStack availability zone (string)
region This property is required. string
OpenStack region name (string)
activeTimeout string
OpenStack active timeout Default 200 (string)
applicationCredentialId string
OpenStack application credential id. Conflicts with application_credential_name (string)
applicationCredentialName string
OpenStack application credential name. Conflicts with application_credential_id (string)
applicationCredentialSecret string
OpenStack application credential secret (string)
bootFromVolume boolean
Enable booting from volume. Default is false (bool)
cacert string
CA certificate bundle to verify against (string)
configDrive boolean
Enables the OpenStack config drive for the instance. Default false (bool)
domainId string
OpenStack domain ID. Identity v3 only. Conflicts with domain_name (string)
domainName string
OpenStack domain name. Identity v3 only. Conflicts with domain_id (string)
endpointType string
OpenStack endpoint type. adminURL, internalURL or publicURL (string)
flavorId string
OpenStack flavor id to use for the instance. Conflicts with flavor_name (string)
flavorName string
OpenStack flavor name to use for the instance. Conflicts with flavor_id (string)
floatingIpPool string
OpenStack floating IP pool to get an IP from to assign to the instance (string)
imageId string
OpenStack image id to use for the instance. Conflicts with image_name (string)
imageName string
OpenStack image name to use for the instance. Conflicts with image_id (string)
insecure boolean
Disable TLS credential checking. Default false (bool)
ipVersion string
OpenStack version of IP address assigned for the machine Default 4 (string)
keypairName string
OpenStack keypair to use to SSH to the instance (string)
netId string
OpenStack network id the machine will be connected on. Conflicts with net_name (string)
netName string
OpenStack network name the machine will be connected on. Conflicts with net_id (string)
novaNetwork boolean
Use the nova networking services instead of neutron (string)
password string
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
privateKeyFile string
Private key content to use for SSH (string)
secGroups string
OpenStack comma separated security groups for the machine (string)
sshPort string
If using a non-B2D image you can specify the ssh port. Default 22 (string)
sshUser string
If using a non-B2D image you can specify the ssh user. Default docker. (string)
tenantDomainId string
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
tenantDomainName string
OpenStack tenant domain name. Conflicts with tenant_domain_id (string)
tenantId string
OpenStack tenant id. Conflicts with tenant_name (string)
tenantName string
OpenStack tenant name. Conflicts with tenant_id (string)
userDataFile string
File containing an openstack userdata script (string)
userDomainId string
OpenStack user domain id. Conflicts with user_domain_name (string)
userDomainName string
OpenStack user domain name. Conflicts with user_domain_id (string)
username string
OpenStack username (string)
volumeDevicePath string

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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

volumeId string
OpenStack volume id of existing volume. Applicable only when boot_from_volume is true (string)
volumeName string
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
volumeSize string
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
volumeType string
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)
auth_url This property is required. str
OpenStack authentication URL (string)
availability_zone This property is required. str
OpenStack availability zone (string)
region This property is required. str
OpenStack region name (string)
active_timeout str
OpenStack active timeout Default 200 (string)
application_credential_id str
OpenStack application credential id. Conflicts with application_credential_name (string)
application_credential_name str
OpenStack application credential name. Conflicts with application_credential_id (string)
application_credential_secret str
OpenStack application credential secret (string)
boot_from_volume bool
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_pool str
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
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
private_key_file str
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 (string)
ssh_user str
If using a non-B2D image you can specify the ssh user. Default docker. (string)
tenant_domain_id str
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
tenant_domain_name str
OpenStack tenant domain name. Conflicts with tenant_domain_id (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_file str
File containing an openstack userdata script (string)
user_domain_id str
OpenStack user domain id. Conflicts with user_domain_name (string)
user_domain_name str
OpenStack user domain name. Conflicts with user_domain_id (string)
username str
OpenStack username (string)
volume_device_path str

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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 is true (string)
volume_name str
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
volume_size str
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
volume_type str
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)
authUrl This property is required. String
OpenStack authentication URL (string)
availabilityZone This property is required. String
OpenStack availability zone (string)
region This property is required. String
OpenStack region name (string)
activeTimeout String
OpenStack active timeout Default 200 (string)
applicationCredentialId String
OpenStack application credential id. Conflicts with application_credential_name (string)
applicationCredentialName String
OpenStack application credential name. Conflicts with application_credential_id (string)
applicationCredentialSecret String
OpenStack application credential secret (string)
bootFromVolume Boolean
Enable booting from volume. Default is false (bool)
cacert String
CA certificate bundle to verify against (string)
configDrive Boolean
Enables the OpenStack config drive for the instance. Default false (bool)
domainId String
OpenStack domain ID. Identity v3 only. Conflicts with domain_name (string)
domainName String
OpenStack domain name. Identity v3 only. Conflicts with domain_id (string)
endpointType String
OpenStack endpoint type. adminURL, internalURL or publicURL (string)
flavorId String
OpenStack flavor id to use for the instance. Conflicts with flavor_name (string)
flavorName String
OpenStack flavor name to use for the instance. Conflicts with flavor_id (string)
floatingIpPool String
OpenStack floating IP pool to get an IP from to assign to the instance (string)
imageId String
OpenStack image id to use for the instance. Conflicts with image_name (string)
imageName String
OpenStack image name to use for the instance. Conflicts with image_id (string)
insecure Boolean
Disable TLS credential checking. Default false (bool)
ipVersion String
OpenStack version of IP address assigned for the machine Default 4 (string)
keypairName String
OpenStack keypair to use to SSH to the instance (string)
netId String
OpenStack network id the machine will be connected on. Conflicts with net_name (string)
netName String
OpenStack network name the machine will be connected on. Conflicts with net_id (string)
novaNetwork Boolean
Use the nova networking services instead of neutron (string)
password String
OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2.CloudCredential from Rancher v2.2.x (string)
privateKeyFile String
Private key content to use for SSH (string)
secGroups String
OpenStack comma separated security groups for the machine (string)
sshPort String
If using a non-B2D image you can specify the ssh port. Default 22 (string)
sshUser String
If using a non-B2D image you can specify the ssh user. Default docker. (string)
tenantDomainId String
OpenStack tenant domain id. Conflicts with tenant_domain_name (string)
tenantDomainName String
OpenStack tenant domain name. Conflicts with tenant_domain_id (string)
tenantId String
OpenStack tenant id. Conflicts with tenant_name (string)
tenantName String
OpenStack tenant name. Conflicts with tenant_id (string)
userDataFile String
File containing an openstack userdata script (string)
userDomainId String
OpenStack user domain id. Conflicts with user_domain_name (string)
userDomainName String
OpenStack user domain name. Conflicts with user_domain_id (string)
username String
OpenStack username (string)
volumeDevicePath String

OpenStack volume device path (attaching). Applicable only when boot_from_volume is true. 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 unless application_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

volumeId String
OpenStack volume id of existing volume. Applicable only when boot_from_volume is true (string)
volumeName String
OpenStack volume name of existing volume. Applicable only when boot_from_volume is true (string)
volumeSize String
OpenStack volume size (GiB). Required when boot_from_volume is true (string)
volumeType String
OpenStack volume type. Required when boot_from_volume is true and openstack cloud does not have a default volume type (string)

MachineConfigV2VsphereConfig
, MachineConfigV2VsphereConfigArgs

Boot2dockerUrl string
vSphere URL for boot2docker image
Cfgparams List<string>
vSphere vm configuration parameters (used for guestinfo)
CloneFrom string
If you choose creation type clone a name of what you want to clone is required
CloudConfig 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
ContentLibrary string
If you choose to clone from a content library template specify the name of the library
CpuCount string
vSphere CPU number for docker VM
CreationType string
Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
CustomAttributes 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
DatastoreCluster string
vSphere datastore cluster for virtual machine
DiskSize 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
GracefulShutdownTimeout string
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
MemorySize 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
SshPassword string
If using a non-B2D image you can specify the ssh password
SshPort string
If using a non-B2D image you can specify the ssh port
SshUser string
If using a non-B2D image you can specify the ssh user
SshUserGroup string
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
Tags List<string>
vSphere tags id e.g. urn:xxx
Username string
vSphere username
VappIpAllocationPolicy string
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
VappIpProtocol string
vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
VappProperties List<string>
vSphere vApp properties
VappTransport string
vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
Vcenter string
vSphere IP/hostname for vCenter
VcenterPort string
vSphere Port for vCenter
Boot2dockerUrl string
vSphere URL for boot2docker image
Cfgparams []string
vSphere vm configuration parameters (used for guestinfo)
CloneFrom string
If you choose creation type clone a name of what you want to clone is required
CloudConfig 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
ContentLibrary string
If you choose to clone from a content library template specify the name of the library
CpuCount string
vSphere CPU number for docker VM
CreationType string
Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
CustomAttributes []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
DatastoreCluster string
vSphere datastore cluster for virtual machine
DiskSize 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
GracefulShutdownTimeout string
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
MemorySize 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
SshPassword string
If using a non-B2D image you can specify the ssh password
SshPort string
If using a non-B2D image you can specify the ssh port
SshUser string
If using a non-B2D image you can specify the ssh user
SshUserGroup string
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
Tags []string
vSphere tags id e.g. urn:xxx
Username string
vSphere username
VappIpAllocationPolicy string
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
VappIpProtocol string
vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
VappProperties []string
vSphere vApp properties
VappTransport string
vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
Vcenter string
vSphere IP/hostname for vCenter
VcenterPort string
vSphere Port for vCenter
boot2dockerUrl String
vSphere URL for boot2docker image
cfgparams List<String>
vSphere vm configuration parameters (used for guestinfo)
cloneFrom String
If you choose creation type clone a name of what you want to clone is required
cloudConfig 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
contentLibrary String
If you choose to clone from a content library template specify the name of the library
cpuCount String
vSphere CPU number for docker VM
creationType String
Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
customAttributes 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
datastoreCluster String
vSphere datastore cluster for virtual machine
diskSize 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
gracefulShutdownTimeout String
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
memorySize 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
sshPassword String
If using a non-B2D image you can specify the ssh password
sshPort String
If using a non-B2D image you can specify the ssh port
sshUser String
If using a non-B2D image you can specify the ssh user
sshUserGroup String
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
tags List<String>
vSphere tags id e.g. urn:xxx
username String
vSphere username
vappIpAllocationPolicy String
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
vappIpProtocol String
vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
vappProperties List<String>
vSphere vApp properties
vappTransport String
vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
vcenter String
vSphere IP/hostname for vCenter
vcenterPort String
vSphere Port for vCenter
boot2dockerUrl string
vSphere URL for boot2docker image
cfgparams string[]
vSphere vm configuration parameters (used for guestinfo)
cloneFrom string
If you choose creation type clone a name of what you want to clone is required
cloudConfig 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
contentLibrary string
If you choose to clone from a content library template specify the name of the library
cpuCount string
vSphere CPU number for docker VM
creationType string
Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
customAttributes 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
datastoreCluster string
vSphere datastore cluster for virtual machine
diskSize 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
gracefulShutdownTimeout string
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
memorySize 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
sshPassword string
If using a non-B2D image you can specify the ssh password
sshPort string
If using a non-B2D image you can specify the ssh port
sshUser string
If using a non-B2D image you can specify the ssh user
sshUserGroup string
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
tags string[]
vSphere tags id e.g. urn:xxx
username string
vSphere username
vappIpAllocationPolicy string
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
vappIpProtocol string
vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
vappProperties string[]
vSphere vApp properties
vappTransport string
vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
vcenter string
vSphere IP/hostname for vCenter
vcenterPort 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_timeout str
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_group str
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
tags Sequence[str]
vSphere tags id e.g. urn:xxx
username str
vSphere username
vapp_ip_allocation_policy str
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
vapp_ip_protocol str
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
boot2dockerUrl String
vSphere URL for boot2docker image
cfgparams List<String>
vSphere vm configuration parameters (used for guestinfo)
cloneFrom String
If you choose creation type clone a name of what you want to clone is required
cloudConfig 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
contentLibrary String
If you choose to clone from a content library template specify the name of the library
cpuCount String
vSphere CPU number for docker VM
creationType String
Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy
customAttributes 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
datastoreCluster String
vSphere datastore cluster for virtual machine
diskSize 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
gracefulShutdownTimeout String
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
memorySize 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
sshPassword String
If using a non-B2D image you can specify the ssh password
sshPort String
If using a non-B2D image you can specify the ssh port
sshUser String
If using a non-B2D image you can specify the ssh user
sshUserGroup String
If using a non-B2D image the uploaded keys will need chown'ed, defaults to staff e.g. docker:staff
tags List<String>
vSphere tags id e.g. urn:xxx
username String
vSphere username
vappIpAllocationPolicy String
vSphere vApp IP allocation policy. Supported values are: dhcp, fixed, transient and fixedAllocated
vappIpProtocol String
vSphere vApp IP protocol for this deployment. Supported values are: IPv4 and IPv6
vappProperties List<String>
vSphere vApp properties
vappTransport String
vSphere OVF environment transports to use for properties. Supported values are: iso and com.vmware.guestInfo
vcenter String
vSphere IP/hostname for vCenter
vcenterPort String
vSphere Port for vCenter

Package Details

Repository
Rancher2 pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.