published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
Deploy one or more VMs from a Template. Number of VMs to be deployed and their corresponding VM configuration overrides can be provided.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const deploy_temp = new nutanix.DeployTemplatesV2("deploy-temp", {
extId: "ab520e1d-4950-1db1-917f-a9e2ea35b8e3",
numberOfVms: 1,
clusterReference: "0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b",
overrideVmConfigMaps: [{
name: "example-tf-temp",
memorySizeBytes: 4294967296,
numSockets: 2,
numCoresPerSocket: 1,
numThreadsPerCore: 1,
}],
});
import pulumi
import pulumi_nutanix as nutanix
deploy_temp = nutanix.DeployTemplatesV2("deploy-temp",
ext_id="ab520e1d-4950-1db1-917f-a9e2ea35b8e3",
number_of_vms=1,
cluster_reference="0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b",
override_vm_config_maps=[{
"name": "example-tf-temp",
"memory_size_bytes": 4294967296,
"num_sockets": 2,
"num_cores_per_socket": 1,
"num_threads_per_core": 1,
}])
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.NewDeployTemplatesV2(ctx, "deploy-temp", &nutanix.DeployTemplatesV2Args{
ExtId: pulumi.String("ab520e1d-4950-1db1-917f-a9e2ea35b8e3"),
NumberOfVms: pulumi.Int(1),
ClusterReference: pulumi.String("0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b"),
OverrideVmConfigMaps: nutanix.DeployTemplatesV2OverrideVmConfigMapArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapArgs{
Name: pulumi.String("example-tf-temp"),
MemorySizeBytes: pulumi.Int(4294967296),
NumSockets: pulumi.Int(2),
NumCoresPerSocket: pulumi.Int(1),
NumThreadsPerCore: pulumi.Int(1),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
var deploy_temp = new Nutanix.Index.DeployTemplatesV2("deploy-temp", new()
{
ExtId = "ab520e1d-4950-1db1-917f-a9e2ea35b8e3",
NumberOfVms = 1,
ClusterReference = "0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b",
OverrideVmConfigMaps = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapArgs
{
Name = "example-tf-temp",
MemorySizeBytes = 4294967296,
NumSockets = 2,
NumCoresPerSocket = 1,
NumThreadsPerCore = 1,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.DeployTemplatesV2;
import com.pulumi.nutanix.DeployTemplatesV2Args;
import com.pulumi.nutanix.inputs.DeployTemplatesV2OverrideVmConfigMapArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var deploy_temp = new DeployTemplatesV2("deploy-temp", DeployTemplatesV2Args.builder()
.extId("ab520e1d-4950-1db1-917f-a9e2ea35b8e3")
.numberOfVms(1)
.clusterReference("0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b")
.overrideVmConfigMaps(DeployTemplatesV2OverrideVmConfigMapArgs.builder()
.name("example-tf-temp")
.memorySizeBytes(4294967296)
.numSockets(2)
.numCoresPerSocket(1)
.numThreadsPerCore(1)
.build())
.build());
}
}
resources:
deploy-temp:
type: nutanix:DeployTemplatesV2
properties:
extId: ab520e1d-4950-1db1-917f-a9e2ea35b8e3
numberOfVms: 1
clusterReference: 0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b
overrideVmConfigMaps:
- name: example-tf-temp
memorySizeBytes: 4.294967296e+09
numSockets: 2
numCoresPerSocket: 1
numThreadsPerCore: 1
Create DeployTemplatesV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeployTemplatesV2(name: string, args: DeployTemplatesV2Args, opts?: CustomResourceOptions);@overload
def DeployTemplatesV2(resource_name: str,
args: DeployTemplatesV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DeployTemplatesV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_reference: Optional[str] = None,
ext_id: Optional[str] = None,
number_of_vms: Optional[int] = None,
override_vm_config_maps: Optional[Sequence[DeployTemplatesV2OverrideVmConfigMapArgs]] = None,
version_id: Optional[str] = None)func NewDeployTemplatesV2(ctx *Context, name string, args DeployTemplatesV2Args, opts ...ResourceOption) (*DeployTemplatesV2, error)public DeployTemplatesV2(string name, DeployTemplatesV2Args args, CustomResourceOptions? opts = null)
public DeployTemplatesV2(String name, DeployTemplatesV2Args args)
public DeployTemplatesV2(String name, DeployTemplatesV2Args args, CustomResourceOptions options)
type: nutanix:DeployTemplatesV2
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 DeployTemplatesV2Args
- 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 DeployTemplatesV2Args
- 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 DeployTemplatesV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeployTemplatesV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeployTemplatesV2Args
- 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 deployTemplatesV2Resource = new Nutanix.DeployTemplatesV2("deployTemplatesV2Resource", new()
{
ClusterReference = "string",
ExtId = "string",
NumberOfVms = 0,
OverrideVmConfigMaps = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapArgs
{
GuestCustomizations = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationArgs
{
Configs = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigArgs
{
CloudInits = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitArgs
{
CloudInitScripts = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptArgs
{
CustomKeyValues = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueArgs
{
KeyValuePairs = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairArgs
{
Name = "string",
Values = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueArgs
{
Boolean = false,
Integer = 0,
IntegerLists = new[]
{
0,
},
MapOfStrings = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfStringArgs
{
Map =
{
{ "string", "string" },
},
},
},
Object =
{
{ "string", "string" },
},
String = "string",
StringLists = new[]
{
"string",
},
},
},
},
},
},
},
UserDatas = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserDataArgs
{
Value = "string",
},
},
},
},
DatasourceType = "string",
Metadata = "string",
},
},
Syspreps = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepArgs
{
InstallType = "string",
SysprepScripts = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptArgs
{
CustomKeyValues = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueArgs
{
KeyValuePairs = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairArgs
{
Name = "string",
Values = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueArgs
{
Boolean = false,
Integer = 0,
IntegerLists = new[]
{
0,
},
MapOfStrings = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfStringArgs
{
Map =
{
{ "string", "string" },
},
},
},
Object =
{
{ "string", "string" },
},
String = "string",
StringLists = new[]
{
"string",
},
},
},
},
},
},
},
UnattendXmls = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXmlArgs
{
Value = "string",
},
},
},
},
},
},
},
},
},
},
MemorySizeBytes = 0,
Name = "string",
Nics = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicArgs
{
BackingInfos = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicBackingInfoArgs
{
IsConnected = false,
MacAddress = "string",
Model = "string",
NumQueues = 0,
},
},
ExtId = "string",
NetworkInfos = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoArgs
{
Ipv4Configs = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigArgs
{
IpAddresses = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddressArgs
{
PrefixLength = 0,
Value = "string",
},
},
SecondaryIpAddressLists = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressListArgs
{
PrefixLength = 0,
Value = "string",
},
},
ShouldAssignIp = false,
},
},
Ipv4Infos = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoArgs
{
LearnedIpAddresses = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddressArgs
{
Value = "string",
PrefixLength = 0,
},
},
},
},
NetworkFunctionChains = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChainArgs
{
ExtId = "string",
},
},
NetworkFunctionNicType = "string",
NicType = "string",
ShouldAllowUnknownMacs = false,
Subnets = new[]
{
new Nutanix.Inputs.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnetArgs
{
ExtId = "string",
},
},
TrunkedVlans = new[]
{
0,
},
VlanMode = "string",
},
},
},
},
NumCoresPerSocket = 0,
NumSockets = 0,
NumThreadsPerCore = 0,
},
},
VersionId = "string",
});
example, err := nutanix.NewDeployTemplatesV2(ctx, "deployTemplatesV2Resource", &nutanix.DeployTemplatesV2Args{
ClusterReference: pulumi.String("string"),
ExtId: pulumi.String("string"),
NumberOfVms: pulumi.Int(0),
OverrideVmConfigMaps: nutanix.DeployTemplatesV2OverrideVmConfigMapArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapArgs{
GuestCustomizations: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationArgs{
Configs: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigArgs{
CloudInits: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitArgs{
CloudInitScripts: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptArgs{
CustomKeyValues: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueArgs{
KeyValuePairs: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairArgs{
Name: pulumi.String("string"),
Values: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueArgs{
Boolean: pulumi.Bool(false),
Integer: pulumi.Int(0),
IntegerLists: pulumi.IntArray{
pulumi.Int(0),
},
MapOfStrings: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfStringArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfStringArgs{
Map: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Object: pulumi.StringMap{
"string": pulumi.String("string"),
},
String: pulumi.String("string"),
StringLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
},
UserDatas: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserDataArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserDataArgs{
Value: pulumi.String("string"),
},
},
},
},
DatasourceType: pulumi.String("string"),
Metadata: pulumi.String("string"),
},
},
Syspreps: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepArgs{
InstallType: pulumi.String("string"),
SysprepScripts: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptArgs{
CustomKeyValues: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueArgs{
KeyValuePairs: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairArgs{
Name: pulumi.String("string"),
Values: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueArgs{
Boolean: pulumi.Bool(false),
Integer: pulumi.Int(0),
IntegerLists: pulumi.IntArray{
pulumi.Int(0),
},
MapOfStrings: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfStringArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfStringArgs{
Map: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Object: pulumi.StringMap{
"string": pulumi.String("string"),
},
String: pulumi.String("string"),
StringLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
},
UnattendXmls: nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXmlArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXmlArgs{
Value: pulumi.String("string"),
},
},
},
},
},
},
},
},
},
},
MemorySizeBytes: pulumi.Int(0),
Name: pulumi.String("string"),
Nics: nutanix.DeployTemplatesV2OverrideVmConfigMapNicArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicArgs{
BackingInfos: nutanix.DeployTemplatesV2OverrideVmConfigMapNicBackingInfoArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicBackingInfoArgs{
IsConnected: pulumi.Bool(false),
MacAddress: pulumi.String("string"),
Model: pulumi.String("string"),
NumQueues: pulumi.Int(0),
},
},
ExtId: pulumi.String("string"),
NetworkInfos: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoArgs{
Ipv4Configs: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigArgs{
IpAddresses: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddressArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddressArgs{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
SecondaryIpAddressLists: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressListArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressListArgs{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
ShouldAssignIp: pulumi.Bool(false),
},
},
Ipv4Infos: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoArgs{
LearnedIpAddresses: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddressArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddressArgs{
Value: pulumi.String("string"),
PrefixLength: pulumi.Int(0),
},
},
},
},
NetworkFunctionChains: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChainArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChainArgs{
ExtId: pulumi.String("string"),
},
},
NetworkFunctionNicType: pulumi.String("string"),
NicType: pulumi.String("string"),
ShouldAllowUnknownMacs: pulumi.Bool(false),
Subnets: nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnetArray{
&nutanix.DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnetArgs{
ExtId: pulumi.String("string"),
},
},
TrunkedVlans: pulumi.IntArray{
pulumi.Int(0),
},
VlanMode: pulumi.String("string"),
},
},
},
},
NumCoresPerSocket: pulumi.Int(0),
NumSockets: pulumi.Int(0),
NumThreadsPerCore: pulumi.Int(0),
},
},
VersionId: pulumi.String("string"),
})
var deployTemplatesV2Resource = new DeployTemplatesV2("deployTemplatesV2Resource", DeployTemplatesV2Args.builder()
.clusterReference("string")
.extId("string")
.numberOfVms(0)
.overrideVmConfigMaps(DeployTemplatesV2OverrideVmConfigMapArgs.builder()
.guestCustomizations(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationArgs.builder()
.configs(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigArgs.builder()
.cloudInits(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitArgs.builder()
.cloudInitScripts(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptArgs.builder()
.customKeyValues(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueArgs.builder()
.keyValuePairs(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairArgs.builder()
.name("string")
.values(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueArgs.builder()
.boolean_(false)
.integer(0)
.integerLists(0)
.mapOfStrings(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfStringArgs.builder()
.map(Map.of("string", "string"))
.build())
.object(Map.of("string", "string"))
.string("string")
.stringLists("string")
.build())
.build())
.build())
.userDatas(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserDataArgs.builder()
.value("string")
.build())
.build())
.datasourceType("string")
.metadata("string")
.build())
.syspreps(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepArgs.builder()
.installType("string")
.sysprepScripts(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptArgs.builder()
.customKeyValues(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueArgs.builder()
.keyValuePairs(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairArgs.builder()
.name("string")
.values(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueArgs.builder()
.boolean_(false)
.integer(0)
.integerLists(0)
.mapOfStrings(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfStringArgs.builder()
.map(Map.of("string", "string"))
.build())
.object(Map.of("string", "string"))
.string("string")
.stringLists("string")
.build())
.build())
.build())
.unattendXmls(DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXmlArgs.builder()
.value("string")
.build())
.build())
.build())
.build())
.build())
.memorySizeBytes(0)
.name("string")
.nics(DeployTemplatesV2OverrideVmConfigMapNicArgs.builder()
.backingInfos(DeployTemplatesV2OverrideVmConfigMapNicBackingInfoArgs.builder()
.isConnected(false)
.macAddress("string")
.model("string")
.numQueues(0)
.build())
.extId("string")
.networkInfos(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoArgs.builder()
.ipv4Configs(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigArgs.builder()
.ipAddresses(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddressArgs.builder()
.prefixLength(0)
.value("string")
.build())
.secondaryIpAddressLists(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressListArgs.builder()
.prefixLength(0)
.value("string")
.build())
.shouldAssignIp(false)
.build())
.ipv4Infos(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoArgs.builder()
.learnedIpAddresses(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddressArgs.builder()
.value("string")
.prefixLength(0)
.build())
.build())
.networkFunctionChains(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChainArgs.builder()
.extId("string")
.build())
.networkFunctionNicType("string")
.nicType("string")
.shouldAllowUnknownMacs(false)
.subnets(DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnetArgs.builder()
.extId("string")
.build())
.trunkedVlans(0)
.vlanMode("string")
.build())
.build())
.numCoresPerSocket(0)
.numSockets(0)
.numThreadsPerCore(0)
.build())
.versionId("string")
.build());
deploy_templates_v2_resource = nutanix.DeployTemplatesV2("deployTemplatesV2Resource",
cluster_reference="string",
ext_id="string",
number_of_vms=0,
override_vm_config_maps=[{
"guest_customizations": [{
"configs": [{
"cloud_inits": [{
"cloud_init_scripts": [{
"custom_key_values": [{
"key_value_pairs": [{
"name": "string",
"values": [{
"boolean": False,
"integer": 0,
"integer_lists": [0],
"map_of_strings": [{
"map": {
"string": "string",
},
}],
"object": {
"string": "string",
},
"string": "string",
"string_lists": ["string"],
}],
}],
}],
"user_datas": [{
"value": "string",
}],
}],
"datasource_type": "string",
"metadata": "string",
}],
"syspreps": [{
"install_type": "string",
"sysprep_scripts": [{
"custom_key_values": [{
"key_value_pairs": [{
"name": "string",
"values": [{
"boolean": False,
"integer": 0,
"integer_lists": [0],
"map_of_strings": [{
"map": {
"string": "string",
},
}],
"object": {
"string": "string",
},
"string": "string",
"string_lists": ["string"],
}],
}],
}],
"unattend_xmls": [{
"value": "string",
}],
}],
}],
}],
}],
"memory_size_bytes": 0,
"name": "string",
"nics": [{
"backing_infos": [{
"is_connected": False,
"mac_address": "string",
"model": "string",
"num_queues": 0,
}],
"ext_id": "string",
"network_infos": [{
"ipv4_configs": [{
"ip_addresses": [{
"prefix_length": 0,
"value": "string",
}],
"secondary_ip_address_lists": [{
"prefix_length": 0,
"value": "string",
}],
"should_assign_ip": False,
}],
"ipv4_infos": [{
"learned_ip_addresses": [{
"value": "string",
"prefix_length": 0,
}],
}],
"network_function_chains": [{
"ext_id": "string",
}],
"network_function_nic_type": "string",
"nic_type": "string",
"should_allow_unknown_macs": False,
"subnets": [{
"ext_id": "string",
}],
"trunked_vlans": [0],
"vlan_mode": "string",
}],
}],
"num_cores_per_socket": 0,
"num_sockets": 0,
"num_threads_per_core": 0,
}],
version_id="string")
const deployTemplatesV2Resource = new nutanix.DeployTemplatesV2("deployTemplatesV2Resource", {
clusterReference: "string",
extId: "string",
numberOfVms: 0,
overrideVmConfigMaps: [{
guestCustomizations: [{
configs: [{
cloudInits: [{
cloudInitScripts: [{
customKeyValues: [{
keyValuePairs: [{
name: "string",
values: [{
boolean: false,
integer: 0,
integerLists: [0],
mapOfStrings: [{
map: {
string: "string",
},
}],
object: {
string: "string",
},
string: "string",
stringLists: ["string"],
}],
}],
}],
userDatas: [{
value: "string",
}],
}],
datasourceType: "string",
metadata: "string",
}],
syspreps: [{
installType: "string",
sysprepScripts: [{
customKeyValues: [{
keyValuePairs: [{
name: "string",
values: [{
boolean: false,
integer: 0,
integerLists: [0],
mapOfStrings: [{
map: {
string: "string",
},
}],
object: {
string: "string",
},
string: "string",
stringLists: ["string"],
}],
}],
}],
unattendXmls: [{
value: "string",
}],
}],
}],
}],
}],
memorySizeBytes: 0,
name: "string",
nics: [{
backingInfos: [{
isConnected: false,
macAddress: "string",
model: "string",
numQueues: 0,
}],
extId: "string",
networkInfos: [{
ipv4Configs: [{
ipAddresses: [{
prefixLength: 0,
value: "string",
}],
secondaryIpAddressLists: [{
prefixLength: 0,
value: "string",
}],
shouldAssignIp: false,
}],
ipv4Infos: [{
learnedIpAddresses: [{
value: "string",
prefixLength: 0,
}],
}],
networkFunctionChains: [{
extId: "string",
}],
networkFunctionNicType: "string",
nicType: "string",
shouldAllowUnknownMacs: false,
subnets: [{
extId: "string",
}],
trunkedVlans: [0],
vlanMode: "string",
}],
}],
numCoresPerSocket: 0,
numSockets: 0,
numThreadsPerCore: 0,
}],
versionId: "string",
});
type: nutanix:DeployTemplatesV2
properties:
clusterReference: string
extId: string
numberOfVms: 0
overrideVmConfigMaps:
- guestCustomizations:
- configs:
- cloudInits:
- cloudInitScripts:
- customKeyValues:
- keyValuePairs:
- name: string
values:
- boolean: false
integer: 0
integerLists:
- 0
mapOfStrings:
- map:
string: string
object:
string: string
string: string
stringLists:
- string
userDatas:
- value: string
datasourceType: string
metadata: string
syspreps:
- installType: string
sysprepScripts:
- customKeyValues:
- keyValuePairs:
- name: string
values:
- boolean: false
integer: 0
integerLists:
- 0
mapOfStrings:
- map:
string: string
object:
string: string
string: string
stringLists:
- string
unattendXmls:
- value: string
memorySizeBytes: 0
name: string
nics:
- backingInfos:
- isConnected: false
macAddress: string
model: string
numQueues: 0
extId: string
networkInfos:
- ipv4Configs:
- ipAddresses:
- prefixLength: 0
value: string
secondaryIpAddressLists:
- prefixLength: 0
value: string
shouldAssignIp: false
ipv4Infos:
- learnedIpAddresses:
- prefixLength: 0
value: string
networkFunctionChains:
- extId: string
networkFunctionNicType: string
nicType: string
shouldAllowUnknownMacs: false
subnets:
- extId: string
trunkedVlans:
- 0
vlanMode: string
numCoresPerSocket: 0
numSockets: 0
numThreadsPerCore: 0
versionId: string
DeployTemplatesV2 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 DeployTemplatesV2 resource accepts the following input properties:
- Cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- Ext
Id string - The identifier of a Template.
- Number
Of intVms - Number of VMs to be deployed.
- Override
Vm List<PiersConfig Maps Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map> - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- Version
Id string - The identifier of a Template Version.
- Cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- Ext
Id string - The identifier of a Template.
- Number
Of intVms - Number of VMs to be deployed.
- Override
Vm []DeployConfig Maps Templates V2Override Vm Config Map Args - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- Version
Id string - The identifier of a Template Version.
- cluster
Reference String - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id String - The identifier of a Template.
- number
Of IntegerVms - Number of VMs to be deployed.
- override
Vm List<DeployConfig Maps Templates V2Override Vm Config Map> - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id String - The identifier of a Template Version.
- cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id string - The identifier of a Template.
- number
Of numberVms - Number of VMs to be deployed.
- override
Vm DeployConfig Maps Templates V2Override Vm Config Map[] - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id string - The identifier of a Template Version.
- cluster_
reference str - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext_
id str - The identifier of a Template.
- number_
of_ intvms - Number of VMs to be deployed.
- override_
vm_ Sequence[Deployconfig_ maps Templates V2Override Vm Config Map Args] - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version_
id str - The identifier of a Template Version.
- cluster
Reference String - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id String - The identifier of a Template.
- number
Of NumberVms - Number of VMs to be deployed.
- override
Vm List<Property Map>Config Maps - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id String - The identifier of a Template Version.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeployTemplatesV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DeployTemplatesV2 Resource
Get an existing DeployTemplatesV2 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?: DeployTemplatesV2State, opts?: CustomResourceOptions): DeployTemplatesV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_reference: Optional[str] = None,
ext_id: Optional[str] = None,
number_of_vms: Optional[int] = None,
override_vm_config_maps: Optional[Sequence[DeployTemplatesV2OverrideVmConfigMapArgs]] = None,
version_id: Optional[str] = None) -> DeployTemplatesV2func GetDeployTemplatesV2(ctx *Context, name string, id IDInput, state *DeployTemplatesV2State, opts ...ResourceOption) (*DeployTemplatesV2, error)public static DeployTemplatesV2 Get(string name, Input<string> id, DeployTemplatesV2State? state, CustomResourceOptions? opts = null)public static DeployTemplatesV2 get(String name, Output<String> id, DeployTemplatesV2State state, CustomResourceOptions options)resources: _: type: nutanix:DeployTemplatesV2 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.
- Cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- Ext
Id string - The identifier of a Template.
- Number
Of intVms - Number of VMs to be deployed.
- Override
Vm List<PiersConfig Maps Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map> - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- Version
Id string - The identifier of a Template Version.
- Cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- Ext
Id string - The identifier of a Template.
- Number
Of intVms - Number of VMs to be deployed.
- Override
Vm []DeployConfig Maps Templates V2Override Vm Config Map Args - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- Version
Id string - The identifier of a Template Version.
- cluster
Reference String - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id String - The identifier of a Template.
- number
Of IntegerVms - Number of VMs to be deployed.
- override
Vm List<DeployConfig Maps Templates V2Override Vm Config Map> - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id String - The identifier of a Template Version.
- cluster
Reference string - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id string - The identifier of a Template.
- number
Of numberVms - Number of VMs to be deployed.
- override
Vm DeployConfig Maps Templates V2Override Vm Config Map[] - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id string - The identifier of a Template Version.
- cluster_
reference str - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext_
id str - The identifier of a Template.
- number_
of_ intvms - Number of VMs to be deployed.
- override_
vm_ Sequence[Deployconfig_ maps Templates V2Override Vm Config Map Args] - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version_
id str - The identifier of a Template Version.
- cluster
Reference String - The identifier of the Cluster where the VM(s) will be created using a Template.
- ext
Id String - The identifier of a Template.
- number
Of NumberVms - Number of VMs to be deployed.
- override
Vm List<Property Map>Config Maps - The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization.
- version
Id String - The identifier of a Template Version.
Supporting Types
DeployTemplatesV2OverrideVmConfigMap, DeployTemplatesV2OverrideVmConfigMapArgs
- Guest
Customizations List<PiersKarsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization> - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- Memory
Size intBytes - Memory size in bytes.
- Name string
- VM name.
- Nics
List<Piers
Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic> - NICs attached to the VM.
- Num
Cores intPer Socket - Number of cores per socket.
- Num
Sockets int - Number of vCPU sockets.
- Num
Threads intPer Core - Number of threads per core.
- Guest
Customizations []DeployTemplates V2Override Vm Config Map Guest Customization - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- Memory
Size intBytes - Memory size in bytes.
- Name string
- VM name.
- Nics
[]Deploy
Templates V2Override Vm Config Map Nic - NICs attached to the VM.
- Num
Cores intPer Socket - Number of cores per socket.
- Num
Sockets int - Number of vCPU sockets.
- Num
Threads intPer Core - Number of threads per core.
- guest
Customizations List<DeployTemplates V2Override Vm Config Map Guest Customization> - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- memory
Size IntegerBytes - Memory size in bytes.
- name String
- VM name.
- nics
List<Deploy
Templates V2Override Vm Config Map Nic> - NICs attached to the VM.
- num
Cores IntegerPer Socket - Number of cores per socket.
- num
Sockets Integer - Number of vCPU sockets.
- num
Threads IntegerPer Core - Number of threads per core.
- guest
Customizations DeployTemplates V2Override Vm Config Map Guest Customization[] - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- memory
Size numberBytes - Memory size in bytes.
- name string
- VM name.
- nics
Deploy
Templates V2Override Vm Config Map Nic[] - NICs attached to the VM.
- num
Cores numberPer Socket - Number of cores per socket.
- num
Sockets number - Number of vCPU sockets.
- num
Threads numberPer Core - Number of threads per core.
- guest_
customizations Sequence[DeployTemplates V2Override Vm Config Map Guest Customization] - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- memory_
size_ intbytes - Memory size in bytes.
- name str
- VM name.
- nics
Sequence[Deploy
Templates V2Override Vm Config Map Nic] - NICs attached to the VM.
- num_
cores_ intper_ socket - Number of cores per socket.
- num_
sockets int - Number of vCPU sockets.
- num_
threads_ intper_ core - Number of threads per core.
- guest
Customizations List<Property Map> - Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
- memory
Size NumberBytes - Memory size in bytes.
- name String
- VM name.
- nics List<Property Map>
- NICs attached to the VM.
- num
Cores NumberPer Socket - Number of cores per socket.
- num
Sockets Number - Number of vCPU sockets.
- num
Threads NumberPer Core - Number of threads per core.
DeployTemplatesV2OverrideVmConfigMapGuestCustomization, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationArgs
- Configs
List<Piers
Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization Config> - The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
- Configs
[]Deploy
Templates V2Override Vm Config Map Guest Customization Config - The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
- configs
List<Deploy
Templates V2Override Vm Config Map Guest Customization Config> - The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
- configs
Deploy
Templates V2Override Vm Config Map Guest Customization Config[] - The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
- configs
Sequence[Deploy
Templates V2Override Vm Config Map Guest Customization Config] - The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
- configs List<Property Map>
- The Nutanix Guest Tools customization settings.
config.sysprep: (Optional) Sysprep configconfig.cloud_init: (Optional) CloudInit Config
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfig, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigArgs
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInit, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitArgs
- Cloud
Init List<PiersScripts Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script> The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- Datasource
Type string - Type of datasource. Default: CONFIG_DRIVE_V2
- Metadata string
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
- Cloud
Init []DeployScripts Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- Datasource
Type string - Type of datasource. Default: CONFIG_DRIVE_V2
- Metadata string
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
- cloud
Init List<DeployScripts Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script> The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- datasource
Type String - Type of datasource. Default: CONFIG_DRIVE_V2
- metadata String
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
- cloud
Init DeployScripts Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script[] The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- datasource
Type string - Type of datasource. Default: CONFIG_DRIVE_V2
- metadata string
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
- cloud_
init_ Sequence[Deployscripts Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script] The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- datasource_
type str - Type of datasource. Default: CONFIG_DRIVE_V2
- metadata str
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
- cloud
Init List<Property Map>Scripts The script to use for cloud-init.
cloud_init_script.user_data: (Optional) user data objectcloud_init_script.custom_keys: (Optional) The list of the individual KeyValuePair elements.
See detailed information in Nutanix Deploy Template V4.
- datasource
Type String - Type of datasource. Default: CONFIG_DRIVE_V2
- metadata String
- The contents of the metaData configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. Default value is 'CONFIG_DRIVE_V2'.
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScript, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptArgs
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValue, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueArgs
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePair, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairArgs
- name String
- VM name.
- values List<Property Map>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValue, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueArgs
- Boolean bool
- Integer int
- Integer
Lists List<int> - Map
Of List<PiersStrings Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script Custom Key Value Key Value Pair Value Map Of String> - Object Dictionary<string, string>
- String string
- String
Lists List<string>
- Boolean bool
- Integer int
- Integer
Lists []int - Map
Of []DeployStrings Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script Custom Key Value Key Value Pair Value Map Of String - Object map[string]string
- String string
- String
Lists []string
- boolean_ Boolean
- integer Integer
- integer
Lists List<Integer> - map
Of List<DeployStrings Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script Custom Key Value Key Value Pair Value Map Of String> - object Map<String,String>
- string String
- string
Lists List<String>
- boolean boolean
- integer number
- integer
Lists number[] - map
Of DeployStrings Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script Custom Key Value Key Value Pair Value Map Of String[] - object {[key: string]: string}
- string string
- string
Lists string[]
- boolean bool
- integer int
- integer_
lists Sequence[int] - map_
of_ Sequence[Deploystrings Templates V2Override Vm Config Map Guest Customization Config Cloud Init Cloud Init Script Custom Key Value Key Value Pair Value Map Of String] - object Mapping[str, str]
- string str
- string_
lists Sequence[str]
- boolean Boolean
- integer Number
- integer
Lists List<Number> - map
Of List<Property Map>Strings - object Map<String>
- string String
- string
Lists List<String>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfString, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfStringArgs
- Map Dictionary<string, string>
- Map map[string]string
- map Map<String,String>
- map {[key: string]: string}
- map Mapping[str, str]
- map Map<String>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserData, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigCloudInitCloudInitScriptUserDataArgs
- Value string
- Value string
- value String
- value string
- value str
- value String
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprep, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepArgs
- Install
Type string - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- Sysprep
Scripts List<PiersKarsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script> - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
- Install
Type string - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- Sysprep
Scripts []DeployTemplates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
- install
Type String - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- sysprep
Scripts List<DeployTemplates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script> - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
- install
Type string - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- sysprep
Scripts DeployTemplates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script[] - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
- install_
type str - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- sysprep_
scripts Sequence[DeployTemplates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script] - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
- install
Type String - Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Values allowed is 'PREPARED', 'FRESH'.
- sysprep
Scripts List<Property Map> - Object either UnattendXml or CustomKeyValues
sysprep_script.unattend_xml: (Optional) xml objectsysprep_script.custom_key_values: (Optional) The list of the individual KeyValuePair elements.
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScript, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptArgs
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValue, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueArgs
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePair, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairArgs
- name String
- VM name.
- values List<Property Map>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValue, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueArgs
- Boolean bool
- Integer int
- Integer
Lists List<int> - Map
Of List<PiersStrings Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script Custom Key Value Key Value Pair Value Map Of String> - Object Dictionary<string, string>
- String string
- String
Lists List<string>
- Boolean bool
- Integer int
- Integer
Lists []int - Map
Of []DeployStrings Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script Custom Key Value Key Value Pair Value Map Of String - Object map[string]string
- String string
- String
Lists []string
- boolean_ Boolean
- integer Integer
- integer
Lists List<Integer> - map
Of List<DeployStrings Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script Custom Key Value Key Value Pair Value Map Of String> - object Map<String,String>
- string String
- string
Lists List<String>
- boolean boolean
- integer number
- integer
Lists number[] - map
Of DeployStrings Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script Custom Key Value Key Value Pair Value Map Of String[] - object {[key: string]: string}
- string string
- string
Lists string[]
- boolean bool
- integer int
- integer_
lists Sequence[int] - map_
of_ Sequence[Deploystrings Templates V2Override Vm Config Map Guest Customization Config Sysprep Sysprep Script Custom Key Value Key Value Pair Value Map Of String] - object Mapping[str, str]
- string str
- string_
lists Sequence[str]
- boolean Boolean
- integer Number
- integer
Lists List<Number> - map
Of List<Property Map>Strings - object Map<String>
- string String
- string
Lists List<String>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfString, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfStringArgs
- Map Dictionary<string, string>
- Map map[string]string
- map Map<String,String>
- map {[key: string]: string}
- map Mapping[str, str]
- map Map<String>
DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXml, DeployTemplatesV2OverrideVmConfigMapGuestCustomizationConfigSysprepSysprepScriptUnattendXmlArgs
- Value string
- Value string
- value String
- value string
- value str
- value String
DeployTemplatesV2OverrideVmConfigMapNic, DeployTemplatesV2OverrideVmConfigMapNicArgs
- Backing
Infos List<PiersKarsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Backing Info> - Defines a NIC emulated by the hypervisor
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Network
Infos List<PiersKarsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Network Info> - Network information for a NIC.
- Backing
Infos []DeployTemplates V2Override Vm Config Map Nic Backing Info - Defines a NIC emulated by the hypervisor
- Ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- Network
Infos []DeployTemplates V2Override Vm Config Map Nic Network Info - Network information for a NIC.
- backing
Infos List<DeployTemplates V2Override Vm Config Map Nic Backing Info> - Defines a NIC emulated by the hypervisor
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- network
Infos List<DeployTemplates V2Override Vm Config Map Nic Network Info> - Network information for a NIC.
- backing
Infos DeployTemplates V2Override Vm Config Map Nic Backing Info[] - Defines a NIC emulated by the hypervisor
- ext
Id string - A globally unique identifier of an instance that is suitable for external consumption.
- network
Infos DeployTemplates V2Override Vm Config Map Nic Network Info[] - Network information for a NIC.
- backing_
infos Sequence[DeployTemplates V2Override Vm Config Map Nic Backing Info] - Defines a NIC emulated by the hypervisor
- ext_
id str - A globally unique identifier of an instance that is suitable for external consumption.
- network_
infos Sequence[DeployTemplates V2Override Vm Config Map Nic Network Info] - Network information for a NIC.
- backing
Infos List<Property Map> - Defines a NIC emulated by the hypervisor
- ext
Id String - A globally unique identifier of an instance that is suitable for external consumption.
- network
Infos List<Property Map> - Network information for a NIC.
DeployTemplatesV2OverrideVmConfigMapNicBackingInfo, DeployTemplatesV2OverrideVmConfigMapNicBackingInfoArgs
- Is
Connected bool - Indicates whether the NIC is connected or not. Default is True.
- Mac
Address string - MAC address of the emulated NIC.
- Model string
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- Num
Queues int - The number of Tx/Rx queue pairs for this NIC. Default is 1.
- Is
Connected bool - Indicates whether the NIC is connected or not. Default is True.
- Mac
Address string - MAC address of the emulated NIC.
- Model string
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- Num
Queues int - The number of Tx/Rx queue pairs for this NIC. Default is 1.
- is
Connected Boolean - Indicates whether the NIC is connected or not. Default is True.
- mac
Address String - MAC address of the emulated NIC.
- model String
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- num
Queues Integer - The number of Tx/Rx queue pairs for this NIC. Default is 1.
- is
Connected boolean - Indicates whether the NIC is connected or not. Default is True.
- mac
Address string - MAC address of the emulated NIC.
- model string
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- num
Queues number - The number of Tx/Rx queue pairs for this NIC. Default is 1.
- is_
connected bool - Indicates whether the NIC is connected or not. Default is True.
- mac_
address str - MAC address of the emulated NIC.
- model str
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- num_
queues int - The number of Tx/Rx queue pairs for this NIC. Default is 1.
- is
Connected Boolean - Indicates whether the NIC is connected or not. Default is True.
- mac
Address String - MAC address of the emulated NIC.
- model String
- Options for the NIC emulation. Valid values "VIRTIO" , "E1000".
- num
Queues Number - The number of Tx/Rx queue pairs for this NIC. Default is 1.
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfo, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoArgs
- Ipv4Configs
List<Piers
Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Network Info Ipv4Config> - The IP address configurations.
- Ipv4Infos
List<Piers
Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Network Info Ipv4Info> - Network
Function List<PiersChains Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Network Info Network Function Chain> - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- Network
Function stringNic Type - The type of this Network function NIC. Defaults to INGRESS.
- Nic
Type string - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- Should
Allow boolUnknown Macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- Subnets
List<Piers
Karsenbarg. Nutanix. Inputs. Deploy Templates V2Override Vm Config Map Nic Network Info Subnet> - Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- Trunked
Vlans List<int> - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- Vlan
Mode string - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
- Ipv4Configs
[]Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Config - The IP address configurations.
- Ipv4Infos
[]Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Info - Network
Function []DeployChains Templates V2Override Vm Config Map Nic Network Info Network Function Chain - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- Network
Function stringNic Type - The type of this Network function NIC. Defaults to INGRESS.
- Nic
Type string - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- Should
Allow boolUnknown Macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- Subnets
[]Deploy
Templates V2Override Vm Config Map Nic Network Info Subnet - Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- Trunked
Vlans []int - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- Vlan
Mode string - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
- ipv4Configs
List<Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Config> - The IP address configurations.
- ipv4Infos
List<Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Info> - network
Function List<DeployChains Templates V2Override Vm Config Map Nic Network Info Network Function Chain> - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- network
Function StringNic Type - The type of this Network function NIC. Defaults to INGRESS.
- nic
Type String - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- should
Allow BooleanUnknown Macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- subnets
List<Deploy
Templates V2Override Vm Config Map Nic Network Info Subnet> - Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- trunked
Vlans List<Integer> - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- vlan
Mode String - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
- ipv4Configs
Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Config[] - The IP address configurations.
- ipv4Infos
Deploy
Templates V2Override Vm Config Map Nic Network Info Ipv4Info[] - network
Function DeployChains Templates V2Override Vm Config Map Nic Network Info Network Function Chain[] - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- network
Function stringNic Type - The type of this Network function NIC. Defaults to INGRESS.
- nic
Type string - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- should
Allow booleanUnknown Macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- subnets
Deploy
Templates V2Override Vm Config Map Nic Network Info Subnet[] - Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- trunked
Vlans number[] - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- vlan
Mode string - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
- ipv4_
configs Sequence[DeployTemplates V2Override Vm Config Map Nic Network Info Ipv4Config] - The IP address configurations.
- ipv4_
infos Sequence[DeployTemplates V2Override Vm Config Map Nic Network Info Ipv4Info] - network_
function_ Sequence[Deploychains Templates V2Override Vm Config Map Nic Network Info Network Function Chain] - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- network_
function_ strnic_ type - The type of this Network function NIC. Defaults to INGRESS.
- nic_
type str - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- should_
allow_ boolunknown_ macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- subnets
Sequence[Deploy
Templates V2Override Vm Config Map Nic Network Info Subnet] - Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- trunked_
vlans Sequence[int] - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- vlan_
mode str - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
- ipv4Configs List<Property Map>
- The IP address configurations.
- ipv4Infos List<Property Map>
- network
Function List<Property Map>Chains - The network function chain associates with the NIC. Only valid if nicType is NORMAL_NIC.
- network
Function StringNic Type - The type of this Network function NIC. Defaults to INGRESS.
- nic
Type String - NIC type. Valid values "SPAN_DESTINATION_NIC", "NORMAL_NIC", "DIRECT_NIC", "NETWORK_FUNCTION_NIC" .
- should
Allow BooleanUnknown Macs - Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
- subnets List<Property Map>
- Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC
- trunked
Vlans List<Number> - List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
- vlan
Mode String - all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4Config, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigArgs
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddress, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigIpAddressArgs
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressList, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4ConfigSecondaryIpAddressListArgs
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4Info, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoArgs
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddress, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoIpv4InfoLearnedIpAddressArgs
- Value string
- Prefix
Length int
- Value string
- Prefix
Length int
- value String
- prefix
Length Integer
- value string
- prefix
Length number
- value str
- prefix_
length int
- value String
- prefix
Length Number
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChain, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoNetworkFunctionChainArgs
- Ext
Id string - The identifier of a Template.
- Ext
Id string - The identifier of a Template.
- ext
Id String - The identifier of a Template.
- ext
Id string - The identifier of a Template.
- ext_
id str - The identifier of a Template.
- ext
Id String - The identifier of a Template.
DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnet, DeployTemplatesV2OverrideVmConfigMapNicNetworkInfoSubnetArgs
- Ext
Id string - The identifier of a Template.
- Ext
Id string - The identifier of a Template.
- ext
Id String - The identifier of a Template.
- ext
Id string - The identifier of a Template.
- ext_
id str - The identifier of a Template.
- ext
Id String - The identifier of a Template.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
