TemplateDeployment#
- class TemplateDeployment(version_id=None, number_of_vms=1, override_vm_config_map=None, cluster_reference=None, *args, **kwargs)#
Bases:
object
The template deployment model.
- Parameters:
version_id – (
version_id
) The identifier of a version.number_of_vms – (
number_of_vms
) Number of VMs to be deployed. (Default 1)override_vm_config_map – (
override_vm_config_map
) The map specifies 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. For each VM to be created, the map has the index of the VM as the key and the corresponding VM override configurations as the value.cluster_reference (required) – (
cluster_reference
) The identifier of the cluster where the VM(s) will be created using a template.
- property cluster_reference#
The identifier of the cluster where the VM(s) will be created using a template.
- Type:
str
- property number_of_vms#
Number of VMs to be deployed.
- Type:
int
- property override_vm_config_map#
The map specifies 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. For each VM to be created, the map has the index of the VM as the key and the corresponding VM override configurations as the value.
- Type:
dict(str,
VmConfigOverride
)
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property version_id#
The identifier of a version.
- Type:
str