TemplateDeployment#
- class TemplateDeployment(version_number=None, number_of_vms=1, override_vm_config_map=None, cluster_reference=None, *args, **kwargs)[source]#
Bases:
object
Deploy VM Config from the Template.
- Parameters:
version_number – (
version_number
) Template Version numbernumber_of_vms (required) – (
number_of_vms
) Number / Count of VMs to be deployed. (Default 1)override_vm_config_map – (
override_vm_config_map
) The map containing keys as VM index and corresponding VM override config as values which is used at the time of deployment.cluster_reference (required) – (
cluster_reference
) The UUID of the Cluster where the VM has to be deployed. This is mandatory to be specified for creating the VM.
- property cluster_reference#
The UUID of the Cluster where the VM has to be deployed. This is mandatory to be specified for creating the VM.
- Type:
str
- property number_of_vms#
Number / Count of VMs to be deployed.
- Type:
int
- property override_vm_config_map#
The map containing keys as VM index and corresponding VM override config as values which is used at the time of deployment.
- Type:
dict(str,
VmConfigOverride
)
- property version_number#
Template Version number
- Type:
int