1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 09:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/vcenter/guest/sample_import.json
Shweta 73624d9e20
Updated the latest bindings and samples for 70U3 release (#288)
Signed-off-by: shweta <spurohit@vmware.com>
2021-10-13 19:13:53 +05:30

106 lines
3.7 KiB
JSON

{
"STRUCTURE": {
"com.vmware.vcenter.guest.customization_specs.spec": {
"description": "This is a generic ipv4 customizationSpec for linux VM customization. Created by VIM API",
"name": "defaultCustSpec01",
"spec": {
"STRUCTURE": {
"com.vmware.vcenter.guest.customization_spec": {
"configuration_spec": {
"STRUCTURE": {
"com.vmware.vcenter.guest.configuration_spec": {
"linux_config": {
"OPTIONAL": {
"STRUCTURE": {
"com.vmware.vcenter.guest.linux_configuration": {
"domain": "VMWare.com",
"hostname": {
"STRUCTURE": {
"com.vmware.vcenter.guest.hostname_generator": {
"fixed_name": {
"OPTIONAL": "vapiCustName123"
},
"prefix": {
"OPTIONAL": null
},
"type": "FIXED"
}
}
},
"time_zone": {
"OPTIONAL": null
},
"script_text": {
"OPTIONAL": null
}
}
}
}
},
"windows_config": {
"OPTIONAL": null
}
}
}
},
"global_DNS_settings": {
"STRUCTURE": {
"com.vmware.vcenter.guest.global_DNS_settings": {
"dns_servers": {
"OPTIONAL": []
},
"dns_suffix_list": {
"OPTIONAL": []
}
}
}
},
"interfaces": [
{
"STRUCTURE": {
"com.vmware.vcenter.guest.adapter_mapping": {
"adapter": {
"STRUCTURE": {
"com.vmware.vcenter.guest.IP_settings": {
"ipv4": {
"OPTIONAL": {
"STRUCTURE": {
"com.vmware.vcenter.guest.ipv4": {
"gateways": {
"OPTIONAL": [
"192.168.12.1"
]
},
"ip_address": {
"OPTIONAL": "192.168.12.11"
},
"prefix": {
"OPTIONAL": 31
},
"type": "STATIC"
}
}
}
},
"ipv6": {
"OPTIONAL": null
},
"windows": {
"OPTIONAL": null
}
}
}
},
"mac_address": {
"OPTIONAL": null
}
}
}
}
]
}
}
}
}
}
}