spectrocloud.VirtualMachine
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const vmEnabledBaseCluster = spectrocloud.getCluster({
name: "tenant-cluster-002",
context: "project",
});
const storageClassName = "spectro-storage-class";
// Create a VM with default cloud init disk, container disk , interface and network
///*
const tf_test_vm_basic_type = new spectrocloud.VirtualMachine("tf-test-vm-basic-type", {
clusterUid: vmEnabledBaseCluster.then(vmEnabledBaseCluster => vmEnabledBaseCluster.id),
clusterContext: vmEnabledBaseCluster.then(vmEnabledBaseCluster => vmEnabledBaseCluster.context),
runOnLaunch: true,
namespace: "default",
labels: {
tf: "test",
},
volumes: [
{
name: "containerdisk",
volumeSource: {
containerDisks: [{
imageUrl: "gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04",
}],
},
},
{
name: "cloudintdisk",
volumeSource: {
cloudInitConfigDrive: {
userData: `
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
`,
},
},
},
],
disks: [
{
name: "containerdisk",
diskDevices: [{
disks: [{
bus: "virtio",
}],
}],
},
{
name: "cloudintdisk",
diskDevices: [{
disks: [{
bus: "virtio",
}],
}],
},
],
cpu: {
cores: 2,
sockets: 1,
threads: 10,
},
memory: {
guest: "1Gi",
},
resources: {
requests: {
memory: "1Gi",
cpu: "1",
},
limits: {
cpu: "2",
memory: "1Gi",
},
},
interfaces: [{
name: "default",
interfaceBindingMethod: "InterfaceMasquerade",
}],
networks: [{
name: "default",
networkSource: {
pod: {},
},
}],
});
// Create a VM with default with all available day2 attributes
//resource "spectrocloud_virtual_machine" "tf-test-vm-all-option-template-spec" {
// cluster_uid = data.spectrocloud_cluster.vm_enabled_base_cluster.id
// cluster_context = data.spectrocloud_cluster.vm_enabled_base_cluster.context
// name = "tf-test-vm-all-option-spec-day2"
// namespace = "default"
// run_on_launch = true
// labels = {
// "key1" = "value1"
// }
// # Sample Day 2 Operation attributes
// # priority_class_name = "high"
// # scheduler_name = "test"
// # node_selector = {
// # "test_vmi" = "node_labels"
// # }
// # eviction_strategy = "LiveMigrate"
// # termination_grace_period_seconds = 60
// # hostname = "spectro-com"
// # subdomain = "test-spectro-com"
// # dns_policy = "Default" //["ClusterFirstWithHostNet", "ClusterFirst", "Default", "None"]
// # tolerations {
// # effect = "NoExecute" // ["NoSchedule", "PreferNoSchedule", "NoExecute"]
// # key = "tolerationKey"
// # operator = "Equal" // ["Exists", "Equal"]
// # toleration_seconds = "60"
// # value = "taintValue"
// # }
// # pod_dns_config {
// # nameservers = ["10.0.0.10", "10.0.0.11"]
// # option {
// # name = "test_dns_name"
// # value = "dns_value"
// # }
// # searches = ["policy1", "policy2"]
// # }
// # affinity {
// # pod_anti_affinity {
// # preferred_during_scheduling_ignored_during_execution {
// # weight = 10
// # pod_affinity_term {
// # label_selector {
// # match_labels = {
// # anti-affinity-key = "anti-affinity-val"
// # }
// # }
// # topology_key = "kubernetes.io/hostname"
// # }
// # }
// # }
// # }
// volume {
// name = "test-vm-containerdisk1"
// volume_source {
// container_disk {
// image_url = "quay.io/kubevirt/fedora-cloud-container-disk-demo"
// }
// }
// }
// volume {
// name = "cloudintdisk"
// volume_source {
// cloud_init_config_drive {
// user_data = "\n#cloud-config\nssh_pwauth: True\nchpasswd: { expire: False }\npassword: spectro\ndisable_root: false\n"
// }
// }
// }
//
// resources {
// requests = {
// memory = "2G"
// cpu = 1
// }
// # Sample Day 2 Operation disk
// # limits = {
// # "test_limit" = "10"
// # }
// over_commit_guest_overhead = false
// }
//
// disk {
// name = "test-vm-containerdisk1"
// disk_device {
// disk {
// bus = "virtio"
// }
// }
// }
// disk {
// name = "cloudintdisk"
// disk_device {
// disk {
// bus = "virtio"
// read_only = false
// # pci_address = "0000:03:07.0"
// }
// }
// serial = "1"
// }
// interface {
// name = "main"
// interface_binding_method = "InterfaceMasquerade" //["InterfaceBridge", "InterfaceSlirp", "InterfaceMasquerade","InterfaceSRIOV",]
// model = "virtio"
// }
//
// # interface {
// # name = "additional"
// # interface_binding_method = "InterfaceBridge"
// # model = "e1000e" // ["", "e1000", "e1000e", "ne2k_pci", "pcnet", "rtl8139", "virtio"]
// # }
//
// network {
// name = "main"
// network_source {
// pod {}
// }
// }
//
// # network {
// # name = "additional"
// # network_source {
// # multus {
// # network_name = "macvlan-conf"
// # default = false
// # }
// # }
// # }
//
//
//}
import pulumi
import pulumi_spectrocloud as spectrocloud
vm_enabled_base_cluster = spectrocloud.get_cluster(name="tenant-cluster-002",
context="project")
storage_class_name = "spectro-storage-class"
# Create a VM with default cloud init disk, container disk , interface and network
#/*
tf_test_vm_basic_type = spectrocloud.VirtualMachine("tf-test-vm-basic-type",
cluster_uid=vm_enabled_base_cluster.id,
cluster_context=vm_enabled_base_cluster.context,
run_on_launch=True,
namespace="default",
labels={
"tf": "test",
},
volumes=[
{
"name": "containerdisk",
"volume_source": {
"container_disks": [{
"image_url": "gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04",
}],
},
},
{
"name": "cloudintdisk",
"volume_source": {
"cloud_init_config_drive": {
"user_data": """
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
""",
},
},
},
],
disks=[
{
"name": "containerdisk",
"disk_devices": [{
"disks": [{
"bus": "virtio",
}],
}],
},
{
"name": "cloudintdisk",
"disk_devices": [{
"disks": [{
"bus": "virtio",
}],
}],
},
],
cpu={
"cores": 2,
"sockets": 1,
"threads": 10,
},
memory={
"guest": "1Gi",
},
resources={
"requests": {
"memory": "1Gi",
"cpu": "1",
},
"limits": {
"cpu": "2",
"memory": "1Gi",
},
},
interfaces=[{
"name": "default",
"interface_binding_method": "InterfaceMasquerade",
}],
networks=[{
"name": "default",
"network_source": {
"pod": {},
},
}])
# Create a VM with default with all available day2 attributes
#resource "spectrocloud_virtual_machine" "tf-test-vm-all-option-template-spec" {
# cluster_uid = data.spectrocloud_cluster.vm_enabled_base_cluster.id
# cluster_context = data.spectrocloud_cluster.vm_enabled_base_cluster.context
# name = "tf-test-vm-all-option-spec-day2"
# namespace = "default"
# run_on_launch = true
# labels = {
# "key1" = "value1"
# }
# # Sample Day 2 Operation attributes
# # priority_class_name = "high"
# # scheduler_name = "test"
# # node_selector = {
# # "test_vmi" = "node_labels"
# # }
# # eviction_strategy = "LiveMigrate"
# # termination_grace_period_seconds = 60
# # hostname = "spectro-com"
# # subdomain = "test-spectro-com"
# # dns_policy = "Default" //["ClusterFirstWithHostNet", "ClusterFirst", "Default", "None"]
# # tolerations {
# # effect = "NoExecute" // ["NoSchedule", "PreferNoSchedule", "NoExecute"]
# # key = "tolerationKey"
# # operator = "Equal" // ["Exists", "Equal"]
# # toleration_seconds = "60"
# # value = "taintValue"
# # }
# # pod_dns_config {
# # nameservers = ["10.0.0.10", "10.0.0.11"]
# # option {
# # name = "test_dns_name"
# # value = "dns_value"
# # }
# # searches = ["policy1", "policy2"]
# # }
# # affinity {
# # pod_anti_affinity {
# # preferred_during_scheduling_ignored_during_execution {
# # weight = 10
# # pod_affinity_term {
# # label_selector {
# # match_labels = {
# # anti-affinity-key = "anti-affinity-val"
# # }
# # }
# # topology_key = "kubernetes.io/hostname"
# # }
# # }
# # }
# # }
# volume {
# name = "test-vm-containerdisk1"
# volume_source {
# container_disk {
# image_url = "quay.io/kubevirt/fedora-cloud-container-disk-demo"
# }
# }
# }
# volume {
# name = "cloudintdisk"
# volume_source {
# cloud_init_config_drive {
# user_data = "\n#cloud-config\nssh_pwauth: True\nchpasswd: { expire: False }\npassword: spectro\ndisable_root: false\n"
# }
# }
# }
#
# resources {
# requests = {
# memory = "2G"
# cpu = 1
# }
# # Sample Day 2 Operation disk
# # limits = {
# # "test_limit" = "10"
# # }
# over_commit_guest_overhead = false
# }
#
# disk {
# name = "test-vm-containerdisk1"
# disk_device {
# disk {
# bus = "virtio"
# }
# }
# }
# disk {
# name = "cloudintdisk"
# disk_device {
# disk {
# bus = "virtio"
# read_only = false
# # pci_address = "0000:03:07.0"
# }
# }
# serial = "1"
# }
# interface {
# name = "main"
# interface_binding_method = "InterfaceMasquerade" //["InterfaceBridge", "InterfaceSlirp", "InterfaceMasquerade","InterfaceSRIOV",]
# model = "virtio"
# }
#
# # interface {
# # name = "additional"
# # interface_binding_method = "InterfaceBridge"
# # model = "e1000e" // ["", "e1000", "e1000e", "ne2k_pci", "pcnet", "rtl8139", "virtio"]
# # }
#
# network {
# name = "main"
# network_source {
# pod {}
# }
# }
#
# # network {
# # name = "additional"
# # network_source {
# # multus {
# # network_name = "macvlan-conf"
# # default = false
# # }
# # }
# # }
#
#
#}
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vmEnabledBaseCluster, err := spectrocloud.GetCluster(ctx, &spectrocloud.GetClusterArgs{
Name: "tenant-cluster-002",
Context: pulumi.StringRef("project"),
}, nil)
if err != nil {
return err
}
_ := "spectro-storage-class"
// Create a VM with default cloud init disk, container disk , interface and network
// /*
_, err = spectrocloud.NewVirtualMachine(ctx, "tf-test-vm-basic-type", &spectrocloud.VirtualMachineArgs{
ClusterUid: pulumi.String(vmEnabledBaseCluster.Id),
ClusterContext: pulumi.String(vmEnabledBaseCluster.Context),
RunOnLaunch: pulumi.Bool(true),
Namespace: pulumi.String("default"),
Labels: pulumi.StringMap{
"tf": pulumi.String("test"),
},
Volumes: spectrocloud.VirtualMachineVolumeArray{
&spectrocloud.VirtualMachineVolumeArgs{
Name: pulumi.String("containerdisk"),
VolumeSource: &spectrocloud.VirtualMachineVolumeVolumeSourceArgs{
ContainerDisks: spectrocloud.VirtualMachineVolumeVolumeSourceContainerDiskArray{
&spectrocloud.VirtualMachineVolumeVolumeSourceContainerDiskArgs{
ImageUrl: pulumi.String("gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04"),
},
},
},
},
&spectrocloud.VirtualMachineVolumeArgs{
Name: pulumi.String("cloudintdisk"),
VolumeSource: &spectrocloud.VirtualMachineVolumeVolumeSourceArgs{
CloudInitConfigDrive: &spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs{
UserData: pulumi.String(`
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
`),
},
},
},
},
Disks: spectrocloud.VirtualMachineDiskArray{
&spectrocloud.VirtualMachineDiskArgs{
Name: pulumi.String("containerdisk"),
DiskDevices: spectrocloud.VirtualMachineDiskDiskDeviceArray{
&spectrocloud.VirtualMachineDiskDiskDeviceArgs{
Disks: spectrocloud.VirtualMachineDiskDiskDeviceDiskArray{
&spectrocloud.VirtualMachineDiskDiskDeviceDiskArgs{
Bus: pulumi.String("virtio"),
},
},
},
},
},
&spectrocloud.VirtualMachineDiskArgs{
Name: pulumi.String("cloudintdisk"),
DiskDevices: spectrocloud.VirtualMachineDiskDiskDeviceArray{
&spectrocloud.VirtualMachineDiskDiskDeviceArgs{
Disks: spectrocloud.VirtualMachineDiskDiskDeviceDiskArray{
&spectrocloud.VirtualMachineDiskDiskDeviceDiskArgs{
Bus: pulumi.String("virtio"),
},
},
},
},
},
},
Cpu: &spectrocloud.VirtualMachineCpuArgs{
Cores: pulumi.Float64(2),
Sockets: pulumi.Float64(1),
Threads: pulumi.Float64(10),
},
Memory: &spectrocloud.VirtualMachineMemoryArgs{
Guest: pulumi.String("1Gi"),
},
Resources: &spectrocloud.VirtualMachineResourcesArgs{
Requests: pulumi.StringMap{
"memory": pulumi.String("1Gi"),
"cpu": pulumi.String("1"),
},
Limits: pulumi.StringMap{
"cpu": pulumi.String("2"),
"memory": pulumi.String("1Gi"),
},
},
Interfaces: spectrocloud.VirtualMachineInterfaceArray{
&spectrocloud.VirtualMachineInterfaceArgs{
Name: pulumi.String("default"),
InterfaceBindingMethod: pulumi.String("InterfaceMasquerade"),
},
},
Networks: spectrocloud.VirtualMachineNetworkArray{
&spectrocloud.VirtualMachineNetworkArgs{
Name: pulumi.String("default"),
NetworkSource: &spectrocloud.VirtualMachineNetworkNetworkSourceArgs{
Pod: &spectrocloud.VirtualMachineNetworkNetworkSourcePodArgs{},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var vmEnabledBaseCluster = Spectrocloud.GetCluster.Invoke(new()
{
Name = "tenant-cluster-002",
Context = "project",
});
var storageClassName = "spectro-storage-class";
// Create a VM with default cloud init disk, container disk , interface and network
///*
var tf_test_vm_basic_type = new Spectrocloud.VirtualMachine("tf-test-vm-basic-type", new()
{
ClusterUid = vmEnabledBaseCluster.Apply(getClusterResult => getClusterResult.Id),
ClusterContext = vmEnabledBaseCluster.Apply(getClusterResult => getClusterResult.Context),
RunOnLaunch = true,
Namespace = "default",
Labels =
{
{ "tf", "test" },
},
Volumes = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeArgs
{
Name = "containerdisk",
VolumeSource = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceArgs
{
ContainerDisks = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceContainerDiskArgs
{
ImageUrl = "gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04",
},
},
},
},
new Spectrocloud.Inputs.VirtualMachineVolumeArgs
{
Name = "cloudintdisk",
VolumeSource = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceArgs
{
CloudInitConfigDrive = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs
{
UserData = @"
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
",
},
},
},
},
Disks = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskArgs
{
Name = "containerdisk",
DiskDevices = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceArgs
{
Disks = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceDiskArgs
{
Bus = "virtio",
},
},
},
},
},
new Spectrocloud.Inputs.VirtualMachineDiskArgs
{
Name = "cloudintdisk",
DiskDevices = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceArgs
{
Disks = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceDiskArgs
{
Bus = "virtio",
},
},
},
},
},
},
Cpu = new Spectrocloud.Inputs.VirtualMachineCpuArgs
{
Cores = 2,
Sockets = 1,
Threads = 10,
},
Memory = new Spectrocloud.Inputs.VirtualMachineMemoryArgs
{
Guest = "1Gi",
},
Resources = new Spectrocloud.Inputs.VirtualMachineResourcesArgs
{
Requests =
{
{ "memory", "1Gi" },
{ "cpu", "1" },
},
Limits =
{
{ "cpu", "2" },
{ "memory", "1Gi" },
},
},
Interfaces = new[]
{
new Spectrocloud.Inputs.VirtualMachineInterfaceArgs
{
Name = "default",
InterfaceBindingMethod = "InterfaceMasquerade",
},
},
Networks = new[]
{
new Spectrocloud.Inputs.VirtualMachineNetworkArgs
{
Name = "default",
NetworkSource = new Spectrocloud.Inputs.VirtualMachineNetworkNetworkSourceArgs
{
Pod = null,
},
},
},
});
// Create a VM with default with all available day2 attributes
//resource "spectrocloud_virtual_machine" "tf-test-vm-all-option-template-spec" {
// cluster_uid = data.spectrocloud_cluster.vm_enabled_base_cluster.id
// cluster_context = data.spectrocloud_cluster.vm_enabled_base_cluster.context
// name = "tf-test-vm-all-option-spec-day2"
// namespace = "default"
// run_on_launch = true
// labels = {
// "key1" = "value1"
// }
// # Sample Day 2 Operation attributes
// # priority_class_name = "high"
// # scheduler_name = "test"
// # node_selector = {
// # "test_vmi" = "node_labels"
// # }
// # eviction_strategy = "LiveMigrate"
// # termination_grace_period_seconds = 60
// # hostname = "spectro-com"
// # subdomain = "test-spectro-com"
// # dns_policy = "Default" //["ClusterFirstWithHostNet", "ClusterFirst", "Default", "None"]
// # tolerations {
// # effect = "NoExecute" // ["NoSchedule", "PreferNoSchedule", "NoExecute"]
// # key = "tolerationKey"
// # operator = "Equal" // ["Exists", "Equal"]
// # toleration_seconds = "60"
// # value = "taintValue"
// # }
// # pod_dns_config {
// # nameservers = ["10.0.0.10", "10.0.0.11"]
// # option {
// # name = "test_dns_name"
// # value = "dns_value"
// # }
// # searches = ["policy1", "policy2"]
// # }
// # affinity {
// # pod_anti_affinity {
// # preferred_during_scheduling_ignored_during_execution {
// # weight = 10
// # pod_affinity_term {
// # label_selector {
// # match_labels = {
// # anti-affinity-key = "anti-affinity-val"
// # }
// # }
// # topology_key = "kubernetes.io/hostname"
// # }
// # }
// # }
// # }
// volume {
// name = "test-vm-containerdisk1"
// volume_source {
// container_disk {
// image_url = "quay.io/kubevirt/fedora-cloud-container-disk-demo"
// }
// }
// }
// volume {
// name = "cloudintdisk"
// volume_source {
// cloud_init_config_drive {
// user_data = "\n#cloud-config\nssh_pwauth: True\nchpasswd: { expire: False }\npassword: spectro\ndisable_root: false\n"
// }
// }
// }
//
// resources {
// requests = {
// memory = "2G"
// cpu = 1
// }
// # Sample Day 2 Operation disk
// # limits = {
// # "test_limit" = "10"
// # }
// over_commit_guest_overhead = false
// }
//
// disk {
// name = "test-vm-containerdisk1"
// disk_device {
// disk {
// bus = "virtio"
// }
// }
// }
// disk {
// name = "cloudintdisk"
// disk_device {
// disk {
// bus = "virtio"
// read_only = false
// # pci_address = "0000:03:07.0"
// }
// }
// serial = "1"
// }
// interface {
// name = "main"
// interface_binding_method = "InterfaceMasquerade" //["InterfaceBridge", "InterfaceSlirp", "InterfaceMasquerade","InterfaceSRIOV",]
// model = "virtio"
// }
//
// # interface {
// # name = "additional"
// # interface_binding_method = "InterfaceBridge"
// # model = "e1000e" // ["", "e1000", "e1000e", "ne2k_pci", "pcnet", "rtl8139", "virtio"]
// # }
//
// network {
// name = "main"
// network_source {
// pod {}
// }
// }
//
// # network {
// # name = "additional"
// # network_source {
// # multus {
// # network_name = "macvlan-conf"
// # default = false
// # }
// # }
// # }
//
//
//}
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetClusterArgs;
import com.pulumi.spectrocloud.VirtualMachine;
import com.pulumi.spectrocloud.VirtualMachineArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineVolumeArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineVolumeVolumeSourceArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineDiskArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineCpuArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineMemoryArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineResourcesArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineInterfaceArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineNetworkArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineNetworkNetworkSourceArgs;
import com.pulumi.spectrocloud.inputs.VirtualMachineNetworkNetworkSourcePodArgs;
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) {
final var vmEnabledBaseCluster = SpectrocloudFunctions.getCluster(GetClusterArgs.builder()
.name("tenant-cluster-002")
.context("project")
.build());
final var storageClassName = "spectro-storage-class";
// Create a VM with default cloud init disk, container disk , interface and network
///*
var tf_test_vm_basic_type = new VirtualMachine("tf-test-vm-basic-type", VirtualMachineArgs.builder()
.clusterUid(vmEnabledBaseCluster.applyValue(getClusterResult -> getClusterResult.id()))
.clusterContext(vmEnabledBaseCluster.applyValue(getClusterResult -> getClusterResult.context()))
.runOnLaunch(true)
.namespace("default")
.labels(Map.of("tf", "test"))
.volumes(
VirtualMachineVolumeArgs.builder()
.name("containerdisk")
.volumeSource(VirtualMachineVolumeVolumeSourceArgs.builder()
.containerDisks(VirtualMachineVolumeVolumeSourceContainerDiskArgs.builder()
.imageUrl("gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04")
.build())
.build())
.build(),
VirtualMachineVolumeArgs.builder()
.name("cloudintdisk")
.volumeSource(VirtualMachineVolumeVolumeSourceArgs.builder()
.cloudInitConfigDrive(VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs.builder()
.userData("""
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
""")
.build())
.build())
.build())
.disks(
VirtualMachineDiskArgs.builder()
.name("containerdisk")
.diskDevices(VirtualMachineDiskDiskDeviceArgs.builder()
.disks(VirtualMachineDiskDiskDeviceDiskArgs.builder()
.bus("virtio")
.build())
.build())
.build(),
VirtualMachineDiskArgs.builder()
.name("cloudintdisk")
.diskDevices(VirtualMachineDiskDiskDeviceArgs.builder()
.disks(VirtualMachineDiskDiskDeviceDiskArgs.builder()
.bus("virtio")
.build())
.build())
.build())
.cpu(VirtualMachineCpuArgs.builder()
.cores(2)
.sockets(1)
.threads(10)
.build())
.memory(VirtualMachineMemoryArgs.builder()
.guest("1Gi")
.build())
.resources(VirtualMachineResourcesArgs.builder()
.requests(Map.ofEntries(
Map.entry("memory", "1Gi"),
Map.entry("cpu", 1)
))
.limits(Map.ofEntries(
Map.entry("cpu", 2),
Map.entry("memory", "1Gi")
))
.build())
.interfaces(VirtualMachineInterfaceArgs.builder()
.name("default")
.interfaceBindingMethod("InterfaceMasquerade")
.build())
.networks(VirtualMachineNetworkArgs.builder()
.name("default")
.networkSource(VirtualMachineNetworkNetworkSourceArgs.builder()
.pod()
.build())
.build())
.build());
// Create a VM with default with all available day2 attributes
//resource "spectrocloud_virtual_machine" "tf-test-vm-all-option-template-spec" {
// cluster_uid = data.spectrocloud_cluster.vm_enabled_base_cluster.id
// cluster_context = data.spectrocloud_cluster.vm_enabled_base_cluster.context
// name = "tf-test-vm-all-option-spec-day2"
// namespace = "default"
// run_on_launch = true
// labels = {
// "key1" = "value1"
// }
// # Sample Day 2 Operation attributes
// # priority_class_name = "high"
// # scheduler_name = "test"
// # node_selector = {
// # "test_vmi" = "node_labels"
// # }
// # eviction_strategy = "LiveMigrate"
// # termination_grace_period_seconds = 60
// # hostname = "spectro-com"
// # subdomain = "test-spectro-com"
// # dns_policy = "Default" //["ClusterFirstWithHostNet", "ClusterFirst", "Default", "None"]
// # tolerations {
// # effect = "NoExecute" // ["NoSchedule", "PreferNoSchedule", "NoExecute"]
// # key = "tolerationKey"
// # operator = "Equal" // ["Exists", "Equal"]
// # toleration_seconds = "60"
// # value = "taintValue"
// # }
// # pod_dns_config {
// # nameservers = ["10.0.0.10", "10.0.0.11"]
// # option {
// # name = "test_dns_name"
// # value = "dns_value"
// # }
// # searches = ["policy1", "policy2"]
// # }
// # affinity {
// # pod_anti_affinity {
// # preferred_during_scheduling_ignored_during_execution {
// # weight = 10
// # pod_affinity_term {
// # label_selector {
// # match_labels = {
// # anti-affinity-key = "anti-affinity-val"
// # }
// # }
// # topology_key = "kubernetes.io/hostname"
// # }
// # }
// # }
// # }
// volume {
// name = "test-vm-containerdisk1"
// volume_source {
// container_disk {
// image_url = "quay.io/kubevirt/fedora-cloud-container-disk-demo"
// }
// }
// }
// volume {
// name = "cloudintdisk"
// volume_source {
// cloud_init_config_drive {
// user_data = "\n#cloud-config\nssh_pwauth: True\nchpasswd: { expire: False }\npassword: spectro\ndisable_root: false\n"
// }
// }
// }
//
// resources {
// requests = {
// memory = "2G"
// cpu = 1
// }
// # Sample Day 2 Operation disk
// # limits = {
// # "test_limit" = "10"
// # }
// over_commit_guest_overhead = false
// }
//
// disk {
// name = "test-vm-containerdisk1"
// disk_device {
// disk {
// bus = "virtio"
// }
// }
// }
// disk {
// name = "cloudintdisk"
// disk_device {
// disk {
// bus = "virtio"
// read_only = false
// # pci_address = "0000:03:07.0"
// }
// }
// serial = "1"
// }
// interface {
// name = "main"
// interface_binding_method = "InterfaceMasquerade" //["InterfaceBridge", "InterfaceSlirp", "InterfaceMasquerade","InterfaceSRIOV",]
// model = "virtio"
// }
//
// # interface {
// # name = "additional"
// # interface_binding_method = "InterfaceBridge"
// # model = "e1000e" // ["", "e1000", "e1000e", "ne2k_pci", "pcnet", "rtl8139", "virtio"]
// # }
//
// network {
// name = "main"
// network_source {
// pod {}
// }
// }
//
// # network {
// # name = "additional"
// # network_source {
// # multus {
// # network_name = "macvlan-conf"
// # default = false
// # }
// # }
// # }
//
//
//}
}
}
resources:
# Create a VM with default cloud init disk, container disk , interface and network
#/*
tf-test-vm-basic-type: # Create a VM with default with all available day2 attributes
# /*
# resource "spectrocloud_virtual_machine" "tf-test-vm-all-option-template-spec" {
# cluster_uid = data.spectrocloud_cluster.vm_enabled_base_cluster.id
# cluster_context = data.spectrocloud_cluster.vm_enabled_base_cluster.context
# name = "tf-test-vm-all-option-spec-day2"
# namespace = "default"
# run_on_launch = true
# labels = {
# "key1" = "value1"
# }
# # Sample Day 2 Operation attributes
# # priority_class_name = "high"
# # scheduler_name = "test"
# # node_selector = {
# # "test_vmi" = "node_labels"
# # }
# # eviction_strategy = "LiveMigrate"
# # termination_grace_period_seconds = 60
# # hostname = "spectro-com"
# # subdomain = "test-spectro-com"
# # dns_policy = "Default" //["ClusterFirstWithHostNet", "ClusterFirst", "Default", "None"]
# # tolerations {
# # effect = "NoExecute" // ["NoSchedule", "PreferNoSchedule", "NoExecute"]
# # key = "tolerationKey"
# # operator = "Equal" // ["Exists", "Equal"]
# # toleration_seconds = "60"
# # value = "taintValue"
# # }
# # pod_dns_config {
# # nameservers = ["10.0.0.10", "10.0.0.11"]
# # option {
# # name = "test_dns_name"
# # value = "dns_value"
# # }
# # searches = ["policy1", "policy2"]
# # }
# # affinity {
# # pod_anti_affinity {
# # preferred_during_scheduling_ignored_during_execution {
# # weight = 10
# # pod_affinity_term {
# # label_selector {
# # match_labels = {
# # anti-affinity-key = "anti-affinity-val"
# # }
# # }
# # topology_key = "kubernetes.io/hostname"
# # }
# # }
# # }
# # }
# volume {
# name = "test-vm-containerdisk1"
# volume_source {
# container_disk {
# image_url = "quay.io/kubevirt/fedora-cloud-container-disk-demo"
# }
# }
# }
# volume {
# name = "cloudintdisk"
# volume_source {
# cloud_init_config_drive {
# user_data = "\n#cloud-config\nssh_pwauth: True\nchpasswd: { expire: False }\npassword: spectro\ndisable_root: false\n"
# }
# }
# }
# resources {
# requests = {
# memory = "2G"
# cpu = 1
# }
# # Sample Day 2 Operation disk
# # limits = {
# # "test_limit" = "10"
# # }
# over_commit_guest_overhead = false
# }
# disk {
# name = "test-vm-containerdisk1"
# disk_device {
# disk {
# bus = "virtio"
# }
# }
# }
# disk {
# name = "cloudintdisk"
# disk_device {
# disk {
# bus = "virtio"
# read_only = false
# # pci_address = "0000:03:07.0"
# }
# }
# serial = "1"
# }
# interface {
# name = "main"
# interface_binding_method = "InterfaceMasquerade" //["InterfaceBridge", "InterfaceSlirp", "InterfaceMasquerade","InterfaceSRIOV",]
# model = "virtio"
# }
# # interface {
# # name = "additional"
# # interface_binding_method = "InterfaceBridge"
# # model = "e1000e" // ["", "e1000", "e1000e", "ne2k_pci", "pcnet", "rtl8139", "virtio"]
# # }
# network {
# name = "main"
# network_source {
# pod {}
# }
# }
# # network {
# # name = "additional"
# # network_source {
# # multus {
# # network_name = "macvlan-conf"
# # default = false
# # }
# # }
# # }
# }
# */
type: spectrocloud:VirtualMachine
properties:
clusterUid: ${vmEnabledBaseCluster.id}
clusterContext: ${vmEnabledBaseCluster.context}
runOnLaunch: true
namespace: default
labels:
tf: test
volumes:
- name: containerdisk
volumeSource:
containerDisks:
- imageUrl: gcr.io/spectro-images-public/release/vm-dashboard/os/ubuntu-container-disk:20.04
- name: cloudintdisk
volumeSource:
cloudInitConfigDrive:
userData: |2
#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: spectro
disable_root: false
disks:
- name: containerdisk
diskDevices:
- disks:
- bus: virtio
- name: cloudintdisk
diskDevices:
- disks:
- bus: virtio
cpu:
cores: 2
sockets: 1
threads: 10
memory:
guest: 1Gi
resources:
requests:
memory: 1Gi
cpu: 1
limits:
cpu: 2
memory: 1Gi
interfaces:
- name: default
interfaceBindingMethod: InterfaceMasquerade
networks:
- name: default
networkSource:
pod: {}
variables:
vmEnabledBaseCluster:
fn::invoke:
function: spectrocloud:getCluster
arguments:
name: tenant-cluster-002
context: project
storageClassName: spectro-storage-class
Create VirtualMachine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualMachine(name: string, args: VirtualMachineArgs, opts?: CustomResourceOptions);
@overload
def VirtualMachine(resource_name: str,
args: VirtualMachineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualMachine(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_uid: Optional[str] = None,
resources: Optional[VirtualMachineResourcesArgs] = None,
name: Optional[str] = None,
node_selector: Optional[Mapping[str, str]] = None,
base_vm_name: Optional[str] = None,
cpu: Optional[VirtualMachineCpuArgs] = None,
data_volume_templates: Optional[Sequence[VirtualMachineDataVolumeTemplateArgs]] = None,
disks: Optional[Sequence[VirtualMachineDiskArgs]] = None,
dns_policy: Optional[str] = None,
eviction_strategy: Optional[str] = None,
generate_name: Optional[str] = None,
hostname: Optional[str] = None,
interfaces: Optional[Sequence[VirtualMachineInterfaceArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
liveness_probe: Optional[VirtualMachineLivenessProbeArgs] = None,
memory: Optional[VirtualMachineMemoryArgs] = None,
affinity: Optional[VirtualMachineAffinityArgs] = None,
namespace: Optional[str] = None,
cluster_context: Optional[str] = None,
pod_dns_config: Optional[VirtualMachinePodDnsConfigArgs] = None,
networks: Optional[Sequence[VirtualMachineNetworkArgs]] = None,
priority_class_name: Optional[str] = None,
readiness_probe: Optional[VirtualMachineReadinessProbeArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
run_on_launch: Optional[bool] = None,
run_strategy: Optional[str] = None,
scheduler_name: Optional[str] = None,
status: Optional[VirtualMachineStatusArgs] = None,
subdomain: Optional[str] = None,
termination_grace_period_seconds: Optional[float] = None,
timeouts: Optional[VirtualMachineTimeoutsArgs] = None,
tolerations: Optional[Sequence[VirtualMachineTolerationArgs]] = None,
virtual_machine_id: Optional[str] = None,
vm_action: Optional[str] = None,
volumes: Optional[Sequence[VirtualMachineVolumeArgs]] = None)
func NewVirtualMachine(ctx *Context, name string, args VirtualMachineArgs, opts ...ResourceOption) (*VirtualMachine, error)
public VirtualMachine(string name, VirtualMachineArgs args, CustomResourceOptions? opts = null)
public VirtualMachine(String name, VirtualMachineArgs args)
public VirtualMachine(String name, VirtualMachineArgs args, CustomResourceOptions options)
type: spectrocloud:VirtualMachine
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualMachineArgs
- 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 virtualMachineResource = new Spectrocloud.VirtualMachine("virtualMachineResource", new()
{
ClusterUid = "string",
Resources = new Spectrocloud.Inputs.VirtualMachineResourcesArgs
{
Limits =
{
{ "string", "string" },
},
OverCommitGuestOverhead = false,
Requests =
{
{ "string", "string" },
},
},
Name = "string",
NodeSelector =
{
{ "string", "string" },
},
BaseVmName = "string",
Cpu = new Spectrocloud.Inputs.VirtualMachineCpuArgs
{
Cores = 0,
Sockets = 0,
Threads = 0,
},
DataVolumeTemplates = new[]
{
new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateArgs
{
Metadata = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateMetadataArgs
{
Annotations =
{
{ "string", "string" },
},
Generation = 0,
Labels =
{
{ "string", "string" },
},
Name = "string",
Namespace = "string",
ResourceVersion = "string",
SelfLink = "string",
Uid = "string",
},
Spec = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecArgs
{
Pvc = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecPvcArgs
{
AccessModes = new[]
{
"string",
},
Resources = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecPvcResourcesArgs
{
Limits =
{
{ "string", "string" },
},
Requests =
{
{ "string", "string" },
},
},
Selector = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecPvcSelectorArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
MatchLabels =
{
{ "string", "string" },
},
},
StorageClassName = "string",
VolumeMode = "string",
VolumeName = "string",
},
ContentType = "string",
Source = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecSourceArgs
{
Blank = null,
Http = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecSourceHttpArgs
{
CertConfigMap = "string",
SecretRef = "string",
Url = "string",
},
Pvc = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecSourcePvcArgs
{
Name = "string",
Namespace = "string",
},
Registry = new Spectrocloud.Inputs.VirtualMachineDataVolumeTemplateSpecSourceRegistryArgs
{
ImageUrl = "string",
},
},
},
},
},
Disks = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskArgs
{
DiskDevices = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceArgs
{
Disks = new[]
{
new Spectrocloud.Inputs.VirtualMachineDiskDiskDeviceDiskArgs
{
Bus = "string",
PciAddress = "string",
ReadOnly = false,
},
},
},
},
Name = "string",
Serial = "string",
},
},
DnsPolicy = "string",
EvictionStrategy = "string",
GenerateName = "string",
Hostname = "string",
Interfaces = new[]
{
new Spectrocloud.Inputs.VirtualMachineInterfaceArgs
{
InterfaceBindingMethod = "string",
Name = "string",
Model = "string",
},
},
Labels =
{
{ "string", "string" },
},
LivenessProbe = null,
Memory = new Spectrocloud.Inputs.VirtualMachineMemoryArgs
{
Guest = "string",
Hugepages = "string",
},
Affinity = new Spectrocloud.Inputs.VirtualMachineAffinityArgs
{
NodeAffinity = new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityArgs
{
PreferredDuringSchedulingIgnoredDuringExecutions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
{
Preference = new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
Weight = 0,
},
},
RequiredDuringSchedulingIgnoredDuringExecution = new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
{
NodeSelectorTerms = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
},
},
},
PodAffinity = new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityArgs
{
PreferredDuringSchedulingIgnoredDuringExecutions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
{
PodAffinityTerm = new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs
{
LabelSelectors = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
MatchLabels =
{
{ "string", "string" },
},
},
},
Namespaces = new[]
{
"string",
},
TopologyKey = "string",
},
Weight = 0,
},
},
RequiredDuringSchedulingIgnoredDuringExecutions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
{
LabelSelectors = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
MatchLabels =
{
{ "string", "string" },
},
},
},
Namespaces = new[]
{
"string",
},
TopologyKey = "string",
},
},
},
PodAntiAffinity = new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityArgs
{
PreferredDuringSchedulingIgnoredDuringExecutions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
{
PodAffinityTerm = new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs
{
LabelSelectors = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
MatchLabels =
{
{ "string", "string" },
},
},
},
Namespaces = new[]
{
"string",
},
TopologyKey = "string",
},
Weight = 0,
},
},
RequiredDuringSchedulingIgnoredDuringExecutions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
{
LabelSelectors = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs
{
MatchExpressions = new[]
{
new Spectrocloud.Inputs.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs
{
Key = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
MatchLabels =
{
{ "string", "string" },
},
},
},
Namespaces = new[]
{
"string",
},
TopologyKey = "string",
},
},
},
},
Namespace = "string",
ClusterContext = "string",
PodDnsConfig = new Spectrocloud.Inputs.VirtualMachinePodDnsConfigArgs
{
Nameservers = new[]
{
"string",
},
Options = new[]
{
new Spectrocloud.Inputs.VirtualMachinePodDnsConfigOptionArgs
{
Name = "string",
Value = "string",
},
},
Searches = new[]
{
"string",
},
},
Networks = new[]
{
new Spectrocloud.Inputs.VirtualMachineNetworkArgs
{
Name = "string",
NetworkSource = new Spectrocloud.Inputs.VirtualMachineNetworkNetworkSourceArgs
{
Multus = new Spectrocloud.Inputs.VirtualMachineNetworkNetworkSourceMultusArgs
{
NetworkName = "string",
Default = false,
},
Pod = new Spectrocloud.Inputs.VirtualMachineNetworkNetworkSourcePodArgs
{
VmNetworkCidr = "string",
},
},
},
},
PriorityClassName = "string",
ReadinessProbe = null,
Annotations =
{
{ "string", "string" },
},
RunOnLaunch = false,
RunStrategy = "string",
SchedulerName = "string",
Status = new Spectrocloud.Inputs.VirtualMachineStatusArgs
{
Conditions = new[]
{
new Spectrocloud.Inputs.VirtualMachineStatusConditionArgs
{
Message = "string",
Reason = "string",
Status = "string",
Type = "string",
},
},
StateChangeRequests = new[]
{
new Spectrocloud.Inputs.VirtualMachineStatusStateChangeRequestArgs
{
Action = "string",
Data =
{
{ "string", "string" },
},
Uid = "string",
},
},
Created = false,
Ready = false,
},
Subdomain = "string",
TerminationGracePeriodSeconds = 0,
Timeouts = new Spectrocloud.Inputs.VirtualMachineTimeoutsArgs
{
Create = "string",
Delete = "string",
},
Tolerations = new[]
{
new Spectrocloud.Inputs.VirtualMachineTolerationArgs
{
Effect = "string",
Key = "string",
Operator = "string",
TolerationSeconds = "string",
Value = "string",
},
},
VirtualMachineId = "string",
VmAction = "string",
Volumes = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeArgs
{
Name = "string",
VolumeSource = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceArgs
{
CloudInitConfigDrive = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs
{
NetworkData = "string",
NetworkDataBase64 = "string",
NetworkDataSecretRef = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveNetworkDataSecretRefArgs
{
Name = "string",
},
UserData = "string",
UserDataBase64 = "string",
UserDataSecretRef = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveUserDataSecretRefArgs
{
Name = "string",
},
},
CloudInitNoClouds = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceCloudInitNoCloudArgs
{
UserData = "string",
},
},
ConfigMap = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceConfigMapArgs
{
DefaultMode = 0,
Items = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceConfigMapItemArgs
{
Key = "string",
},
},
},
ContainerDisks = new[]
{
new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceContainerDiskArgs
{
ImageUrl = "string",
},
},
DataVolume = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceDataVolumeArgs
{
Name = "string",
},
EmptyDisk = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceEmptyDiskArgs
{
Capacity = "string",
},
Ephemeral = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceEphemeralArgs
{
PersistentVolumeClaim = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceEphemeralPersistentVolumeClaimArgs
{
ClaimName = "string",
ReadOnly = false,
},
},
HostDisk = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceHostDiskArgs
{
Path = "string",
Type = "string",
},
PersistentVolumeClaim = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourcePersistentVolumeClaimArgs
{
ClaimName = "string",
ReadOnly = false,
},
ServiceAccount = new Spectrocloud.Inputs.VirtualMachineVolumeVolumeSourceServiceAccountArgs
{
ServiceAccountName = "string",
},
},
},
},
});
example, err := spectrocloud.NewVirtualMachine(ctx, "virtualMachineResource", &spectrocloud.VirtualMachineArgs{
ClusterUid: pulumi.String("string"),
Resources: &spectrocloud.VirtualMachineResourcesArgs{
Limits: pulumi.StringMap{
"string": pulumi.String("string"),
},
OverCommitGuestOverhead: pulumi.Bool(false),
Requests: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
NodeSelector: pulumi.StringMap{
"string": pulumi.String("string"),
},
BaseVmName: pulumi.String("string"),
Cpu: &spectrocloud.VirtualMachineCpuArgs{
Cores: pulumi.Float64(0),
Sockets: pulumi.Float64(0),
Threads: pulumi.Float64(0),
},
DataVolumeTemplates: spectrocloud.VirtualMachineDataVolumeTemplateArray{
&spectrocloud.VirtualMachineDataVolumeTemplateArgs{
Metadata: &spectrocloud.VirtualMachineDataVolumeTemplateMetadataArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Generation: pulumi.Float64(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
ResourceVersion: pulumi.String("string"),
SelfLink: pulumi.String("string"),
Uid: pulumi.String("string"),
},
Spec: &spectrocloud.VirtualMachineDataVolumeTemplateSpecArgs{
Pvc: &spectrocloud.VirtualMachineDataVolumeTemplateSpecPvcArgs{
AccessModes: pulumi.StringArray{
pulumi.String("string"),
},
Resources: &spectrocloud.VirtualMachineDataVolumeTemplateSpecPvcResourcesArgs{
Limits: pulumi.StringMap{
"string": pulumi.String("string"),
},
Requests: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Selector: &spectrocloud.VirtualMachineDataVolumeTemplateSpecPvcSelectorArgs{
MatchExpressions: spectrocloud.VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpressionArray{
&spectrocloud.VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
StorageClassName: pulumi.String("string"),
VolumeMode: pulumi.String("string"),
VolumeName: pulumi.String("string"),
},
ContentType: pulumi.String("string"),
Source: &spectrocloud.VirtualMachineDataVolumeTemplateSpecSourceArgs{
Blank: &spectrocloud.VirtualMachineDataVolumeTemplateSpecSourceBlankArgs{},
Http: &spectrocloud.VirtualMachineDataVolumeTemplateSpecSourceHttpArgs{
CertConfigMap: pulumi.String("string"),
SecretRef: pulumi.String("string"),
Url: pulumi.String("string"),
},
Pvc: &spectrocloud.VirtualMachineDataVolumeTemplateSpecSourcePvcArgs{
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
Registry: &spectrocloud.VirtualMachineDataVolumeTemplateSpecSourceRegistryArgs{
ImageUrl: pulumi.String("string"),
},
},
},
},
},
Disks: spectrocloud.VirtualMachineDiskArray{
&spectrocloud.VirtualMachineDiskArgs{
DiskDevices: spectrocloud.VirtualMachineDiskDiskDeviceArray{
&spectrocloud.VirtualMachineDiskDiskDeviceArgs{
Disks: spectrocloud.VirtualMachineDiskDiskDeviceDiskArray{
&spectrocloud.VirtualMachineDiskDiskDeviceDiskArgs{
Bus: pulumi.String("string"),
PciAddress: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
},
},
Name: pulumi.String("string"),
Serial: pulumi.String("string"),
},
},
DnsPolicy: pulumi.String("string"),
EvictionStrategy: pulumi.String("string"),
GenerateName: pulumi.String("string"),
Hostname: pulumi.String("string"),
Interfaces: spectrocloud.VirtualMachineInterfaceArray{
&spectrocloud.VirtualMachineInterfaceArgs{
InterfaceBindingMethod: pulumi.String("string"),
Name: pulumi.String("string"),
Model: pulumi.String("string"),
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LivenessProbe: &spectrocloud.VirtualMachineLivenessProbeArgs{},
Memory: &spectrocloud.VirtualMachineMemoryArgs{
Guest: pulumi.String("string"),
Hugepages: pulumi.String("string"),
},
Affinity: &spectrocloud.VirtualMachineAffinityArgs{
NodeAffinity: &spectrocloud.VirtualMachineAffinityNodeAffinityArgs{
PreferredDuringSchedulingIgnoredDuringExecutions: spectrocloud.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArray{
&spectrocloud.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs{
Preference: &spectrocloud.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Weight: pulumi.Float64(0),
},
},
RequiredDuringSchedulingIgnoredDuringExecution: &spectrocloud.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs{
NodeSelectorTerms: spectrocloud.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermArray{
&spectrocloud.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
},
PodAffinity: &spectrocloud.VirtualMachineAffinityPodAffinityArgs{
PreferredDuringSchedulingIgnoredDuringExecutions: spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionArray{
&spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs{
PodAffinityTerm: &spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs{
LabelSelectors: spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArray{
&spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
TopologyKey: pulumi.String("string"),
},
Weight: pulumi.Float64(0),
},
},
RequiredDuringSchedulingIgnoredDuringExecutions: spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionArray{
&spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs{
LabelSelectors: spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArray{
&spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
TopologyKey: pulumi.String("string"),
},
},
},
PodAntiAffinity: &spectrocloud.VirtualMachineAffinityPodAntiAffinityArgs{
PreferredDuringSchedulingIgnoredDuringExecutions: spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs{
PodAffinityTerm: &spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs{
LabelSelectors: spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
TopologyKey: pulumi.String("string"),
},
Weight: pulumi.Float64(0),
},
},
RequiredDuringSchedulingIgnoredDuringExecutions: spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs{
LabelSelectors: spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs{
MatchExpressions: spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArray{
&spectrocloud.VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
TopologyKey: pulumi.String("string"),
},
},
},
},
Namespace: pulumi.String("string"),
ClusterContext: pulumi.String("string"),
PodDnsConfig: &spectrocloud.VirtualMachinePodDnsConfigArgs{
Nameservers: pulumi.StringArray{
pulumi.String("string"),
},
Options: spectrocloud.VirtualMachinePodDnsConfigOptionArray{
&spectrocloud.VirtualMachinePodDnsConfigOptionArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Searches: pulumi.StringArray{
pulumi.String("string"),
},
},
Networks: spectrocloud.VirtualMachineNetworkArray{
&spectrocloud.VirtualMachineNetworkArgs{
Name: pulumi.String("string"),
NetworkSource: &spectrocloud.VirtualMachineNetworkNetworkSourceArgs{
Multus: &spectrocloud.VirtualMachineNetworkNetworkSourceMultusArgs{
NetworkName: pulumi.String("string"),
Default: pulumi.Bool(false),
},
Pod: &spectrocloud.VirtualMachineNetworkNetworkSourcePodArgs{
VmNetworkCidr: pulumi.String("string"),
},
},
},
},
PriorityClassName: pulumi.String("string"),
ReadinessProbe: &spectrocloud.VirtualMachineReadinessProbeArgs{},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
RunOnLaunch: pulumi.Bool(false),
RunStrategy: pulumi.String("string"),
SchedulerName: pulumi.String("string"),
Status: &spectrocloud.VirtualMachineStatusArgs{
Conditions: spectrocloud.VirtualMachineStatusConditionArray{
&spectrocloud.VirtualMachineStatusConditionArgs{
Message: pulumi.String("string"),
Reason: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
StateChangeRequests: spectrocloud.VirtualMachineStatusStateChangeRequestArray{
&spectrocloud.VirtualMachineStatusStateChangeRequestArgs{
Action: pulumi.String("string"),
Data: pulumi.StringMap{
"string": pulumi.String("string"),
},
Uid: pulumi.String("string"),
},
},
Created: pulumi.Bool(false),
Ready: pulumi.Bool(false),
},
Subdomain: pulumi.String("string"),
TerminationGracePeriodSeconds: pulumi.Float64(0),
Timeouts: &spectrocloud.VirtualMachineTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Tolerations: spectrocloud.VirtualMachineTolerationArray{
&spectrocloud.VirtualMachineTolerationArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
TolerationSeconds: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VirtualMachineId: pulumi.String("string"),
VmAction: pulumi.String("string"),
Volumes: spectrocloud.VirtualMachineVolumeArray{
&spectrocloud.VirtualMachineVolumeArgs{
Name: pulumi.String("string"),
VolumeSource: &spectrocloud.VirtualMachineVolumeVolumeSourceArgs{
CloudInitConfigDrive: &spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs{
NetworkData: pulumi.String("string"),
NetworkDataBase64: pulumi.String("string"),
NetworkDataSecretRef: &spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveNetworkDataSecretRefArgs{
Name: pulumi.String("string"),
},
UserData: pulumi.String("string"),
UserDataBase64: pulumi.String("string"),
UserDataSecretRef: &spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitConfigDriveUserDataSecretRefArgs{
Name: pulumi.String("string"),
},
},
CloudInitNoClouds: spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitNoCloudArray{
&spectrocloud.VirtualMachineVolumeVolumeSourceCloudInitNoCloudArgs{
UserData: pulumi.String("string"),
},
},
ConfigMap: &spectrocloud.VirtualMachineVolumeVolumeSourceConfigMapArgs{
DefaultMode: pulumi.Float64(0),
Items: spectrocloud.VirtualMachineVolumeVolumeSourceConfigMapItemArray{
&spectrocloud.VirtualMachineVolumeVolumeSourceConfigMapItemArgs{
Key: pulumi.String("string"),
},
},
},
ContainerDisks: spectrocloud.VirtualMachineVolumeVolumeSourceContainerDiskArray{
&spectrocloud.VirtualMachineVolumeVolumeSourceContainerDiskArgs{
ImageUrl: pulumi.String("string"),
},
},
DataVolume: &spectrocloud.VirtualMachineVolumeVolumeSourceDataVolumeArgs{
Name: pulumi.String("string"),
},
EmptyDisk: &spectrocloud.VirtualMachineVolumeVolumeSourceEmptyDiskArgs{
Capacity: pulumi.String("string"),
},
Ephemeral: &spectrocloud.VirtualMachineVolumeVolumeSourceEphemeralArgs{
PersistentVolumeClaim: &spectrocloud.VirtualMachineVolumeVolumeSourceEphemeralPersistentVolumeClaimArgs{
ClaimName: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
HostDisk: &spectrocloud.VirtualMachineVolumeVolumeSourceHostDiskArgs{
Path: pulumi.String("string"),
Type: pulumi.String("string"),
},
PersistentVolumeClaim: &spectrocloud.VirtualMachineVolumeVolumeSourcePersistentVolumeClaimArgs{
ClaimName: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
ServiceAccount: &spectrocloud.VirtualMachineVolumeVolumeSourceServiceAccountArgs{
ServiceAccountName: pulumi.String("string"),
},
},
},
},
})
var virtualMachineResource = new VirtualMachine("virtualMachineResource", VirtualMachineArgs.builder()
.clusterUid("string")
.resources(VirtualMachineResourcesArgs.builder()
.limits(Map.of("string", "string"))
.overCommitGuestOverhead(false)
.requests(Map.of("string", "string"))
.build())
.name("string")
.nodeSelector(Map.of("string", "string"))
.baseVmName("string")
.cpu(VirtualMachineCpuArgs.builder()
.cores(0)
.sockets(0)
.threads(0)
.build())
.dataVolumeTemplates(VirtualMachineDataVolumeTemplateArgs.builder()
.metadata(VirtualMachineDataVolumeTemplateMetadataArgs.builder()
.annotations(Map.of("string", "string"))
.generation(0)
.labels(Map.of("string", "string"))
.name("string")
.namespace("string")
.resourceVersion("string")
.selfLink("string")
.uid("string")
.build())
.spec(VirtualMachineDataVolumeTemplateSpecArgs.builder()
.pvc(VirtualMachineDataVolumeTemplateSpecPvcArgs.builder()
.accessModes("string")
.resources(VirtualMachineDataVolumeTemplateSpecPvcResourcesArgs.builder()
.limits(Map.of("string", "string"))
.requests(Map.of("string", "string"))
.build())
.selector(VirtualMachineDataVolumeTemplateSpecPvcSelectorArgs.builder()
.matchExpressions(VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.matchLabels(Map.of("string", "string"))
.build())
.storageClassName("string")
.volumeMode("string")
.volumeName("string")
.build())
.contentType("string")
.source(VirtualMachineDataVolumeTemplateSpecSourceArgs.builder()
.blank()
.http(VirtualMachineDataVolumeTemplateSpecSourceHttpArgs.builder()
.certConfigMap("string")
.secretRef("string")
.url("string")
.build())
.pvc(VirtualMachineDataVolumeTemplateSpecSourcePvcArgs.builder()
.name("string")
.namespace("string")
.build())
.registry(VirtualMachineDataVolumeTemplateSpecSourceRegistryArgs.builder()
.imageUrl("string")
.build())
.build())
.build())
.build())
.disks(VirtualMachineDiskArgs.builder()
.diskDevices(VirtualMachineDiskDiskDeviceArgs.builder()
.disks(VirtualMachineDiskDiskDeviceDiskArgs.builder()
.bus("string")
.pciAddress("string")
.readOnly(false)
.build())
.build())
.name("string")
.serial("string")
.build())
.dnsPolicy("string")
.evictionStrategy("string")
.generateName("string")
.hostname("string")
.interfaces(VirtualMachineInterfaceArgs.builder()
.interfaceBindingMethod("string")
.name("string")
.model("string")
.build())
.labels(Map.of("string", "string"))
.livenessProbe()
.memory(VirtualMachineMemoryArgs.builder()
.guest("string")
.hugepages("string")
.build())
.affinity(VirtualMachineAffinityArgs.builder()
.nodeAffinity(VirtualMachineAffinityNodeAffinityArgs.builder()
.preferredDuringSchedulingIgnoredDuringExecutions(VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.preference(VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs.builder()
.matchExpressions(VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.build())
.weight(0)
.build())
.requiredDuringSchedulingIgnoredDuringExecution(VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.nodeSelectorTerms(VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermArgs.builder()
.matchExpressions(VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.build())
.build())
.build())
.podAffinity(VirtualMachineAffinityPodAffinityArgs.builder()
.preferredDuringSchedulingIgnoredDuringExecutions(VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.podAffinityTerm(VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs.builder()
.labelSelectors(VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs.builder()
.matchExpressions(VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.matchLabels(Map.of("string", "string"))
.build())
.namespaces("string")
.topologyKey("string")
.build())
.weight(0)
.build())
.requiredDuringSchedulingIgnoredDuringExecutions(VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.labelSelectors(VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs.builder()
.matchExpressions(VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.matchLabels(Map.of("string", "string"))
.build())
.namespaces("string")
.topologyKey("string")
.build())
.build())
.podAntiAffinity(VirtualMachineAffinityPodAntiAffinityArgs.builder()
.preferredDuringSchedulingIgnoredDuringExecutions(VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.podAffinityTerm(VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs.builder()
.labelSelectors(VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs.builder()
.matchExpressions(VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.matchLabels(Map.of("string", "string"))
.build())
.namespaces("string")
.topologyKey("string")
.build())
.weight(0)
.build())
.requiredDuringSchedulingIgnoredDuringExecutions(VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs.builder()
.labelSelectors(VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs.builder()
.matchExpressions(VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs.builder()
.key("string")
.operator("string")
.values("string")
.build())
.matchLabels(Map.of("string", "string"))
.build())
.namespaces("string")
.topologyKey("string")
.build())
.build())
.build())
.namespace("string")
.clusterContext("string")
.podDnsConfig(VirtualMachinePodDnsConfigArgs.builder()
.nameservers("string")
.options(VirtualMachinePodDnsConfigOptionArgs.builder()
.name("string")
.value("string")
.build())
.searches("string")
.build())
.networks(VirtualMachineNetworkArgs.builder()
.name("string")
.networkSource(VirtualMachineNetworkNetworkSourceArgs.builder()
.multus(VirtualMachineNetworkNetworkSourceMultusArgs.builder()
.networkName("string")
.default_(false)
.build())
.pod(VirtualMachineNetworkNetworkSourcePodArgs.builder()
.vmNetworkCidr("string")
.build())
.build())
.build())
.priorityClassName("string")
.readinessProbe()
.annotations(Map.of("string", "string"))
.runOnLaunch(false)
.runStrategy("string")
.schedulerName("string")
.status(VirtualMachineStatusArgs.builder()
.conditions(VirtualMachineStatusConditionArgs.builder()
.message("string")
.reason("string")
.status("string")
.type("string")
.build())
.stateChangeRequests(VirtualMachineStatusStateChangeRequestArgs.builder()
.action("string")
.data(Map.of("string", "string"))
.uid("string")
.build())
.created(false)
.ready(false)
.build())
.subdomain("string")
.terminationGracePeriodSeconds(0)
.timeouts(VirtualMachineTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.tolerations(VirtualMachineTolerationArgs.builder()
.effect("string")
.key("string")
.operator("string")
.tolerationSeconds("string")
.value("string")
.build())
.virtualMachineId("string")
.vmAction("string")
.volumes(VirtualMachineVolumeArgs.builder()
.name("string")
.volumeSource(VirtualMachineVolumeVolumeSourceArgs.builder()
.cloudInitConfigDrive(VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs.builder()
.networkData("string")
.networkDataBase64("string")
.networkDataSecretRef(VirtualMachineVolumeVolumeSourceCloudInitConfigDriveNetworkDataSecretRefArgs.builder()
.name("string")
.build())
.userData("string")
.userDataBase64("string")
.userDataSecretRef(VirtualMachineVolumeVolumeSourceCloudInitConfigDriveUserDataSecretRefArgs.builder()
.name("string")
.build())
.build())
.cloudInitNoClouds(VirtualMachineVolumeVolumeSourceCloudInitNoCloudArgs.builder()
.userData("string")
.build())
.configMap(VirtualMachineVolumeVolumeSourceConfigMapArgs.builder()
.defaultMode(0)
.items(VirtualMachineVolumeVolumeSourceConfigMapItemArgs.builder()
.key("string")
.build())
.build())
.containerDisks(VirtualMachineVolumeVolumeSourceContainerDiskArgs.builder()
.imageUrl("string")
.build())
.dataVolume(VirtualMachineVolumeVolumeSourceDataVolumeArgs.builder()
.name("string")
.build())
.emptyDisk(VirtualMachineVolumeVolumeSourceEmptyDiskArgs.builder()
.capacity("string")
.build())
.ephemeral(VirtualMachineVolumeVolumeSourceEphemeralArgs.builder()
.persistentVolumeClaim(VirtualMachineVolumeVolumeSourceEphemeralPersistentVolumeClaimArgs.builder()
.claimName("string")
.readOnly(false)
.build())
.build())
.hostDisk(VirtualMachineVolumeVolumeSourceHostDiskArgs.builder()
.path("string")
.type("string")
.build())
.persistentVolumeClaim(VirtualMachineVolumeVolumeSourcePersistentVolumeClaimArgs.builder()
.claimName("string")
.readOnly(false)
.build())
.serviceAccount(VirtualMachineVolumeVolumeSourceServiceAccountArgs.builder()
.serviceAccountName("string")
.build())
.build())
.build())
.build());
virtual_machine_resource = spectrocloud.VirtualMachine("virtualMachineResource",
cluster_uid="string",
resources={
"limits": {
"string": "string",
},
"over_commit_guest_overhead": False,
"requests": {
"string": "string",
},
},
name="string",
node_selector={
"string": "string",
},
base_vm_name="string",
cpu={
"cores": 0,
"sockets": 0,
"threads": 0,
},
data_volume_templates=[{
"metadata": {
"annotations": {
"string": "string",
},
"generation": 0,
"labels": {
"string": "string",
},
"name": "string",
"namespace": "string",
"resource_version": "string",
"self_link": "string",
"uid": "string",
},
"spec": {
"pvc": {
"access_modes": ["string"],
"resources": {
"limits": {
"string": "string",
},
"requests": {
"string": "string",
},
},
"selector": {
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
"match_labels": {
"string": "string",
},
},
"storage_class_name": "string",
"volume_mode": "string",
"volume_name": "string",
},
"content_type": "string",
"source": {
"blank": {},
"http": {
"cert_config_map": "string",
"secret_ref": "string",
"url": "string",
},
"pvc": {
"name": "string",
"namespace": "string",
},
"registry": {
"image_url": "string",
},
},
},
}],
disks=[{
"disk_devices": [{
"disks": [{
"bus": "string",
"pci_address": "string",
"read_only": False,
}],
}],
"name": "string",
"serial": "string",
}],
dns_policy="string",
eviction_strategy="string",
generate_name="string",
hostname="string",
interfaces=[{
"interface_binding_method": "string",
"name": "string",
"model": "string",
}],
labels={
"string": "string",
},
liveness_probe={},
memory={
"guest": "string",
"hugepages": "string",
},
affinity={
"node_affinity": {
"preferred_during_scheduling_ignored_during_executions": [{
"preference": {
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
},
"weight": 0,
}],
"required_during_scheduling_ignored_during_execution": {
"node_selector_terms": [{
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
}],
},
},
"pod_affinity": {
"preferred_during_scheduling_ignored_during_executions": [{
"pod_affinity_term": {
"label_selectors": [{
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
"match_labels": {
"string": "string",
},
}],
"namespaces": ["string"],
"topology_key": "string",
},
"weight": 0,
}],
"required_during_scheduling_ignored_during_executions": [{
"label_selectors": [{
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
"match_labels": {
"string": "string",
},
}],
"namespaces": ["string"],
"topology_key": "string",
}],
},
"pod_anti_affinity": {
"preferred_during_scheduling_ignored_during_executions": [{
"pod_affinity_term": {
"label_selectors": [{
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
"match_labels": {
"string": "string",
},
}],
"namespaces": ["string"],
"topology_key": "string",
},
"weight": 0,
}],
"required_during_scheduling_ignored_during_executions": [{
"label_selectors": [{
"match_expressions": [{
"key": "string",
"operator": "string",
"values": ["string"],
}],
"match_labels": {
"string": "string",
},
}],
"namespaces": ["string"],
"topology_key": "string",
}],
},
},
namespace="string",
cluster_context="string",
pod_dns_config={
"nameservers": ["string"],
"options": [{
"name": "string",
"value": "string",
}],
"searches": ["string"],
},
networks=[{
"name": "string",
"network_source": {
"multus": {
"network_name": "string",
"default": False,
},
"pod": {
"vm_network_cidr": "string",
},
},
}],
priority_class_name="string",
readiness_probe={},
annotations={
"string": "string",
},
run_on_launch=False,
run_strategy="string",
scheduler_name="string",
status={
"conditions": [{
"message": "string",
"reason": "string",
"status": "string",
"type": "string",
}],
"state_change_requests": [{
"action": "string",
"data": {
"string": "string",
},
"uid": "string",
}],
"created": False,
"ready": False,
},
subdomain="string",
termination_grace_period_seconds=0,
timeouts={
"create": "string",
"delete": "string",
},
tolerations=[{
"effect": "string",
"key": "string",
"operator": "string",
"toleration_seconds": "string",
"value": "string",
}],
virtual_machine_id="string",
vm_action="string",
volumes=[{
"name": "string",
"volume_source": {
"cloud_init_config_drive": {
"network_data": "string",
"network_data_base64": "string",
"network_data_secret_ref": {
"name": "string",
},
"user_data": "string",
"user_data_base64": "string",
"user_data_secret_ref": {
"name": "string",
},
},
"cloud_init_no_clouds": [{
"user_data": "string",
}],
"config_map": {
"default_mode": 0,
"items": [{
"key": "string",
}],
},
"container_disks": [{
"image_url": "string",
}],
"data_volume": {
"name": "string",
},
"empty_disk": {
"capacity": "string",
},
"ephemeral": {
"persistent_volume_claim": {
"claim_name": "string",
"read_only": False,
},
},
"host_disk": {
"path": "string",
"type": "string",
},
"persistent_volume_claim": {
"claim_name": "string",
"read_only": False,
},
"service_account": {
"service_account_name": "string",
},
},
}])
const virtualMachineResource = new spectrocloud.VirtualMachine("virtualMachineResource", {
clusterUid: "string",
resources: {
limits: {
string: "string",
},
overCommitGuestOverhead: false,
requests: {
string: "string",
},
},
name: "string",
nodeSelector: {
string: "string",
},
baseVmName: "string",
cpu: {
cores: 0,
sockets: 0,
threads: 0,
},
dataVolumeTemplates: [{
metadata: {
annotations: {
string: "string",
},
generation: 0,
labels: {
string: "string",
},
name: "string",
namespace: "string",
resourceVersion: "string",
selfLink: "string",
uid: "string",
},
spec: {
pvc: {
accessModes: ["string"],
resources: {
limits: {
string: "string",
},
requests: {
string: "string",
},
},
selector: {
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
matchLabels: {
string: "string",
},
},
storageClassName: "string",
volumeMode: "string",
volumeName: "string",
},
contentType: "string",
source: {
blank: {},
http: {
certConfigMap: "string",
secretRef: "string",
url: "string",
},
pvc: {
name: "string",
namespace: "string",
},
registry: {
imageUrl: "string",
},
},
},
}],
disks: [{
diskDevices: [{
disks: [{
bus: "string",
pciAddress: "string",
readOnly: false,
}],
}],
name: "string",
serial: "string",
}],
dnsPolicy: "string",
evictionStrategy: "string",
generateName: "string",
hostname: "string",
interfaces: [{
interfaceBindingMethod: "string",
name: "string",
model: "string",
}],
labels: {
string: "string",
},
livenessProbe: {},
memory: {
guest: "string",
hugepages: "string",
},
affinity: {
nodeAffinity: {
preferredDuringSchedulingIgnoredDuringExecutions: [{
preference: {
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
},
weight: 0,
}],
requiredDuringSchedulingIgnoredDuringExecution: {
nodeSelectorTerms: [{
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
}],
},
},
podAffinity: {
preferredDuringSchedulingIgnoredDuringExecutions: [{
podAffinityTerm: {
labelSelectors: [{
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
matchLabels: {
string: "string",
},
}],
namespaces: ["string"],
topologyKey: "string",
},
weight: 0,
}],
requiredDuringSchedulingIgnoredDuringExecutions: [{
labelSelectors: [{
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
matchLabels: {
string: "string",
},
}],
namespaces: ["string"],
topologyKey: "string",
}],
},
podAntiAffinity: {
preferredDuringSchedulingIgnoredDuringExecutions: [{
podAffinityTerm: {
labelSelectors: [{
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
matchLabels: {
string: "string",
},
}],
namespaces: ["string"],
topologyKey: "string",
},
weight: 0,
}],
requiredDuringSchedulingIgnoredDuringExecutions: [{
labelSelectors: [{
matchExpressions: [{
key: "string",
operator: "string",
values: ["string"],
}],
matchLabels: {
string: "string",
},
}],
namespaces: ["string"],
topologyKey: "string",
}],
},
},
namespace: "string",
clusterContext: "string",
podDnsConfig: {
nameservers: ["string"],
options: [{
name: "string",
value: "string",
}],
searches: ["string"],
},
networks: [{
name: "string",
networkSource: {
multus: {
networkName: "string",
"default": false,
},
pod: {
vmNetworkCidr: "string",
},
},
}],
priorityClassName: "string",
readinessProbe: {},
annotations: {
string: "string",
},
runOnLaunch: false,
runStrategy: "string",
schedulerName: "string",
status: {
conditions: [{
message: "string",
reason: "string",
status: "string",
type: "string",
}],
stateChangeRequests: [{
action: "string",
data: {
string: "string",
},
uid: "string",
}],
created: false,
ready: false,
},
subdomain: "string",
terminationGracePeriodSeconds: 0,
timeouts: {
create: "string",
"delete": "string",
},
tolerations: [{
effect: "string",
key: "string",
operator: "string",
tolerationSeconds: "string",
value: "string",
}],
virtualMachineId: "string",
vmAction: "string",
volumes: [{
name: "string",
volumeSource: {
cloudInitConfigDrive: {
networkData: "string",
networkDataBase64: "string",
networkDataSecretRef: {
name: "string",
},
userData: "string",
userDataBase64: "string",
userDataSecretRef: {
name: "string",
},
},
cloudInitNoClouds: [{
userData: "string",
}],
configMap: {
defaultMode: 0,
items: [{
key: "string",
}],
},
containerDisks: [{
imageUrl: "string",
}],
dataVolume: {
name: "string",
},
emptyDisk: {
capacity: "string",
},
ephemeral: {
persistentVolumeClaim: {
claimName: "string",
readOnly: false,
},
},
hostDisk: {
path: "string",
type: "string",
},
persistentVolumeClaim: {
claimName: "string",
readOnly: false,
},
serviceAccount: {
serviceAccountName: "string",
},
},
}],
});
type: spectrocloud:VirtualMachine
properties:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecutions:
- preference:
matchExpressions:
- key: string
operator: string
values:
- string
weight: 0
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: string
operator: string
values:
- string
podAffinity:
preferredDuringSchedulingIgnoredDuringExecutions:
- podAffinityTerm:
labelSelectors:
- matchExpressions:
- key: string
operator: string
values:
- string
matchLabels:
string: string
namespaces:
- string
topologyKey: string
weight: 0
requiredDuringSchedulingIgnoredDuringExecutions:
- labelSelectors:
- matchExpressions:
- key: string
operator: string
values:
- string
matchLabels:
string: string
namespaces:
- string
topologyKey: string
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecutions:
- podAffinityTerm:
labelSelectors:
- matchExpressions:
- key: string
operator: string
values:
- string
matchLabels:
string: string
namespaces:
- string
topologyKey: string
weight: 0
requiredDuringSchedulingIgnoredDuringExecutions:
- labelSelectors:
- matchExpressions:
- key: string
operator: string
values:
- string
matchLabels:
string: string
namespaces:
- string
topologyKey: string
annotations:
string: string
baseVmName: string
clusterContext: string
clusterUid: string
cpu:
cores: 0
sockets: 0
threads: 0
dataVolumeTemplates:
- metadata:
annotations:
string: string
generation: 0
labels:
string: string
name: string
namespace: string
resourceVersion: string
selfLink: string
uid: string
spec:
contentType: string
pvc:
accessModes:
- string
resources:
limits:
string: string
requests:
string: string
selector:
matchExpressions:
- key: string
operator: string
values:
- string
matchLabels:
string: string
storageClassName: string
volumeMode: string
volumeName: string
source:
blank: {}
http:
certConfigMap: string
secretRef: string
url: string
pvc:
name: string
namespace: string
registry:
imageUrl: string
disks:
- diskDevices:
- disks:
- bus: string
pciAddress: string
readOnly: false
name: string
serial: string
dnsPolicy: string
evictionStrategy: string
generateName: string
hostname: string
interfaces:
- interfaceBindingMethod: string
model: string
name: string
labels:
string: string
livenessProbe: {}
memory:
guest: string
hugepages: string
name: string
namespace: string
networks:
- name: string
networkSource:
multus:
default: false
networkName: string
pod:
vmNetworkCidr: string
nodeSelector:
string: string
podDnsConfig:
nameservers:
- string
options:
- name: string
value: string
searches:
- string
priorityClassName: string
readinessProbe: {}
resources:
limits:
string: string
overCommitGuestOverhead: false
requests:
string: string
runOnLaunch: false
runStrategy: string
schedulerName: string
status:
conditions:
- message: string
reason: string
status: string
type: string
created: false
ready: false
stateChangeRequests:
- action: string
data:
string: string
uid: string
subdomain: string
terminationGracePeriodSeconds: 0
timeouts:
create: string
delete: string
tolerations:
- effect: string
key: string
operator: string
tolerationSeconds: string
value: string
virtualMachineId: string
vmAction: string
volumes:
- name: string
volumeSource:
cloudInitConfigDrive:
networkData: string
networkDataBase64: string
networkDataSecretRef:
name: string
userData: string
userDataBase64: string
userDataSecretRef:
name: string
cloudInitNoClouds:
- userData: string
configMap:
defaultMode: 0
items:
- key: string
containerDisks:
- imageUrl: string
dataVolume:
name: string
emptyDisk:
capacity: string
ephemeral:
persistentVolumeClaim:
claimName: string
readOnly: false
hostDisk:
path: string
type: string
persistentVolumeClaim:
claimName: string
readOnly: false
serviceAccount:
serviceAccountName: string
VirtualMachine 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 VirtualMachine resource accepts the following input properties:
- Cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- Resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- Affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- Annotations Dictionary<string, string>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- Base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- Cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - Cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- Data
Volume List<VirtualTemplates Machine Data Volume Template> - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- Disks
List<Virtual
Machine Disk> - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- Dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- Eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- Generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - Hostname string
- Specifies the hostname of the vmi.
- Interfaces
List<Virtual
Machine Interface> - Interfaces describe network interfaces which are added to the vmi.
- Labels Dictionary<string, string>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- Liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- Name string
- Name of the virtual machine, must be unique. Cannot be updated.
- Namespace string
- Namespace defines the space within, Name must be unique.
- Networks
List<Virtual
Machine Network> - List of networks that can be attached to a vm's virtual interface.
- Node
Selector Dictionary<string, string> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- Pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- Priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Run
On boolLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - Run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- Scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- Status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- Subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- Termination
Grace doublePeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- Timeouts
Virtual
Machine Timeouts - Tolerations
List<Virtual
Machine Toleration> - If specified, the pod's toleration. Optional: Defaults to empty
- Virtual
Machine stringId - The ID of this resource.
- Vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - Volumes
List<Virtual
Machine Volume> - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- Resources
Virtual
Machine Resources Args - Resources describes the Compute Resources required by this vmi.
- Affinity
Virtual
Machine Affinity Args - Optional pod scheduling constraints.
- Annotations map[string]string
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- Base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- Cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - Cpu
Virtual
Machine Cpu Args - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- Data
Volume []VirtualTemplates Machine Data Volume Template Args - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- Disks
[]Virtual
Machine Disk Args - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- Dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- Eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- Generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - Hostname string
- Specifies the hostname of the vmi.
- Interfaces
[]Virtual
Machine Interface Args - Interfaces describe network interfaces which are added to the vmi.
- Labels map[string]string
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- Liveness
Probe VirtualMachine Liveness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Memory
Virtual
Machine Memory Args - Memory allows specifying the vmi memory features.
- Name string
- Name of the virtual machine, must be unique. Cannot be updated.
- Namespace string
- Namespace defines the space within, Name must be unique.
- Networks
[]Virtual
Machine Network Args - List of networks that can be attached to a vm's virtual interface.
- Node
Selector map[string]string - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- Pod
Dns VirtualConfig Machine Pod Dns Config Args - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- Priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Probe VirtualMachine Readiness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Run
On boolLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - Run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- Scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- Status
Virtual
Machine Status Args - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- Subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- Termination
Grace float64Period Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- Timeouts
Virtual
Machine Timeouts Args - Tolerations
[]Virtual
Machine Toleration Args - If specified, the pod's toleration. Optional: Defaults to empty
- Virtual
Machine stringId - The ID of this resource.
- Vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - Volumes
[]Virtual
Machine Volume Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- cluster
Uid String - The cluster UID to which the virtual machine belongs to.
- resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- annotations Map<String,String>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm StringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context String - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume List<VirtualTemplates Machine Data Volume Template> - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
List<Virtual
Machine Disk> - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy String - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy String - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name String - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - hostname String
- Specifies the hostname of the vmi.
- interfaces
List<Virtual
Machine Interface> - Interfaces describe network interfaces which are added to the vmi.
- labels Map<String,String>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- name String
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace String
- Namespace defines the space within, Name must be unique.
- networks
List<Virtual
Machine Network> - List of networks that can be attached to a vm's virtual interface.
- node
Selector Map<String,String> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class StringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- run
On BooleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy String - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name String - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain String
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace DoublePeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts - tolerations
List<Virtual
Machine Toleration> - If specified, the pod's toleration. Optional: Defaults to empty
- virtual
Machine StringId - The ID of this resource.
- vm
Action String - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
List<Virtual
Machine Volume> - Specification of the desired behavior of the VirtualMachineInstance on the host.
- cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- annotations {[key: string]: string}
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume VirtualTemplates Machine Data Volume Template[] - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
Virtual
Machine Disk[] - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - hostname string
- Specifies the hostname of the vmi.
- interfaces
Virtual
Machine Interface[] - Interfaces describe network interfaces which are added to the vmi.
- labels {[key: string]: string}
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- name string
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace string
- Namespace defines the space within, Name must be unique.
- networks
Virtual
Machine Network[] - List of networks that can be attached to a vm's virtual interface.
- node
Selector {[key: string]: string} - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- run
On booleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace numberPeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts - tolerations
Virtual
Machine Toleration[] - If specified, the pod's toleration. Optional: Defaults to empty
- virtual
Machine stringId - The ID of this resource.
- vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
Virtual
Machine Volume[] - Specification of the desired behavior of the VirtualMachineInstance on the host.
- cluster_
uid str - The cluster UID to which the virtual machine belongs to.
- resources
Virtual
Machine Resources Args - Resources describes the Compute Resources required by this vmi.
- affinity
Virtual
Machine Affinity Args - Optional pod scheduling constraints.
- annotations Mapping[str, str]
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base_
vm_ strname - The name of the source virtual machine that a clone will be created of.
- cluster_
context str - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cpu
Virtual
Machine Cpu Args - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data_
volume_ Sequence[Virtualtemplates Machine Data Volume Template Args] - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
Sequence[Virtual
Machine Disk Args] - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns_
policy str - DNSPolicy defines how a pod's DNS will be configured.
- eviction_
strategy str - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate_
name str - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - hostname str
- Specifies the hostname of the vmi.
- interfaces
Sequence[Virtual
Machine Interface Args] - Interfaces describe network interfaces which are added to the vmi.
- labels Mapping[str, str]
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness_
probe VirtualMachine Liveness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory Args - Memory allows specifying the vmi memory features.
- name str
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace str
- Namespace defines the space within, Name must be unique.
- networks
Sequence[Virtual
Machine Network Args] - List of networks that can be attached to a vm's virtual interface.
- node_
selector Mapping[str, str] - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod_
dns_ Virtualconfig Machine Pod Dns Config Args - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority_
class_ strname - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness_
probe VirtualMachine Readiness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- run_
on_ boollaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run_
strategy str - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler_
name str - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- status
Virtual
Machine Status Args - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain str
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination_
grace_ floatperiod_ seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts Args - tolerations
Sequence[Virtual
Machine Toleration Args] - If specified, the pod's toleration. Optional: Defaults to empty
- virtual_
machine_ strid - The ID of this resource.
- vm_
action str - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
Sequence[Virtual
Machine Volume Args] - Specification of the desired behavior of the VirtualMachineInstance on the host.
- cluster
Uid String - The cluster UID to which the virtual machine belongs to.
- resources Property Map
- Resources describes the Compute Resources required by this vmi.
- affinity Property Map
- Optional pod scheduling constraints.
- annotations Map<String>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm StringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context String - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cpu Property Map
- CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume List<Property Map>Templates - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks List<Property Map>
- Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy String - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy String - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name String - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - hostname String
- Specifies the hostname of the vmi.
- interfaces List<Property Map>
- Interfaces describe network interfaces which are added to the vmi.
- labels Map<String>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe Property Map - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory Property Map
- Memory allows specifying the vmi memory features.
- name String
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace String
- Namespace defines the space within, Name must be unique.
- networks List<Property Map>
- List of networks that can be attached to a vm's virtual interface.
- node
Selector Map<String> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns Property MapConfig - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class StringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe Property Map - Specification of the desired behavior of the VirtualMachineInstance on the host.
- run
On BooleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy String - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name String - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- status Property Map
- VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain String
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace NumberPeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts Property Map
- tolerations List<Property Map>
- If specified, the pod's toleration. Optional: Defaults to empty
- virtual
Machine StringId - The ID of this resource.
- vm
Action String - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes List<Property Map>
- Specification of the desired behavior of the VirtualMachineInstance on the host.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualMachine resource produces the following output properties:
- Generation double
- A sequence number representing a specific generation of the desired state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- Self
Link string - A URL representing this VM.
- Uid string
- The unique in time and space value for this VM.
- Generation float64
- A sequence number representing a specific generation of the desired state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- Self
Link string - A URL representing this VM.
- Uid string
- The unique in time and space value for this VM.
- generation Double
- A sequence number representing a specific generation of the desired state.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Version String - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- self
Link String - A URL representing this VM.
- uid String
- The unique in time and space value for this VM.
- generation number
- A sequence number representing a specific generation of the desired state.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- self
Link string - A URL representing this VM.
- uid string
- The unique in time and space value for this VM.
- generation float
- A sequence number representing a specific generation of the desired state.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
version str - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- self_
link str - A URL representing this VM.
- uid str
- The unique in time and space value for this VM.
- generation Number
- A sequence number representing a specific generation of the desired state.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Version String - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- self
Link String - A URL representing this VM.
- uid String
- The unique in time and space value for this VM.
Look up Existing VirtualMachine Resource
Get an existing VirtualMachine 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?: VirtualMachineState, opts?: CustomResourceOptions): VirtualMachine
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
affinity: Optional[VirtualMachineAffinityArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
base_vm_name: Optional[str] = None,
cluster_context: Optional[str] = None,
cluster_uid: Optional[str] = None,
cpu: Optional[VirtualMachineCpuArgs] = None,
data_volume_templates: Optional[Sequence[VirtualMachineDataVolumeTemplateArgs]] = None,
disks: Optional[Sequence[VirtualMachineDiskArgs]] = None,
dns_policy: Optional[str] = None,
eviction_strategy: Optional[str] = None,
generate_name: Optional[str] = None,
generation: Optional[float] = None,
hostname: Optional[str] = None,
interfaces: Optional[Sequence[VirtualMachineInterfaceArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
liveness_probe: Optional[VirtualMachineLivenessProbeArgs] = None,
memory: Optional[VirtualMachineMemoryArgs] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
networks: Optional[Sequence[VirtualMachineNetworkArgs]] = None,
node_selector: Optional[Mapping[str, str]] = None,
pod_dns_config: Optional[VirtualMachinePodDnsConfigArgs] = None,
priority_class_name: Optional[str] = None,
readiness_probe: Optional[VirtualMachineReadinessProbeArgs] = None,
resource_version: Optional[str] = None,
resources: Optional[VirtualMachineResourcesArgs] = None,
run_on_launch: Optional[bool] = None,
run_strategy: Optional[str] = None,
scheduler_name: Optional[str] = None,
self_link: Optional[str] = None,
status: Optional[VirtualMachineStatusArgs] = None,
subdomain: Optional[str] = None,
termination_grace_period_seconds: Optional[float] = None,
timeouts: Optional[VirtualMachineTimeoutsArgs] = None,
tolerations: Optional[Sequence[VirtualMachineTolerationArgs]] = None,
uid: Optional[str] = None,
virtual_machine_id: Optional[str] = None,
vm_action: Optional[str] = None,
volumes: Optional[Sequence[VirtualMachineVolumeArgs]] = None) -> VirtualMachine
func GetVirtualMachine(ctx *Context, name string, id IDInput, state *VirtualMachineState, opts ...ResourceOption) (*VirtualMachine, error)
public static VirtualMachine Get(string name, Input<string> id, VirtualMachineState? state, CustomResourceOptions? opts = null)
public static VirtualMachine get(String name, Output<String> id, VirtualMachineState state, CustomResourceOptions options)
resources: _: type: spectrocloud:VirtualMachine get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- Annotations Dictionary<string, string>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- Base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- Cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - Cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- Cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- Data
Volume List<VirtualTemplates Machine Data Volume Template> - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- Disks
List<Virtual
Machine Disk> - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- Dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- Eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- Generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - Generation double
- A sequence number representing a specific generation of the desired state.
- Hostname string
- Specifies the hostname of the vmi.
- Interfaces
List<Virtual
Machine Interface> - Interfaces describe network interfaces which are added to the vmi.
- Labels Dictionary<string, string>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- Liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- Name string
- Name of the virtual machine, must be unique. Cannot be updated.
- Namespace string
- Namespace defines the space within, Name must be unique.
- Networks
List<Virtual
Machine Network> - List of networks that can be attached to a vm's virtual interface.
- Node
Selector Dictionary<string, string> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- Pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- Priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- Resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- Run
On boolLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - Run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- Scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- Self
Link string - A URL representing this VM.
- Status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- Subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- Termination
Grace doublePeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- Timeouts
Virtual
Machine Timeouts - Tolerations
List<Virtual
Machine Toleration> - If specified, the pod's toleration. Optional: Defaults to empty
- Uid string
- The unique in time and space value for this VM.
- Virtual
Machine stringId - The ID of this resource.
- Vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - Volumes
List<Virtual
Machine Volume> - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Affinity
Virtual
Machine Affinity Args - Optional pod scheduling constraints.
- Annotations map[string]string
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- Base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- Cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - Cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- Cpu
Virtual
Machine Cpu Args - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- Data
Volume []VirtualTemplates Machine Data Volume Template Args - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- Disks
[]Virtual
Machine Disk Args - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- Dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- Eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- Generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - Generation float64
- A sequence number representing a specific generation of the desired state.
- Hostname string
- Specifies the hostname of the vmi.
- Interfaces
[]Virtual
Machine Interface Args - Interfaces describe network interfaces which are added to the vmi.
- Labels map[string]string
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- Liveness
Probe VirtualMachine Liveness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Memory
Virtual
Machine Memory Args - Memory allows specifying the vmi memory features.
- Name string
- Name of the virtual machine, must be unique. Cannot be updated.
- Namespace string
- Namespace defines the space within, Name must be unique.
- Networks
[]Virtual
Machine Network Args - List of networks that can be attached to a vm's virtual interface.
- Node
Selector map[string]string - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- Pod
Dns VirtualConfig Machine Pod Dns Config Args - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- Priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- Readiness
Probe VirtualMachine Readiness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- Resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- Resources
Virtual
Machine Resources Args - Resources describes the Compute Resources required by this vmi.
- Run
On boolLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - Run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- Scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- Self
Link string - A URL representing this VM.
- Status
Virtual
Machine Status Args - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- Subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- Termination
Grace float64Period Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- Timeouts
Virtual
Machine Timeouts Args - Tolerations
[]Virtual
Machine Toleration Args - If specified, the pod's toleration. Optional: Defaults to empty
- Uid string
- The unique in time and space value for this VM.
- Virtual
Machine stringId - The ID of this resource.
- Vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - Volumes
[]Virtual
Machine Volume Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- annotations Map<String,String>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm StringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context String - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cluster
Uid String - The cluster UID to which the virtual machine belongs to.
- cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume List<VirtualTemplates Machine Data Volume Template> - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
List<Virtual
Machine Disk> - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy String - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy String - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name String - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - generation Double
- A sequence number representing a specific generation of the desired state.
- hostname String
- Specifies the hostname of the vmi.
- interfaces
List<Virtual
Machine Interface> - Interfaces describe network interfaces which are added to the vmi.
- labels Map<String,String>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- name String
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace String
- Namespace defines the space within, Name must be unique.
- networks
List<Virtual
Machine Network> - List of networks that can be attached to a vm's virtual interface.
- node
Selector Map<String,String> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class StringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- resource
Version String - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- run
On BooleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy String - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name String - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- self
Link String - A URL representing this VM.
- status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain String
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace DoublePeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts - tolerations
List<Virtual
Machine Toleration> - If specified, the pod's toleration. Optional: Defaults to empty
- uid String
- The unique in time and space value for this VM.
- virtual
Machine StringId - The ID of this resource.
- vm
Action String - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
List<Virtual
Machine Volume> - Specification of the desired behavior of the VirtualMachineInstance on the host.
- affinity
Virtual
Machine Affinity - Optional pod scheduling constraints.
- annotations {[key: string]: string}
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm stringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context string - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cluster
Uid string - The cluster UID to which the virtual machine belongs to.
- cpu
Virtual
Machine Cpu - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume VirtualTemplates Machine Data Volume Template[] - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
Virtual
Machine Disk[] - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy string - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy string - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name string - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - generation number
- A sequence number representing a specific generation of the desired state.
- hostname string
- Specifies the hostname of the vmi.
- interfaces
Virtual
Machine Interface[] - Interfaces describe network interfaces which are added to the vmi.
- labels {[key: string]: string}
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe VirtualMachine Liveness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory - Memory allows specifying the vmi memory features.
- name string
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace string
- Namespace defines the space within, Name must be unique.
- networks
Virtual
Machine Network[] - List of networks that can be attached to a vm's virtual interface.
- node
Selector {[key: string]: string} - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns VirtualConfig Machine Pod Dns Config - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class stringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe VirtualMachine Readiness Probe - Specification of the desired behavior of the VirtualMachineInstance on the host.
- resource
Version string - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- resources
Virtual
Machine Resources - Resources describes the Compute Resources required by this vmi.
- run
On booleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy string - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name string - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- self
Link string - A URL representing this VM.
- status
Virtual
Machine Status - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain string
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace numberPeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts - tolerations
Virtual
Machine Toleration[] - If specified, the pod's toleration. Optional: Defaults to empty
- uid string
- The unique in time and space value for this VM.
- virtual
Machine stringId - The ID of this resource.
- vm
Action string - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
Virtual
Machine Volume[] - Specification of the desired behavior of the VirtualMachineInstance on the host.
- affinity
Virtual
Machine Affinity Args - Optional pod scheduling constraints.
- annotations Mapping[str, str]
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base_
vm_ strname - The name of the source virtual machine that a clone will be created of.
- cluster_
context str - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cluster_
uid str - The cluster UID to which the virtual machine belongs to.
- cpu
Virtual
Machine Cpu Args - CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data_
volume_ Sequence[Virtualtemplates Machine Data Volume Template Args] - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks
Sequence[Virtual
Machine Disk Args] - Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns_
policy str - DNSPolicy defines how a pod's DNS will be configured.
- eviction_
strategy str - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate_
name str - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - generation float
- A sequence number representing a specific generation of the desired state.
- hostname str
- Specifies the hostname of the vmi.
- interfaces
Sequence[Virtual
Machine Interface Args] - Interfaces describe network interfaces which are added to the vmi.
- labels Mapping[str, str]
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness_
probe VirtualMachine Liveness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory
Virtual
Machine Memory Args - Memory allows specifying the vmi memory features.
- name str
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace str
- Namespace defines the space within, Name must be unique.
- networks
Sequence[Virtual
Machine Network Args] - List of networks that can be attached to a vm's virtual interface.
- node_
selector Mapping[str, str] - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod_
dns_ Virtualconfig Machine Pod Dns Config Args - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority_
class_ strname - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness_
probe VirtualMachine Readiness Probe Args - Specification of the desired behavior of the VirtualMachineInstance on the host.
- resource_
version str - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- resources
Virtual
Machine Resources Args - Resources describes the Compute Resources required by this vmi.
- run_
on_ boollaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run_
strategy str - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler_
name str - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- self_
link str - A URL representing this VM.
- status
Virtual
Machine Status Args - VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain str
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination_
grace_ floatperiod_ seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts
Virtual
Machine Timeouts Args - tolerations
Sequence[Virtual
Machine Toleration Args] - If specified, the pod's toleration. Optional: Defaults to empty
- uid str
- The unique in time and space value for this VM.
- virtual_
machine_ strid - The ID of this resource.
- vm_
action str - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes
Sequence[Virtual
Machine Volume Args] - Specification of the desired behavior of the VirtualMachineInstance on the host.
- affinity Property Map
- Optional pod scheduling constraints.
- annotations Map<String>
- An unstructured key value map stored with the VM that may be used to store arbitrary metadata.
- base
Vm StringName - The name of the source virtual machine that a clone will be created of.
- cluster
Context String - Context of the cluster. Allowed values are
project
,tenant
. Default value isproject
. - cluster
Uid String - The cluster UID to which the virtual machine belongs to.
- cpu Property Map
- CPU allows to specifying the CPU topology. Valid resource keys are "cores" , "sockets" and "threads"
- data
Volume List<Property Map>Templates - dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
- disks List<Property Map>
- Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
- dns
Policy String - DNSPolicy defines how a pod's DNS will be configured.
- eviction
Strategy String - EvictionStrategy can be set to "LiveMigrate" if the VirtualMachineInstance should be migrated instead of shut-off in case of a node drain.
- generate
Name String - Prefix, used by the server, to generate a unique name ONLY IF the
name
field has not been provided. This value will also be combined with a unique suffix. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency - generation Number
- A sequence number representing a specific generation of the desired state.
- hostname String
- Specifies the hostname of the vmi.
- interfaces List<Property Map>
- Interfaces describe network interfaces which are added to the vmi.
- labels Map<String>
- Map of string keys and values that can be used to organize and categorize (scope and select). May match selectors of replication controllers and services.
- liveness
Probe Property Map - Specification of the desired behavior of the VirtualMachineInstance on the host.
- memory Property Map
- Memory allows specifying the vmi memory features.
- name String
- Name of the virtual machine, must be unique. Cannot be updated.
- namespace String
- Namespace defines the space within, Name must be unique.
- networks List<Property Map>
- List of networks that can be attached to a vm's virtual interface.
- node
Selector Map<String> - NodeSelector is a selector which must be true for the vmi to fit on a node. Selector which must match a node's labels for the vmi to be scheduled on that node.
- pod
Dns Property MapConfig - Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. Optional: Defaults to empty
- priority
Class StringName - If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
- readiness
Probe Property Map - Specification of the desired behavior of the VirtualMachineInstance on the host.
- resource
Version String - An opaque value that represents the internal version of this VM that can be used by clients to determine when VM has changed.
- resources Property Map
- Resources describes the Compute Resources required by this vmi.
- run
On BooleanLaunch - If set to
true
, the virtual machine will be started when the cluster is launched. Default value istrue
. - run
Strategy String - Running state indicates the requested running state of the VirtualMachineInstance, mutually exclusive with Running.
- scheduler
Name String - If specified, the VMI will be dispatched by specified scheduler. If not specified, the VMI will be dispatched by default scheduler.
- self
Link String - A URL representing this VM.
- status Property Map
- VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing.
- subdomain String
- If specified, the fully qualified vmi hostname will be "\n\n.\n\n.\n\n.svc.\n\n".
- termination
Grace NumberPeriod Seconds - Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated.
- timeouts Property Map
- tolerations List<Property Map>
- If specified, the pod's toleration. Optional: Defaults to empty
- uid String
- The unique in time and space value for this VM.
- virtual
Machine StringId - The ID of this resource.
- vm
Action String - The action to be performed on the virtual machine. Valid values are:
start
,stop
,restart
,pause
,resume
,migrate
. Default value isstart
. - volumes List<Property Map>
- Specification of the desired behavior of the VirtualMachineInstance on the host.
Supporting Types
VirtualMachineAffinity, VirtualMachineAffinityArgs
- Node
Affinity VirtualMachine Affinity Node Affinity - Node affinity scheduling rules for the pod.
- Pod
Affinity VirtualMachine Affinity Pod Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- Pod
Anti VirtualAffinity Machine Affinity Pod Anti Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- Node
Affinity VirtualMachine Affinity Node Affinity - Node affinity scheduling rules for the pod.
- Pod
Affinity VirtualMachine Affinity Pod Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- Pod
Anti VirtualAffinity Machine Affinity Pod Anti Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- node
Affinity VirtualMachine Affinity Node Affinity - Node affinity scheduling rules for the pod.
- pod
Affinity VirtualMachine Affinity Pod Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- pod
Anti VirtualAffinity Machine Affinity Pod Anti Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- node
Affinity VirtualMachine Affinity Node Affinity - Node affinity scheduling rules for the pod.
- pod
Affinity VirtualMachine Affinity Pod Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- pod
Anti VirtualAffinity Machine Affinity Pod Anti Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- node_
affinity VirtualMachine Affinity Node Affinity - Node affinity scheduling rules for the pod.
- pod_
affinity VirtualMachine Affinity Pod Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- pod_
anti_ Virtualaffinity Machine Affinity Pod Anti Affinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- node
Affinity Property Map - Node affinity scheduling rules for the pod.
- pod
Affinity Property Map - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
- pod
Anti Property MapAffinity - Inter-pod topological affinity. rules that specify that certain pods should be placed in the same topological domain (e.g. same node, same rack, same zone, same power domain, etc.)
VirtualMachineAffinityNodeAffinity, VirtualMachineAffinityNodeAffinityArgs
- Preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During VirtualScheduling Ignored During Execution Machine Affinity Node Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
- Preferred
During []VirtualScheduling Ignored During Executions Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During VirtualScheduling Ignored During Execution Machine Affinity Node Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
- preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During VirtualScheduling Ignored During Execution Machine Affinity Node Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
- preferred
During VirtualScheduling Ignored During Executions Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution[] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During VirtualScheduling Ignored During Execution Machine Affinity Node Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
- preferred_
during_ Sequence[Virtualscheduling_ ignored_ during_ executions Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution] - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required_
during_ Virtualscheduling_ ignored_ during_ execution Machine Affinity Node Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
- preferred
During List<Property Map>Scheduling Ignored During Executions - The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During Property MapScheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a node label update), the system may or may not try to eventually evict the pod from its node.
VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
- Preference
Virtual
Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - A node selector term, associated with the corresponding weight.
- Weight double
- weight is in the range 1-100
- Preference
Virtual
Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - A node selector term, associated with the corresponding weight.
- Weight float64
- weight is in the range 1-100
- preference
Virtual
Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - A node selector term, associated with the corresponding weight.
- weight Double
- weight is in the range 1-100
- preference
Virtual
Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - A node selector term, associated with the corresponding weight.
- weight number
- weight is in the range 1-100
- preference
Virtual
Machine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference - A node selector term, associated with the corresponding weight.
- weight float
- weight is in the range 1-100
- preference Property Map
- A node selector term, associated with the corresponding weight.
- weight Number
- weight is in the range 1-100
VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreference, VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceArgs
- Match
Expressions List<VirtualMachine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference Match Expression> - List of node selector requirements. The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference Match Expression - List of node selector requirements. The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference Match Expression> - List of node selector requirements. The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference Match Expression[] - List of node selector requirements. The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Node Affinity Preferred During Scheduling Ignored During Execution Preference Match Expression] - List of node selector requirements. The requirements are ANDed.
- match
Expressions List<Property Map> - List of node selector requirements. The requirements are ANDed.
VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpression, VirtualMachineAffinityNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionPreferenceMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values List<string>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values []string
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values List<String>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values string[]
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values Sequence[str]
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values List<String>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
- Node
Selector List<VirtualTerms Machine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term> - List of node selector terms. The terms are ORed.
- Node
Selector []VirtualTerms Machine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term - List of node selector terms. The terms are ORed.
- node
Selector List<VirtualTerms Machine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term> - List of node selector terms. The terms are ORed.
- node
Selector VirtualTerms Machine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term[] - List of node selector terms. The terms are ORed.
- node_
selector_ Sequence[Virtualterms Machine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term] - List of node selector terms. The terms are ORed.
- node
Selector List<Property Map>Terms - List of node selector terms. The terms are ORed.
VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTerm, VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermArgs
- Match
Expressions List<VirtualMachine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term Match Expression> - List of node selector requirements. The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term Match Expression - List of node selector requirements. The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term Match Expression> - List of node selector requirements. The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term Match Expression[] - List of node selector requirements. The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Node Affinity Required During Scheduling Ignored During Execution Node Selector Term Match Expression] - List of node selector requirements. The requirements are ANDed.
- match
Expressions List<Property Map> - List of node selector requirements. The requirements are ANDed.
VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpression, VirtualMachineAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values List<string>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- Values []string
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values List<String>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values string[]
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values Sequence[str]
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
- values List<String>
- Values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
VirtualMachineAffinityPodAffinity, VirtualMachineAffinityPodAffinityArgs
- Preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Required During Scheduling Ignored During Execution> - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- Preferred
During []VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During []VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Required During Scheduling Ignored During Execution> - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution[] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During VirtualScheduling Ignored During Executions Machine Affinity Pod Affinity Required During Scheduling Ignored During Execution[] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred_
during_ Sequence[Virtualscheduling_ ignored_ during_ executions Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required_
during_ Sequence[Virtualscheduling_ ignored_ during_ executions Machine Affinity Pod Affinity Required During Scheduling Ignored During Execution] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During List<Property Map>Scheduling Ignored During Executions - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During List<Property Map>Scheduling Ignored During Executions - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
- Pod
Affinity VirtualTerm Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- Weight double
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- Pod
Affinity VirtualTerm Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- Weight float64
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity VirtualTerm Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight Double
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity VirtualTerm Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight number
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod_
affinity_ Virtualterm Machine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight float
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity Property MapTerm - A pod affinity term, associated with the corresponding weight
- weight Number
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs
- Label
Selectors List<VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector> - A label query over a set of resources, in this case pods.
- Namespaces List<string>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- Label
Selectors []VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector - A label query over a set of resources, in this case pods.
- Namespaces []string
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector[] - A label query over a set of resources, in this case pods.
- namespaces string[]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label_
selectors Sequence[VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector] - A label query over a set of resources, in this case pods.
- namespaces Sequence[str]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology_
key str - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<Property Map> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector, VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs
- Match
Expressions List<VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression - A list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String,String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression[] - A list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Pod Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression] - A list of label selector requirements. The requirements are ANDed.
- match_
labels Mapping[str, str] - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<Property Map> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpression, VirtualMachineAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values List<string>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values []string
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values string[]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values Sequence[str]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
- Label
Selectors List<VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector> - A label query over a set of resources, in this case pods.
- Namespaces List<string>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- Label
Selectors []VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector - A label query over a set of resources, in this case pods.
- Namespaces []string
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector[] - A label query over a set of resources, in this case pods.
- namespaces string[]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label_
selectors Sequence[VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector] - A label query over a set of resources, in this case pods.
- namespaces Sequence[str]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology_
key str - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<Property Map> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector, VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs
- Match
Expressions List<VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression - A list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String,String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression[] - A list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Pod Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression] - A list of label selector requirements. The requirements are ANDed.
- match_
labels Mapping[str, str] - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<Property Map> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpression, VirtualMachineAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values List<string>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values []string
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values string[]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values Sequence[str]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
VirtualMachineAffinityPodAntiAffinity, VirtualMachineAffinityPodAntiAffinityArgs
- Preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution> - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- Preferred
During []VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- Required
During []VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution> - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During List<VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution> - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution[] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During VirtualScheduling Ignored During Executions Machine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution[] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred_
during_ Sequence[Virtualscheduling_ ignored_ during_ executions Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution] - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required_
during_ Sequence[Virtualscheduling_ ignored_ during_ executions Machine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution] - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
- preferred
During List<Property Map>Scheduling Ignored During Executions - The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, RequiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding 'weight' to the sum if the node matches the corresponding MatchExpressions; the node(s) with the highest sum are the most preferred.
- required
During List<Property Map>Scheduling Ignored During Executions - If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each PodAffinityTerm are intersected, i.e. all terms must be satisfied.
VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionArgs
- Pod
Affinity VirtualTerm Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- Weight double
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- Pod
Affinity VirtualTerm Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- Weight float64
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity VirtualTerm Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight Double
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity VirtualTerm Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight number
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod_
affinity_ Virtualterm Machine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term - A pod affinity term, associated with the corresponding weight
- weight float
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
- pod
Affinity Property MapTerm - A pod affinity term, associated with the corresponding weight
- weight Number
- weight associated with matching the corresponding podAffinityTerm, in the range 1-100
VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm, VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermArgs
- Label
Selectors List<VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector> - A label query over a set of resources, in this case pods.
- Namespaces List<string>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- Label
Selectors []VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector - A label query over a set of resources, in this case pods.
- Namespaces []string
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector[] - A label query over a set of resources, in this case pods.
- namespaces string[]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label_
selectors Sequence[VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector] - A label query over a set of resources, in this case pods.
- namespaces Sequence[str]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology_
key str - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<Property Map> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelector, VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorArgs
- Match
Expressions List<VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression - A list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String,String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression[] - A list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Pod Anti Affinity Preferred During Scheduling Ignored During Execution Pod Affinity Term Label Selector Match Expression] - A list of label selector requirements. The requirements are ANDed.
- match_
labels Mapping[str, str] - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<Property Map> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpression, VirtualMachineAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermLabelSelectorMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values List<string>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values []string
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values string[]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values Sequence[str]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecution, VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionArgs
- Label
Selectors List<VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector> - A label query over a set of resources, in this case pods.
- Namespaces List<string>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- Label
Selectors []VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector - A label query over a set of resources, in this case pods.
- Namespaces []string
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- Topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector[] - A label query over a set of resources, in this case pods.
- namespaces string[]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key string - empty topology key is interpreted by the scheduler as 'all topologies'
- label_
selectors Sequence[VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector] - A label query over a set of resources, in this case pods.
- namespaces Sequence[str]
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology_
key str - empty topology key is interpreted by the scheduler as 'all topologies'
- label
Selectors List<Property Map> - A label query over a set of resources, in this case pods.
- namespaces List<String>
- namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means 'this pod's namespace'
- topology
Key String - empty topology key is interpreted by the scheduler as 'all topologies'
VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelector, VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorArgs
- Match
Expressions List<VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Match
Expressions []VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression - A list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String,String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression[] - A list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Affinity Pod Anti Affinity Required During Scheduling Ignored During Execution Label Selector Match Expression] - A list of label selector requirements. The requirements are ANDed.
- match_
labels Mapping[str, str] - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<Property Map> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpression, VirtualMachineAffinityPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionLabelSelectorMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values List<string>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values []string
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values string[]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values Sequence[str]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
VirtualMachineCpu, VirtualMachineCpuArgs
VirtualMachineDataVolumeTemplate, VirtualMachineDataVolumeTemplateArgs
- Metadata
Virtual
Machine Data Volume Template Metadata - Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- Spec
Virtual
Machine Data Volume Template Spec - DataVolumeSpec defines our specification for a DataVolume type
- Metadata
Virtual
Machine Data Volume Template Metadata - Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- Spec
Virtual
Machine Data Volume Template Spec - DataVolumeSpec defines our specification for a DataVolume type
- metadata
Virtual
Machine Data Volume Template Metadata - Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
Virtual
Machine Data Volume Template Spec - DataVolumeSpec defines our specification for a DataVolume type
- metadata
Virtual
Machine Data Volume Template Metadata - Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
Virtual
Machine Data Volume Template Spec - DataVolumeSpec defines our specification for a DataVolume type
- metadata
Virtual
Machine Data Volume Template Metadata - Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
Virtual
Machine Data Volume Template Spec - DataVolumeSpec defines our specification for a DataVolume type
- metadata Property Map
- Standard DataVolume's metadata. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec Property Map
- DataVolumeSpec defines our specification for a DataVolume type
VirtualMachineDataVolumeTemplateMetadata, VirtualMachineDataVolumeTemplateMetadataArgs
- Annotations Dictionary<string, string>
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- Generation double
- A sequence number representing a specific generation of the desired state.
- Labels Dictionary<string, string>
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- Name string
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- Namespace string
- Namespace defines the space within which name of the DataVolume must be unique.
- Resource
Version string - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- Self
Link string - A URL representing this DataVolume.
- Uid string
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- Annotations map[string]string
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- Generation float64
- A sequence number representing a specific generation of the desired state.
- Labels map[string]string
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- Name string
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- Namespace string
- Namespace defines the space within which name of the DataVolume must be unique.
- Resource
Version string - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- Self
Link string - A URL representing this DataVolume.
- Uid string
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations Map<String,String>
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- generation Double
- A sequence number representing a specific generation of the desired state.
- labels Map<String,String>
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- name String
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- namespace String
- Namespace defines the space within which name of the DataVolume must be unique.
- resource
Version String - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- self
Link String - A URL representing this DataVolume.
- uid String
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations {[key: string]: string}
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- generation number
- A sequence number representing a specific generation of the desired state.
- labels {[key: string]: string}
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- name string
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- namespace string
- Namespace defines the space within which name of the DataVolume must be unique.
- resource
Version string - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- self
Link string - A URL representing this DataVolume.
- uid string
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations Mapping[str, str]
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- generation float
- A sequence number representing a specific generation of the desired state.
- labels Mapping[str, str]
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- name str
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- namespace str
- Namespace defines the space within which name of the DataVolume must be unique.
- resource_
version str - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- self_
link str - A URL representing this DataVolume.
- uid str
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
- annotations Map<String>
- An unstructured key value map stored with the DataVolume that may be used to store arbitrary metadata. More info: http://kubernetes.io/docs/user-guide/annotations
- generation Number
- A sequence number representing a specific generation of the desired state.
- labels Map<String>
- Map of string keys and values that can be used to organize and categorize (scope and select) the DataVolume. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
- name String
- Name of the DataVolume, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
- namespace String
- Namespace defines the space within which name of the DataVolume must be unique.
- resource
Version String - An opaque value that represents the internal version of this DataVolume that can be used by clients to determine when DataVolume has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
- self
Link String - A URL representing this DataVolume.
- uid String
- The unique in time and space value for this DataVolume. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
VirtualMachineDataVolumeTemplateSpec, VirtualMachineDataVolumeTemplateSpecArgs
- Pvc
Virtual
Machine Data Volume Template Spec Pvc - PVC is a pointer to the PVC Spec we want to use.
- Content
Type string - ContentType options: "kubevirt", "archive".
- Source
Virtual
Machine Data Volume Template Spec Source - Source is the src of the data for the requested DataVolume.
- Pvc
Virtual
Machine Data Volume Template Spec Pvc - PVC is a pointer to the PVC Spec we want to use.
- Content
Type string - ContentType options: "kubevirt", "archive".
- Source
Virtual
Machine Data Volume Template Spec Source - Source is the src of the data for the requested DataVolume.
- pvc
Virtual
Machine Data Volume Template Spec Pvc - PVC is a pointer to the PVC Spec we want to use.
- content
Type String - ContentType options: "kubevirt", "archive".
- source
Virtual
Machine Data Volume Template Spec Source - Source is the src of the data for the requested DataVolume.
- pvc
Virtual
Machine Data Volume Template Spec Pvc - PVC is a pointer to the PVC Spec we want to use.
- content
Type string - ContentType options: "kubevirt", "archive".
- source
Virtual
Machine Data Volume Template Spec Source - Source is the src of the data for the requested DataVolume.
- pvc
Virtual
Machine Data Volume Template Spec Pvc - PVC is a pointer to the PVC Spec we want to use.
- content_
type str - ContentType options: "kubevirt", "archive".
- source
Virtual
Machine Data Volume Template Spec Source - Source is the src of the data for the requested DataVolume.
- pvc Property Map
- PVC is a pointer to the PVC Spec we want to use.
- content
Type String - ContentType options: "kubevirt", "archive".
- source Property Map
- Source is the src of the data for the requested DataVolume.
VirtualMachineDataVolumeTemplateSpecPvc, VirtualMachineDataVolumeTemplateSpecPvcArgs
- Access
Modes List<string> - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- Resources
Virtual
Machine Data Volume Template Spec Pvc Resources - A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- Selector
Virtual
Machine Data Volume Template Spec Pvc Selector - A label query over volumes to consider for binding.
- Storage
Class stringName - Name of the storage class requested by the claim
- Volume
Mode string - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- Volume
Name string - The binding reference to the PersistentVolume backing this claim.
- Access
Modes []string - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- Resources
Virtual
Machine Data Volume Template Spec Pvc Resources - A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- Selector
Virtual
Machine Data Volume Template Spec Pvc Selector - A label query over volumes to consider for binding.
- Storage
Class stringName - Name of the storage class requested by the claim
- Volume
Mode string - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- Volume
Name string - The binding reference to the PersistentVolume backing this claim.
- access
Modes List<String> - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- resources
Virtual
Machine Data Volume Template Spec Pvc Resources - A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- selector
Virtual
Machine Data Volume Template Spec Pvc Selector - A label query over volumes to consider for binding.
- storage
Class StringName - Name of the storage class requested by the claim
- volume
Mode String - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volume
Name String - The binding reference to the PersistentVolume backing this claim.
- access
Modes string[] - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- resources
Virtual
Machine Data Volume Template Spec Pvc Resources - A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- selector
Virtual
Machine Data Volume Template Spec Pvc Selector - A label query over volumes to consider for binding.
- storage
Class stringName - Name of the storage class requested by the claim
- volume
Mode string - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volume
Name string - The binding reference to the PersistentVolume backing this claim.
- access_
modes Sequence[str] - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- resources
Virtual
Machine Data Volume Template Spec Pvc Resources - A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- selector
Virtual
Machine Data Volume Template Spec Pvc Selector - A label query over volumes to consider for binding.
- storage_
class_ strname - Name of the storage class requested by the claim
- volume_
mode str - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volume_
name str - The binding reference to the PersistentVolume backing this claim.
- access
Modes List<String> - A set of the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1
- resources Property Map
- A list of the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources
- selector Property Map
- A label query over volumes to consider for binding.
- storage
Class StringName - Name of the storage class requested by the claim
- volume
Mode String - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volume
Name String - The binding reference to the PersistentVolume backing this claim.
VirtualMachineDataVolumeTemplateSpecPvcResources, VirtualMachineDataVolumeTemplateSpecPvcResourcesArgs
- Limits Dictionary<string, string>
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- Requests Dictionary<string, string>
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- Limits map[string]string
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- Requests map[string]string
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- limits Map<String,String>
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- requests Map<String,String>
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- limits {[key: string]: string}
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- requests {[key: string]: string}
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- limits Mapping[str, str]
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- requests Mapping[str, str]
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- limits Map<String>
- Map describing the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/
- requests Map<String>
- Map describing the minimum amount of compute resources required. If this is omitted for a container, it defaults to
limits
if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/
VirtualMachineDataVolumeTemplateSpecPvcSelector, VirtualMachineDataVolumeTemplateSpecPvcSelectorArgs
- Match
Expressions List<VirtualMachine Data Volume Template Spec Pvc Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- Match
Labels Dictionary<string, string> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- Match
Expressions []VirtualMachine Data Volume Template Spec Pvc Selector Match Expression - A list of label selector requirements. The requirements are ANDed.
- Match
Labels map[string]string - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<VirtualMachine Data Volume Template Spec Pvc Selector Match Expression> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String,String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions VirtualMachine Data Volume Template Spec Pvc Selector Match Expression[] - A list of label selector requirements. The requirements are ANDed.
- match
Labels {[key: string]: string} - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match_
expressions Sequence[VirtualMachine Data Volume Template Spec Pvc Selector Match Expression] - A list of label selector requirements. The requirements are ANDed.
- match_
labels Mapping[str, str] - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- match
Expressions List<Property Map> - A list of label selector requirements. The requirements are ANDed.
- match
Labels Map<String> - A map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of
match_expressions
, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpression, VirtualMachineDataVolumeTemplateSpecPvcSelectorMatchExpressionArgs
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values List<string>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- Key string
- The label key that the selector applies to.
- Operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - Values []string
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key string
- The label key that the selector applies to.
- operator string
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values string[]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key str
- The label key that the selector applies to.
- operator str
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values Sequence[str]
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
- key String
- The label key that the selector applies to.
- operator String
- A key's relationship to a set of values. Valid operators ard
In
,NotIn
,Exists
andDoesNotExist
. - values List<String>
- An array of string values. If the operator is
In
orNotIn
, the values array must be non-empty. If the operator isExists
orDoesNotExist
, the values array must be empty. This array is replaced during a strategic merge patch.
VirtualMachineDataVolumeTemplateSpecSource, VirtualMachineDataVolumeTemplateSpecSourceArgs
- Blank
Virtual
Machine Data Volume Template Spec Source Blank - DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- Http
Virtual
Machine Data Volume Template Spec Source Http - DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- Pvc
Virtual
Machine Data Volume Template Spec Source Pvc - DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- Registry
Virtual
Machine Data Volume Template Spec Source Registry - DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
- Blank
Virtual
Machine Data Volume Template Spec Source Blank - DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- Http
Virtual
Machine Data Volume Template Spec Source Http - DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- Pvc
Virtual
Machine Data Volume Template Spec Source Pvc - DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- Registry
Virtual
Machine Data Volume Template Spec Source Registry - DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
- blank
Virtual
Machine Data Volume Template Spec Source Blank - DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- http
Virtual
Machine Data Volume Template Spec Source Http - DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- pvc
Virtual
Machine Data Volume Template Spec Source Pvc - DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- registry
Virtual
Machine Data Volume Template Spec Source Registry - DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
- blank
Virtual
Machine Data Volume Template Spec Source Blank - DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- http
Virtual
Machine Data Volume Template Spec Source Http - DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- pvc
Virtual
Machine Data Volume Template Spec Source Pvc - DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- registry
Virtual
Machine Data Volume Template Spec Source Registry - DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
- blank
Virtual
Machine Data Volume Template Spec Source Blank - DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- http
Virtual
Machine Data Volume Template Spec Source Http - DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- pvc
Virtual
Machine Data Volume Template Spec Source Pvc - DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- registry
Virtual
Machine Data Volume Template Spec Source Registry - DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
- blank Property Map
- DataVolumeSourceBlank provides the parameters to create a Data Volume from an empty source.
- http Property Map
- DataVolumeSourceHTTP provides the parameters to create a Data Volume from an HTTP source.
- pvc Property Map
- DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC.
- registry Property Map
- DataVolumeSourceRegistry provides the parameters to create a Data Volume from an existing PVC.
VirtualMachineDataVolumeTemplateSpecSourceHttp, VirtualMachineDataVolumeTemplateSpecSourceHttpArgs
- Cert
Config stringMap - Certconfigmap provides a reference to the Registry certs.
- Secret
Ref string - Secret_ref provides the secret reference needed to access the HTTP source.
- Url string
- url is the URL of the http source.
- Cert
Config stringMap - Certconfigmap provides a reference to the Registry certs.
- Secret
Ref string - Secret_ref provides the secret reference needed to access the HTTP source.
- Url string
- url is the URL of the http source.
- cert
Config StringMap - Certconfigmap provides a reference to the Registry certs.
- secret
Ref String - Secret_ref provides the secret reference needed to access the HTTP source.
- url String
- url is the URL of the http source.
- cert
Config stringMap - Certconfigmap provides a reference to the Registry certs.
- secret
Ref string - Secret_ref provides the secret reference needed to access the HTTP source.
- url string
- url is the URL of the http source.
- cert_
config_ strmap - Certconfigmap provides a reference to the Registry certs.
- secret_
ref str - Secret_ref provides the secret reference needed to access the HTTP source.
- url str
- url is the URL of the http source.
- cert
Config StringMap - Certconfigmap provides a reference to the Registry certs.
- secret
Ref String - Secret_ref provides the secret reference needed to access the HTTP source.
- url String
- url is the URL of the http source.
VirtualMachineDataVolumeTemplateSpecSourcePvc, VirtualMachineDataVolumeTemplateSpecSourcePvcArgs
VirtualMachineDataVolumeTemplateSpecSourceRegistry, VirtualMachineDataVolumeTemplateSpecSourceRegistryArgs
- Image
Url string - The registry URL of the image to download.
- Image
Url string - The registry URL of the image to download.
- image
Url String - The registry URL of the image to download.
- image
Url string - The registry URL of the image to download.
- image_
url str - The registry URL of the image to download.
- image
Url String - The registry URL of the image to download.
VirtualMachineDisk, VirtualMachineDiskArgs
- Disk
Devices List<VirtualMachine Disk Disk Device> - DiskDevice specifies as which device the disk should be added to the guest.
- Name string
- Name is the device name
- Serial string
- Serial provides the ability to specify a serial number for the disk device.
- Disk
Devices []VirtualMachine Disk Disk Device - DiskDevice specifies as which device the disk should be added to the guest.
- Name string
- Name is the device name
- Serial string
- Serial provides the ability to specify a serial number for the disk device.
- disk
Devices List<VirtualMachine Disk Disk Device> - DiskDevice specifies as which device the disk should be added to the guest.
- name String
- Name is the device name
- serial String
- Serial provides the ability to specify a serial number for the disk device.
- disk
Devices VirtualMachine Disk Disk Device[] - DiskDevice specifies as which device the disk should be added to the guest.
- name string
- Name is the device name
- serial string
- Serial provides the ability to specify a serial number for the disk device.
- disk_
devices Sequence[VirtualMachine Disk Disk Device] - DiskDevice specifies as which device the disk should be added to the guest.
- name str
- Name is the device name
- serial str
- Serial provides the ability to specify a serial number for the disk device.
- disk
Devices List<Property Map> - DiskDevice specifies as which device the disk should be added to the guest.
- name String
- Name is the device name
- serial String
- Serial provides the ability to specify a serial number for the disk device.
VirtualMachineDiskDiskDevice, VirtualMachineDiskDiskDeviceArgs
- Disks
List<Virtual
Machine Disk Disk Device Disk> - Attach a volume as a disk to the vmi.
- Disks
[]Virtual
Machine Disk Disk Device Disk - Attach a volume as a disk to the vmi.
- disks
List<Virtual
Machine Disk Disk Device Disk> - Attach a volume as a disk to the vmi.
- disks
Virtual
Machine Disk Disk Device Disk[] - Attach a volume as a disk to the vmi.
- disks
Sequence[Virtual
Machine Disk Disk Device Disk] - Attach a volume as a disk to the vmi.
- disks List<Property Map>
- Attach a volume as a disk to the vmi.
VirtualMachineDiskDiskDeviceDisk, VirtualMachineDiskDiskDeviceDiskArgs
- Bus string
- Bus indicates the type of disk device to emulate.
- Pci
Address string - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- Read
Only bool - ReadOnly. Defaults to false.
- Bus string
- Bus indicates the type of disk device to emulate.
- Pci
Address string - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- Read
Only bool - ReadOnly. Defaults to false.
- bus String
- Bus indicates the type of disk device to emulate.
- pci
Address String - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- read
Only Boolean - ReadOnly. Defaults to false.
- bus string
- Bus indicates the type of disk device to emulate.
- pci
Address string - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- read
Only boolean - ReadOnly. Defaults to false.
- bus str
- Bus indicates the type of disk device to emulate.
- pci_
address str - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- read_
only bool - ReadOnly. Defaults to false.
- bus String
- Bus indicates the type of disk device to emulate.
- pci
Address String - If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10
- read
Only Boolean - ReadOnly. Defaults to false.
VirtualMachineInterface, VirtualMachineInterfaceArgs
- Interface
Binding stringMethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- Name string
- Logical name of the interface as well as a reference to the associated networks.
- Model string
- Represents the method which will be used to connect the interface to the guest.
- Interface
Binding stringMethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- Name string
- Logical name of the interface as well as a reference to the associated networks.
- Model string
- Represents the method which will be used to connect the interface to the guest.
- interface
Binding StringMethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- name String
- Logical name of the interface as well as a reference to the associated networks.
- model String
- Represents the method which will be used to connect the interface to the guest.
- interface
Binding stringMethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- name string
- Logical name of the interface as well as a reference to the associated networks.
- model string
- Represents the method which will be used to connect the interface to the guest.
- interface_
binding_ strmethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- name str
- Logical name of the interface as well as a reference to the associated networks.
- model str
- Represents the method which will be used to connect the interface to the guest.
- interface
Binding StringMethod - Represents the Interface model, One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
- name String
- Logical name of the interface as well as a reference to the associated networks.
- model String
- Represents the method which will be used to connect the interface to the guest.
VirtualMachineMemory, VirtualMachineMemoryArgs
VirtualMachineNetwork, VirtualMachineNetworkArgs
- Name string
- Network name.
- Network
Source VirtualMachine Network Network Source - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
- Name string
- Network name.
- Network
Source VirtualMachine Network Network Source - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
- name String
- Network name.
- network
Source VirtualMachine Network Network Source - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
- name string
- Network name.
- network
Source VirtualMachine Network Network Source - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
- name str
- Network name.
- network_
source VirtualMachine Network Network Source - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
- name String
- Network name.
- network
Source Property Map - NetworkSource represents the network type and the source interface that should be connected to the virtual machine.
VirtualMachineNetworkNetworkSource, VirtualMachineNetworkNetworkSourceArgs
- Multus
Virtual
Machine Network Network Source Multus - Multus network.
- Pod
Virtual
Machine Network Network Source Pod - Pod network.
- Multus
Virtual
Machine Network Network Source Multus - Multus network.
- Pod
Virtual
Machine Network Network Source Pod - Pod network.
- multus
Virtual
Machine Network Network Source Multus - Multus network.
- pod
Virtual
Machine Network Network Source Pod - Pod network.
- multus
Virtual
Machine Network Network Source Multus - Multus network.
- pod
Virtual
Machine Network Network Source Pod - Pod network.
- multus
Virtual
Machine Network Network Source Multus - Multus network.
- pod
Virtual
Machine Network Network Source Pod - Pod network.
- multus Property Map
- Multus network.
- pod Property Map
- Pod network.
VirtualMachineNetworkNetworkSourceMultus, VirtualMachineNetworkNetworkSourceMultusArgs
- Network
Name string - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- Default bool
- Select the default network and add it to the multus-cni.io/default-network annotation.
- Network
Name string - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- Default bool
- Select the default network and add it to the multus-cni.io/default-network annotation.
- network
Name String - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- default_ Boolean
- Select the default network and add it to the multus-cni.io/default-network annotation.
- network
Name string - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- default boolean
- Select the default network and add it to the multus-cni.io/default-network annotation.
- network_
name str - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- default bool
- Select the default network and add it to the multus-cni.io/default-network annotation.
- network
Name String - References to a NetworkAttachmentDefinition CRD object. Format: \n\n, \n\n/\n\n. If namespace is not specified, VMI namespace is assumed.
- default Boolean
- Select the default network and add it to the multus-cni.io/default-network annotation.
VirtualMachineNetworkNetworkSourcePod, VirtualMachineNetworkNetworkSourcePodArgs
- Vm
Network stringCidr - CIDR for vm network.
- Vm
Network stringCidr - CIDR for vm network.
- vm
Network StringCidr - CIDR for vm network.
- vm
Network stringCidr - CIDR for vm network.
- vm_
network_ strcidr - CIDR for vm network.
- vm
Network StringCidr - CIDR for vm network.
VirtualMachinePodDnsConfig, VirtualMachinePodDnsConfigArgs
- Nameservers List<string>
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- Options
List<Virtual
Machine Pod Dns Config Option> - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- Searches List<string>
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- Nameservers []string
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- Options
[]Virtual
Machine Pod Dns Config Option - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- Searches []string
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers List<String>
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
List<Virtual
Machine Pod Dns Config Option> - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches List<String>
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers string[]
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
Virtual
Machine Pod Dns Config Option[] - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches string[]
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers Sequence[str]
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options
Sequence[Virtual
Machine Pod Dns Config Option] - A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches Sequence[str]
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
- nameservers List<String>
- A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
- options List<Property Map>
- A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
- searches List<String>
- A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
VirtualMachinePodDnsConfigOption, VirtualMachinePodDnsConfigOptionArgs
VirtualMachineResources, VirtualMachineResourcesArgs
- Limits Dictionary<string, string>
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- Over
Commit boolGuest Overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- Requests Dictionary<string, string>
- Requests is a description of the initial vmi resources.
- Limits map[string]string
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- Over
Commit boolGuest Overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- Requests map[string]string
- Requests is a description of the initial vmi resources.
- limits Map<String,String>
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- over
Commit BooleanGuest Overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- requests Map<String,String>
- Requests is a description of the initial vmi resources.
- limits {[key: string]: string}
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- over
Commit booleanGuest Overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- requests {[key: string]: string}
- Requests is a description of the initial vmi resources.
- limits Mapping[str, str]
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- over_
commit_ boolguest_ overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- requests Mapping[str, str]
- Requests is a description of the initial vmi resources.
- limits Map<String>
- Requests is the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu"
- over
Commit BooleanGuest Overhead - Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.
- requests Map<String>
- Requests is a description of the initial vmi resources.
VirtualMachineStatus, VirtualMachineStatusArgs
- Conditions
List<Virtual
Machine Status Condition> - Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- State
Change List<VirtualRequests Machine Status State Change Request> - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- Created bool
- Created indicates if the virtual machine is created in the cluster.
- Ready bool
- Ready indicates if the virtual machine is running and ready.
- Conditions
[]Virtual
Machine Status Condition - Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- State
Change []VirtualRequests Machine Status State Change Request - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- Created bool
- Created indicates if the virtual machine is created in the cluster.
- Ready bool
- Ready indicates if the virtual machine is running and ready.
- conditions
List<Virtual
Machine Status Condition> - Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- state
Change List<VirtualRequests Machine Status State Change Request> - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- created Boolean
- Created indicates if the virtual machine is created in the cluster.
- ready Boolean
- Ready indicates if the virtual machine is running and ready.
- conditions
Virtual
Machine Status Condition[] - Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- state
Change VirtualRequests Machine Status State Change Request[] - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- created boolean
- Created indicates if the virtual machine is created in the cluster.
- ready boolean
- Ready indicates if the virtual machine is running and ready.
- conditions
Sequence[Virtual
Machine Status Condition] - Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- state_
change_ Sequence[Virtualrequests Machine Status State Change Request] - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- created bool
- Created indicates if the virtual machine is created in the cluster.
- ready bool
- Ready indicates if the virtual machine is running and ready.
- conditions List<Property Map>
- Hold the state information of the VirtualMachine and its VirtualMachineInstance.
- state
Change List<Property Map>Requests - StateChangeRequests indicates a list of actions that should be taken on a VMI.
- created Boolean
- Created indicates if the virtual machine is created in the cluster.
- ready Boolean
- Ready indicates if the virtual machine is running and ready.
VirtualMachineStatusCondition, VirtualMachineStatusConditionArgs
VirtualMachineStatusStateChangeRequest, VirtualMachineStatusStateChangeRequestArgs
VirtualMachineTimeouts, VirtualMachineTimeoutsArgs
VirtualMachineToleration, VirtualMachineTolerationArgs
- Effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- Toleration
Seconds string - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- Effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- Toleration
Seconds string - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect String
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key String
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator String
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration
Seconds String - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value String
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect string
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key string
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator string
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration
Seconds string - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value string
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect str
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key str
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator str
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration_
seconds str - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value str
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- effect String
- Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- key String
- Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- operator String
- Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- toleration
Seconds String - TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- value String
- Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
VirtualMachineVolume, VirtualMachineVolumeArgs
- Name string
- Volume's name.
- Volume
Source VirtualMachine Volume Volume Source - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
- Name string
- Volume's name.
- Volume
Source VirtualMachine Volume Volume Source - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
- name String
- Volume's name.
- volume
Source VirtualMachine Volume Volume Source - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
- name string
- Volume's name.
- volume
Source VirtualMachine Volume Volume Source - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
- name str
- Volume's name.
- volume_
source VirtualMachine Volume Volume Source - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
- name String
- Volume's name.
- volume
Source Property Map - VolumeSource represents the location and type of the mounted volume. Defaults to Disk, if no type is specified.
VirtualMachineVolumeVolumeSource, VirtualMachineVolumeVolumeSourceArgs
- Cloud
Init VirtualConfig Drive Machine Volume Volume Source Cloud Init Config Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- Cloud
Init List<VirtualNo Clouds Machine Volume Volume Source Cloud Init No Cloud> - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - Config
Map VirtualMachine Volume Volume Source Config Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- Container
Disks List<VirtualMachine Volume Volume Source Container Disk> - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- Data
Volume VirtualMachine Volume Volume Source Data Volume - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- Empty
Disk VirtualMachine Volume Volume Source Empty Disk - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- Ephemeral
Virtual
Machine Volume Volume Source Ephemeral - EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- Host
Disk VirtualMachine Volume Volume Source Host Disk - HostDisk represents a disk created on the host.
- Persistent
Volume VirtualClaim Machine Volume Volume Source Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- Service
Account VirtualMachine Volume Volume Source Service Account - ServiceAccountVolumeSource represents a reference to a service account.
- Cloud
Init VirtualConfig Drive Machine Volume Volume Source Cloud Init Config Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- Cloud
Init []VirtualNo Clouds Machine Volume Volume Source Cloud Init No Cloud - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - Config
Map VirtualMachine Volume Volume Source Config Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- Container
Disks []VirtualMachine Volume Volume Source Container Disk - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- Data
Volume VirtualMachine Volume Volume Source Data Volume - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- Empty
Disk VirtualMachine Volume Volume Source Empty Disk - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- Ephemeral
Virtual
Machine Volume Volume Source Ephemeral - EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- Host
Disk VirtualMachine Volume Volume Source Host Disk - HostDisk represents a disk created on the host.
- Persistent
Volume VirtualClaim Machine Volume Volume Source Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- Service
Account VirtualMachine Volume Volume Source Service Account - ServiceAccountVolumeSource represents a reference to a service account.
- cloud
Init VirtualConfig Drive Machine Volume Volume Source Cloud Init Config Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- cloud
Init List<VirtualNo Clouds Machine Volume Volume Source Cloud Init No Cloud> - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - config
Map VirtualMachine Volume Volume Source Config Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- container
Disks List<VirtualMachine Volume Volume Source Container Disk> - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- data
Volume VirtualMachine Volume Volume Source Data Volume - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- empty
Disk VirtualMachine Volume Volume Source Empty Disk - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- ephemeral
Virtual
Machine Volume Volume Source Ephemeral - EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- host
Disk VirtualMachine Volume Volume Source Host Disk - HostDisk represents a disk created on the host.
- persistent
Volume VirtualClaim Machine Volume Volume Source Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- service
Account VirtualMachine Volume Volume Source Service Account - ServiceAccountVolumeSource represents a reference to a service account.
- cloud
Init VirtualConfig Drive Machine Volume Volume Source Cloud Init Config Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- cloud
Init VirtualNo Clouds Machine Volume Volume Source Cloud Init No Cloud[] - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - config
Map VirtualMachine Volume Volume Source Config Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- container
Disks VirtualMachine Volume Volume Source Container Disk[] - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- data
Volume VirtualMachine Volume Volume Source Data Volume - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- empty
Disk VirtualMachine Volume Volume Source Empty Disk - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- ephemeral
Virtual
Machine Volume Volume Source Ephemeral - EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- host
Disk VirtualMachine Volume Volume Source Host Disk - HostDisk represents a disk created on the host.
- persistent
Volume VirtualClaim Machine Volume Volume Source Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- service
Account VirtualMachine Volume Volume Source Service Account - ServiceAccountVolumeSource represents a reference to a service account.
- cloud_
init_ Virtualconfig_ drive Machine Volume Volume Source Cloud Init Config Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- cloud_
init_ Sequence[Virtualno_ clouds Machine Volume Volume Source Cloud Init No Cloud] - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - config_
map VirtualMachine Volume Volume Source Config Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- container_
disks Sequence[VirtualMachine Volume Volume Source Container Disk] - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- data_
volume VirtualMachine Volume Volume Source Data Volume - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- empty_
disk VirtualMachine Volume Volume Source Empty Disk - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- ephemeral
Virtual
Machine Volume Volume Source Ephemeral - EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- host_
disk VirtualMachine Volume Volume Source Host Disk - HostDisk represents a disk created on the host.
- persistent_
volume_ Virtualclaim Machine Volume Volume Source Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- service_
account VirtualMachine Volume Volume Source Service Account - ServiceAccountVolumeSource represents a reference to a service account.
- cloud
Init Property MapConfig Drive - CloudInitConfigDrive represents a cloud-init Config Drive user-data source.
- cloud
Init List<Property Map>No Clouds - Used to specify a cloud-init
noCloud
image. The image is expected to contain a disk image in a supported format. The disk image is extracted from the cloud-initnoCloud
image and used as the disk for the VM - config
Map Property Map - ConfigMapVolumeSource adapts a ConfigMap into a volume.
- container
Disks List<Property Map> - A container disk is a disk that is backed by a container image. The container image is expected to contain a disk image in a supported format. The disk image is extracted from the container image and used as the disk for the VM.
- data
Volume Property Map - DataVolume represents the dynamic creation a PVC for this volume as well as the process of populating that PVC with a disk image.
- empty
Disk Property Map - EmptyDisk represents a temporary disk which shares the VM's lifecycle.
- ephemeral Property Map
- EphemeralVolumeSource represents a volume that is populated with the contents of a pod. Ephemeral volumes do not support ownership management or SELinux relabeling.
- host
Disk Property Map - HostDisk represents a disk created on the host.
- persistent
Volume Property MapClaim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- service
Account Property Map - ServiceAccountVolumeSource represents a reference to a service account.
VirtualMachineVolumeVolumeSourceCloudInitConfigDrive, VirtualMachineVolumeVolumeSourceCloudInitConfigDriveArgs
- Network
Data string - NetworkData contains config drive inline cloud-init networkdata.
- Network
Data stringBase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- Network
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive Network Data Secret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- User
Data string - UserData contains config drive inline cloud-init userdata.
- User
Data stringBase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- User
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive User Data Secret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
- Network
Data string - NetworkData contains config drive inline cloud-init networkdata.
- Network
Data stringBase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- Network
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive Network Data Secret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- User
Data string - UserData contains config drive inline cloud-init userdata.
- User
Data stringBase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- User
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive User Data Secret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
- network
Data String - NetworkData contains config drive inline cloud-init networkdata.
- network
Data StringBase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- network
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive Network Data Secret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- user
Data String - UserData contains config drive inline cloud-init userdata.
- user
Data StringBase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- user
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive User Data Secret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
- network
Data string - NetworkData contains config drive inline cloud-init networkdata.
- network
Data stringBase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- network
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive Network Data Secret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- user
Data string - UserData contains config drive inline cloud-init userdata.
- user
Data stringBase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- user
Data VirtualSecret Ref Machine Volume Volume Source Cloud Init Config Drive User Data Secret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
- network_
data str - NetworkData contains config drive inline cloud-init networkdata.
- network_
data_ strbase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- network_
data_ Virtualsecret_ ref Machine Volume Volume Source Cloud Init Config Drive Network Data Secret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- user_
data str - UserData contains config drive inline cloud-init userdata.
- user_
data_ strbase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- user_
data_ Virtualsecret_ ref Machine Volume Volume Source Cloud Init Config Drive User Data Secret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
- network
Data String - NetworkData contains config drive inline cloud-init networkdata.
- network
Data StringBase64 - NetworkDataBase64 contains config drive cloud-init networkdata as a base64 encoded string.
- network
Data Property MapSecret Ref - NetworkDataSecretRef references a k8s secret that contains config drive networkdata.
- user
Data String - UserData contains config drive inline cloud-init userdata.
- user
Data StringBase64 - UserDataBase64 contains config drive cloud-init userdata as a base64 encoded string.
- user
Data Property MapSecret Ref - UserDataSecretRef references a k8s secret that contains config drive userdata.
VirtualMachineVolumeVolumeSourceCloudInitConfigDriveNetworkDataSecretRef, VirtualMachineVolumeVolumeSourceCloudInitConfigDriveNetworkDataSecretRefArgs
- Name string
- Name of the referent.
- Name string
- Name of the referent.
- name String
- Name of the referent.
- name string
- Name of the referent.
- name str
- Name of the referent.
- name String
- Name of the referent.
VirtualMachineVolumeVolumeSourceCloudInitConfigDriveUserDataSecretRef, VirtualMachineVolumeVolumeSourceCloudInitConfigDriveUserDataSecretRefArgs
- Name string
- Name of the referent.
- Name string
- Name of the referent.
- name String
- Name of the referent.
- name string
- Name of the referent.
- name str
- Name of the referent.
- name String
- Name of the referent.
VirtualMachineVolumeVolumeSourceCloudInitNoCloud, VirtualMachineVolumeVolumeSourceCloudInitNoCloudArgs
- User
Data string - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
- User
Data string - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
- user
Data String - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
- user
Data string - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
- user_
data str - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
- user
Data String - The user data to use for the cloud-init no cloud disk. This can be a local file path, a remote URL, or a registry URL.
VirtualMachineVolumeVolumeSourceConfigMap, VirtualMachineVolumeVolumeSourceConfigMapArgs
- Default
Mode double - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
List<Virtual
Machine Volume Volume Source Config Map Item> - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- Default
Mode float64 - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Items
[]Virtual
Machine Volume Volume Source Config Map Item - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- default
Mode Double - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
List<Virtual
Machine Volume Volume Source Config Map Item> - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- default
Mode number - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
Virtual
Machine Volume Volume Source Config Map Item[] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- default_
mode float - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
Sequence[Virtual
Machine Volume Volume Source Config Map Item] - If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- default
Mode Number - Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items List<Property Map>
- If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
VirtualMachineVolumeVolumeSourceConfigMapItem, VirtualMachineVolumeVolumeSourceConfigMapItemArgs
- Key string
- Key string
- key String
- key string
- key str
- key String
VirtualMachineVolumeVolumeSourceContainerDisk, VirtualMachineVolumeVolumeSourceContainerDiskArgs
- Image
Url string - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
- Image
Url string - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
- image
Url String - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
- image
Url string - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
- image_
url str - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
- image
Url String - The URL of the container image to use as the disk. This can be a local file path, a remote URL, or a registry URL.
VirtualMachineVolumeVolumeSourceDataVolume, VirtualMachineVolumeVolumeSourceDataVolumeArgs
- Name string
- Name represents the name of the DataVolume in the same namespace.
- Name string
- Name represents the name of the DataVolume in the same namespace.
- name String
- Name represents the name of the DataVolume in the same namespace.
- name string
- Name represents the name of the DataVolume in the same namespace.
- name str
- Name represents the name of the DataVolume in the same namespace.
- name String
- Name represents the name of the DataVolume in the same namespace.
VirtualMachineVolumeVolumeSourceEmptyDisk, VirtualMachineVolumeVolumeSourceEmptyDiskArgs
- Capacity string
- Capacity of the sparse disk.
- Capacity string
- Capacity of the sparse disk.
- capacity String
- Capacity of the sparse disk.
- capacity string
- Capacity of the sparse disk.
- capacity str
- Capacity of the sparse disk.
- capacity String
- Capacity of the sparse disk.
VirtualMachineVolumeVolumeSourceEphemeral, VirtualMachineVolumeVolumeSourceEphemeralArgs
- Persistent
Volume VirtualClaim Machine Volume Volume Source Ephemeral Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- Persistent
Volume VirtualClaim Machine Volume Volume Source Ephemeral Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- persistent
Volume VirtualClaim Machine Volume Volume Source Ephemeral Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- persistent
Volume VirtualClaim Machine Volume Volume Source Ephemeral Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- persistent_
volume_ Virtualclaim Machine Volume Volume Source Ephemeral Persistent Volume Claim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
- persistent
Volume Property MapClaim - PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
VirtualMachineVolumeVolumeSourceEphemeralPersistentVolumeClaim, VirtualMachineVolumeVolumeSourceEphemeralPersistentVolumeClaimArgs
- claim_
name str - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- read_
only bool - Will force the ReadOnly setting in VolumeMounts. Default false.
VirtualMachineVolumeVolumeSourceHostDisk, VirtualMachineVolumeVolumeSourceHostDiskArgs
VirtualMachineVolumeVolumeSourcePersistentVolumeClaim, VirtualMachineVolumeVolumeSourcePersistentVolumeClaimArgs
- claim_
name str - ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- read_
only bool - Will force the ReadOnly setting in VolumeMounts. Default false.
VirtualMachineVolumeVolumeSourceServiceAccount, VirtualMachineVolumeVolumeSourceServiceAccountArgs
- Service
Account stringName - Name of the service account in the pod's namespace to use.
- Service
Account stringName - Name of the service account in the pod's namespace to use.
- service
Account StringName - Name of the service account in the pod's namespace to use.
- service
Account stringName - Name of the service account in the pod's namespace to use.
- service_
account_ strname - Name of the service account in the pod's namespace to use.
- service
Account StringName - Name of the service account in the pod's namespace to use.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.