func HasDiskCreationOperations(dc []types.BaseVirtualDeviceConfigSpec) bool {
	for _, deviceConfigSpec := range dc {
		if _, ok := virtualDiskFromDeviceConfigSpecForPlacement(deviceConfigSpec); ok {
			return true
		}
	}

	return false
}
func HasDiskCreationOperations(dc []types.BaseVirtualDeviceConfigSpec) bool {
	for _, deviceConfigSpec := range dc {
		if _, ok := virtualDiskFromDeviceConfigSpecForPlacement(deviceConfigSpec); ok {
			return true
		}
	}

	return false
}
func HasDiskCreationOperations ( dc [ ] types . BaseVirtualDeviceConfigSpec ) bool { for _ , deviceConfigSpec := range dc { if _ , ok := virtualDiskFromDeviceConfigSpecForPlacement ( deviceConfigSpec ) ; ok { return true } } return false }
// HasDiskCreationOperations is an exported function that checks a list of
// device changes to see if there are any disk creation operations. This should
// be used to check if ReconfigureVM should be done through the Storage DRS
// API, as a Reconfig operation done through SDRS without new disk operations
// will fail.
HasDiskCreationOperations is an exported function that checks a list of device changes to see if there are any disk creation operations . This should be used to check if ReconfigureVM should be done through the Storage DRS API as a Reconfig operation done through SDRS without new disk operations will fail .